#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):
Replying to [comment:5 ncohen]:
> Did you add a "print 'Hey'" in the __dealloc__ method of the COIN
backend, just to see whether the backends are really removed each time you
overwrite the value of P ?
No, but I tried it now, and the backends really are removed: I get a "hey"
with every `copy`.
In addition, the explosion in memory occurs regardless of whether we add
constraints or not. You could simply run `P = copy(P)` several times, and
memory usage jumps up.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12004#comment:6>
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.