[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Translated MPS (fixed and freemps) and CPLEX (LP) from M
Re: [Help-glpk] Translated MPS (fixed and freemps) and CPLEX (LP) from MathProg Model have 0.000 Objective function whiel MathProg Model has correct one
Sun, 13 Mar 2016 16:56:58 +1100
Learn more tricks on dealing with mps and lp files now.
We have to put "--max" or probably "--min" as well in submitting /
passing these files in glpsol.
MPS and Cplex lp files work perfectly now.
On 3/13/16, Andrew Makhorin <address@hidden> wrote:
>> Translated MPS (fixed and freemps) and CPLEX (LP) from MathProg Model
>> have 0.000 Objective function whereas the MathProg has correct
>> objective function ( 7.153413121e+07)
>> What causes these problems, not getting the right results?
>> The logs of the 2 models (MathProg and translated fixed MPS) below.
> Looks like you maximize, but mps assumes minimization. You need to pass
> the '--max' option to glpsol.