[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Problem in GLPK
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Problem in GLPK |
Date: |
Wed, 28 Apr 2010 20:29:56 +0400 |
> A certain constraint that I put in my model gets the following error,
> after "preprocessing":
> glp_malloc: no memory available
> Error detected in file \src\glpenv05.c at line 70
> The constraint that caused that error is:
> s.t. Delivery_from_Same_Project{j in J, k in K, p in P, t in T: j!=k}:
> xx[j,k,p,t] ==0;
> I also tried it using <> instead of !=, but still the same problem.
> Does anyone how to solve that? Is it a bug or what?
It is not a bug. This happened because glpsol used all the available
ram on your machine. Disabling the presolver with '--nopresol' may help.
Please see
http://lists.gnu.org/archive/html/help-glpk/2008-07/msg00044.html
for some calculations concerning the memory requirements.