[Top][All Lists]

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

Re: [Help-glpk] suffixes in mathprog

From: Andrew Makhorin
Subject: Re: [Help-glpk] suffixes in mathprog
Date: Mon, 17 May 2010 00:24:48 +0400

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
2 rows, 6 columns, 8 non-zeros
 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)
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

reply via email to

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