help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Memory Allocation Problem in GLPSOL Solver


From: Meketon, Marc
Subject: Re: [Help-glpk] Memory Allocation Problem in GLPSOL Solver
Date: Wed, 28 Jan 2015 12:56:03 -0600

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: help-glpk-bounces+address@hidden [mailto:help-glpk-bounces+address@hidden On Behalf Of Nigel Galloway
Sent: Wednesday, January 28, 2015 10:34 AM
To: Lê Văn Đức; address@hidden
Subject: Re: [Help-glpk] Memory Allocation Problem in GLPSOL Solver

 

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

 

 

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

 

 

 

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

 

 

 

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

_______________________________________________

Help-glpk mailing list

 

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

reply via email to

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