help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Re: error with glpsol


From: Andrew Makhorin
Subject: [Help-glpk] Re: error with glpsol
Date: Sat, 05 Jul 2003 21:33:24 +0400

>I have written the model sample at the end of the MathProg manual ("a
>trasportation model") into the file model.mod.

You can find description of that model in the file 'sample/transp.mod'.

>Using GLPSOL version 4.0, I write:
>
>glpsol -m model.mod --simplex --min
>
>and I get the following error message:
>
>reading model section in model.mod
>reading data section in model.mod
>44 lines were read
>generating cost...
>generating supply...
>model.mod:19:x[New-York,New-York] out of domain
>model processing error
>
>I understand that x[New-York,New-York] should not be there at all.
>
>What do I do wrong ?

The error message 'out of domain' means that some subscripts are not
in the indexing set specified in the declaration of corresponding
subscripted object. It seems that you made a typo on coding the model.





reply via email to

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