The following code eats up several giga byte of memory within a few
minutes:

while True:
    P=MixedIntegerLinearProgram()
    x=P.new_variable(dim=1,integer=True)
    P.add_constraint(x[0]+x[1]==1)
    P.set_objective(x[0])
    w=P.solve()
    del P
    del x

I'm using a self-compiled version of sage 4.7 on a 64bit Ubuntu 11.04
intel machine.

This happens no matter if I use solver="GLPK" or solver="coin" (cbc is
installed), so it does not seem to be a problem of the underlying milp-
solver.

-- 
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-support
URL: http://www.sagemath.org

Reply via email to