[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Translated MPS (fixed and freemps) and CPLEX (LP) from MathP
From: |
Noli Sicad |
Subject: |
[Help-glpk] Translated MPS (fixed and freemps) and CPLEX (LP) from MathProg Model have 0.000 Objective function whiel MathProg Model has correct one |
Date: |
Sun, 13 Mar 2016 13:20:27 +1100 |
Hi,
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.
Thanks.
Noli
~~~~~~~~~~~~
Here's log of MathProg Model
~~~~~
Model has been successfully generated
GLPK Simplex Optimizer, v4.59
25482 rows, 2988 columns, 7498 non-zeros
Preprocessing...
486 rows, 2513 columns, 4773 non-zeros
Scaling...
A: min|aij| = 1.000e+00 max|aij| = 1.594e+02 ratio = 1.594e+02
GM: min|aij| = 9.250e-01 max|aij| = 1.081e+00 ratio = 1.169e+00
EQ: min|aij| = 8.595e-01 max|aij| = 1.000e+00 ratio = 1.163e+00
Constructing initial basis...
Size of triangular part is 486
* 0: obj = -0.000000000e+00 inf = 0.000e+00 (2250)
* 500: obj = 5.474891825e+07 inf = 0.000e+00 (691) 4
* 1000: obj = 7.153360252e+07 inf = 0.000e+00 (19) 4
* 1024: obj = 7.153413121e+07 inf = 0.000e+00 (0)
OPTIMAL LP SOLUTION FOUND
Time used: 0.1 secs
Memory used: 55.8 Mb (58530515 bytes)
====================================
Net Present Value = 71534131.21
====================================
Here's log of fixed MPS
~~~~
GLPSOL: GLPK LP/MIP Solver, v4.59
Parameter(s) specified in the command line:
--mps Model_1_P6_classic.mps
Reading problem data from 'Model_1_P6_classic.mps'...
Problem: Model_I_
Objective: MaxNPV1
25482 rows, 2988 columns, 7498 non-zeros
30974 records were read
One free row was removed
GLPK Simplex Optimizer, v4.59
25481 rows, 2988 columns, 5248 non-zeros
Preprocessing...
486 rows, 2513 columns, 4773 non-zeros
Scaling...
A: min|aij| = 1.000e+00 max|aij| = 1.594e+02 ratio = 1.594e+02
GM: min|aij| = 9.250e-01 max|aij| = 1.081e+00 ratio = 1.169e+00
EQ: min|aij| = 8.595e-01 max|aij| = 1.000e+00 ratio = 1.163e+00
Constructing initial basis...
Size of triangular part is 486
* 0: obj = 0.000000000e+00 inf = 0.000e+00 (0)
OPTIMAL LP SOLUTION FOUND
Time used: 0.0 secs
Memory used: 8.1 Mb (8535148 bytes)
- [Help-glpk] Translated MPS (fixed and freemps) and CPLEX (LP) from MathProg Model have 0.000 Objective function whiel MathProg Model has correct one,
Noli Sicad <=