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: Andrew Makhorin
Subject: Re: [Help-glpk] Memory usage with glpk
Date: Fri, 22 Jan 2010 19:34:24 +0300

> 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 #39;t think there is an high advantage in converting model.

If all data fit into RAM, preliminary model conversion is not needed.

>  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?

For model having 56000 columns and 80000 rows 17 Mb of file and 44.8 Mb
of RAM don't seem very high. Note that the LP preprocessor keeps a copy
of the model, so disabling it (--nopresol) may reduce the memory needed
about twice. However, most of the memory is eaten up by the MathProg
translator.

Please see:
http://lists.gnu.org/archive/html/help-glpk/2008-07/msg00044.html
for some calculations about the memory requirements.






reply via email to

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