Hi Ivo,

> I have some stupid problems downloading VC 2010 and couldn #39;t
> therefore test the pre-relase 4.44 with the suffixes. 

> Attached the airline_revenue_mgt.mod model that I created today to
> show the benefits of the dual suffix within MathProg. 

> I am very sorry for this; please find for another tester.

In your model 'fare' is parameter, so it cannot be used with a suffix.
I fixed this error and successfully solved your model:

GLPSOL: GLPK LP/MIP Solver, v4.44
Parameter(s) specified in the command line:
 -m airline_revenue_mgt.mod --log test.txt
Reading model section from airline_revenue_mgt.mod...
Reading data section from airline_revenue_mgt.mod...
119 lines were read
Generating revenue...
Generating supply...
Model has been successfully generated
GLPK Simplex Optimizer, v4.44
3 rows, 6 columns, 14 non-zeros
Preprocessing...
2 rows, 6 columns, 8 non-zeros
Scaling...
 A: min|aij| =  1.000e+00  max|aij| =  1.000e+00  ratio =  1.000e+00
Problem data seem to be well scaled
Constructing initial basis...
Size of triangular part = 2
      0: obj =   1.960000000e+04  infeas =  8.000e+01 (0)
*     2: obj =   2.160000000e+04  infeas =  0.000e+00 (0)
*     5: obj =   2.400000000e+04  infeas =  0.000e+00 (0)
OPTIMAL SOLUTION FOUND
Time used:   0.0 secs
Memory used: 0.1 Mb (124353 bytes)
Net network contribution of ODF 1 is 50
Net network contribution of ODF 2 is 0
Net network contribution of ODF 3 is 40
Net network contribution of ODF 4 is 0
Net network contribution of ODF 5 is 70
Net network contribution of ODF 6 is -10
Model has been successfully processed


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to