Nigel had asked if you used the 32bit or 64bit version.

The available memory for a single process in the 32bit world (using 32bit 
Windows) is 1.75GB.  See http://www.viva64.com/en/k/0036/ for example.  32bit 
GLPK on a 64bit Windows might be able to reach more, but in practice I find 
that also has something close to a 1.75GB limit.  The 64bit version of GLPK can 
access a lot more memory.

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Nigel Galloway
Sent: Wednesday, January 28, 2015 10:34 AM
To: Lê Văn Đức; [email protected]
Subject: Re: [Help-glpk] Memory Allocation Problem in GLPSOL Solver

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


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]<mailto:[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]<mailto:[email protected]>
_______________________________________________
Help-glpk mailing list
[email protected]<mailto:[email protected]>
https://lists.gnu.org/mailman/listinfo/help-glpk




--

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

________________________________
This e-mail and any attachments may be confidential or legally privileged. If 
you received this message in error or are not the intended recipient, you 
should destroy the e-mail message and any attachments or copies, and you are 
prohibited from retaining, distributing, disclosing or using any information 
contained herein. Please inform us of the erroneous delivery by return e-mail. 
Thank you for your cooperation.
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to