A tentative solution seems to be to put a `collect()' inside the loop (and a `from gc import collect' at the beginning of the program). Still, I believe that this issue deserves attention.
-- Peter M. Am Dienstag, 11. November 2014 12:20:30 UTC+1 schrieb Peter Mueller: > > 3 years ago a memory leak in lp solvers was fixed in ticket > http://trac.sagemath.org/ticket/11917. It seems that the problems are > back in Sage 6.3. > The code > > while True: > P = MixedIntegerLinearProgram(solver="Coin") > > eats several GB within a few seconds!!! The same with solver="Coin", but > not with solver="glpk". > > I badly need to run a code for millions of small ILPs, but which > nevertheless are sufficiently big such that "glpk" is useless, "Coin" is a > snail, but gurobi does very well. Is there a quick work around? Doing a > `del P' doesn't help. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
