I looked at the memory used per integer variable in the following post:

http://lists.gnu.org/archive/html/help-glpk/2008-07/msg00065.html

Andrew kindly provided an analysis of why more than 1000 bytes is
required per integer:

http://lists.gnu.org/archive/html/help-glpk/2008-07/msg00044.html[1]


So if you have 2 million integers you should be expecting to use in
excess of 2GB of memory. You may be using less if the presolver has
eliminated some (perhaps).

Is your glpsol compiled as 32 bit or 64bit?

You can experiment with the maximum number of variables you can mange
using huge.mod from the example directory.
--
Nigel Galloway [email protected]



On Wed, Jan 28, 2015, at 05:30 AM, Lê Văn Đức wrote:
> Dear All,
>
> I implemented an linear integer programming (ILP) formulation using
> GNU MathProg and run it by using GLPSOL solver in Ubuntu 13.04. When I
> run program with around 2 million integer variables, it is stopped and
> a message has shown that:
>
> *glp_mallc: no memory available* *Error detected in file glpenv05.c at
> line 70* *Aborted (core dumped)*
>
> However, in used memory road-map in my system, the GLPSOL program
> just consumes 35% of total memory (3GB). I do not why the GLPSOL
> cannot consume more memory even my system still has more than 60% of
> free memory. Is there any way to increase memory size allocated to
> GLPSOL solver.
>
> Please help me!
>
> Le Van Duc PhD Student, Department of Electrical and Computer
Engineering, University of Ulsan, South Korea.
> Tel: +82-10-6772-6013 Email: [email protected]
> _________________________________________________
> Help-glpk mailing list [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk



Links:

  1. http://lists.gnu.org/archive/html/help-glpk/2008-07/msg00065.html

-- 
http://www.fastmail.com - The professional email service

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to