help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Memory usage with glpk


From: Saint Of Me
Subject: Re: [Help-glpk] Memory usage with glpk
Date: Fri, 22 Jan 2010 09:47:01 +0100

I convert the model and I solve it. The memory usage of non converted file is 72,7 MB and the memory usage of converted file is 44,8 MB. I don't think there is an high advantage in converting model. The original model file is 24 KB, and it is only a test file. The smallest file is 17 MB, I think that memory usage is, in every case, very high. Or not?

2010/1/21 Andrew Makhorin <address@hidden>
> Hi all, I need to solve a problem whit, in the best case, 56000
> vars and 80000 constrains. I try to solve it, but the memory finished
> soon and kernel kills the process. Does exist a method to save memory?

You can convert your model, say, to glpk format:

  glpsol -m foo.mod --wglp foo.glp --check

and then solve it separately:

  glpsol --glp foo.glp ...

Note that if your model is mip, it may be hard for glpsol due to its
size.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]