[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] glpk tells me to contact support team - xmalloc failed.
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] glpk tells me to contact support team - xmalloc failed. |
Date: |
Tue, 19 Jun 2012 19:30:41 +0400 |
> Running a rather large model and I get the following output (see
> below), which is solved by AMPL in about 17 minutes (very old 32 bit
> version).
> All other testing runs quickly (smaller models) for this glpk 32 bit
> version (4.47).
> When I try the 64 bit version, I error at line 70 of glpenv05.c almost
> immediately.
> Any thoughts on how to proceed?
To reduce the memory requirements you may try to solve your model in two
stages as follows:
glpsol -m MP_layout.mod -d MP_layout.dat -wlp MP_layout.lp --check
glpsol --lp MP_layout.lp ...
However, being of mip class your model may happen to be hard for glpk
because of its size, so glpsol may not be able to solve it to optimality
for a reasonable time.
Please see:
http://lists.gnu.org/archive/html/help-glpk/2008-07/msg00044.html
for some calculations about the memory requirements.