#12004: copying a linear program using Coin solver consumes enormous amounts of
memory
----------------------------------+-----------------------------------------
Reporter: john_perry | Owner: ncohen
Type: defect | Status: new
Priority: major | Milestone: sage-4.8
Component: linear programming | Keywords: linear programming, Coin,
copy, memory
Work_issues: | Upstream: N/A
Reviewer: | Author: john_perry
Merged: | Dependencies:
----------------------------------+-----------------------------------------
Comment(by john_perry):
I have successfully replicated the problem in C++ directly, using the
following short program:
{{{
#include "include/coin/OsiCbcSolverInterface.hpp"
#include <stdio.h>
int main() {
OsiCbcSolverInterface * si = new OsiCbcSolverInterface(NULL);
for (int i = 0; i < 13; i++) {
printf("%d ", i);
si = new OsiCbcSolverInterface(si);
}
printf("\n");
while (true) {}
delete si;
}
}}}
An enormous amount of memory is consumed thereby. Since it's possible that
this has already been resolved upstream, I will test with the latest
version of Coin (2.7.5) in a moment.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12004#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.