help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] [Fwd: GLPK solution format]


From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: GLPK solution format]
Date: Fri, 24 Jul 2015 00:36:18 +0300

-------- Forwarded Message --------
From: Atzeni, Simone <address@hidden>
To: address@hidden <address@hidden>
Subject: GLPK solution format
Date: Thu, 23 Jul 2015 15:14:35 +0000

Hi,


I am running GLPK  on a fairly big problem.
It finds the solution and the number are big.
I noticed that if I use the option –o they are “approximated” in the
format: 4.99e+08
In particular two values of my solution, for the variables i498 and
i499, are:


 998 i498         *       4.99e+08      4.98e+08      4.99e+08 
 999 i499         *       4.99e+08      4.99e+08         5e+08 


However, if I print the solution with –w I get the real value of i498 ad
i499 which are:


i498  498999999
i499  499000000


But using –w I only get the values without any association to the
variable, something like this:


498999999
499000000


How do I get the corresponding variable for each solution value?


Thanks.
Best,
Simone





reply via email to

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