[Top][All Lists]

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

[Help-glpk] problem loading models

From: Livio Bertacco
Subject: [Help-glpk] problem loading models
Date: Tue, 27 Jan 2004 19:37:43 +0100


I'm getting errors reading some models in mps and/or lp format with
The errors I get are like:
load_mps: reading LP data from `/cygdrive/e/lodi/mpsts/blp-ir98.mps'...
load_mps: name `UNKNOWN'
/cygdrive/e/lodi/mpsts/blp-ir98.mps:4: invalid data dsa->card
Cannot load model
/cygdrive/e/lodi/blp-ir98.lp:31566: warning: name `oneblpline(Ah.Am...'
too long; truncated to 16 characters
/cygdrive/e/lodi/blp-ir98.lp:31566: constraint `oneblpline(Ah.Am'
multiply defined
Cannot load model

Note that cplex can load both the lp and mps files without problems,
also COIN-OR can read the mps files all-right, and BTW the mps files
have been generated by cplex.

So it looks like glpk has some too tight limit on variable/constraint
name lengths (even if in the mps case, it actually doesn't say what the
problem is).
Would it be easy to change the glpk code to support names longer than 16

Livio Bertacco

reply via email to

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