help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Re: Why I get different results when I run lpx_std_basis bef


From: Xie Zhengwei
Subject: [Help-glpk] Re: Why I get different results when I run lpx_std_basis before simplex?
Date: Tue, 13 May 2008 18:17:22 -0700

This script tried to get max and min of every variable.

no $lp->std_basis output
1    0.727273    0.000000
2    1.000000    0.000000
3    1.000000    0.000000
4    1.000000    0.000000
5    0.000000    0.000000
6    0.000000    -1.000000
7    1.916667    0.000000
8    3.000000    0.000000
9    8.000000    0.000000
10    3.000000    0.000000
11    8.000000    8.000000
12    -21.000000    -21.000000
13    4.500000    0.000000

with $lp->std_basis output

1    0.000000    0.000000
2    1.000000    0.000000
3    1.000000    0.000000
4    1.000000    0.000000
5    0.000000    0.000000
6    0.000000    0.000000
7    0.000000    0.000000
8    0.000000    0.000000
9    0.000000    0.000000
10    0.000000    0.000000
11    8.000000    0.000000
12    0.000000    0.000000
13    0.000000    0.000000

On Tue, May 13, 2008 at 6:14 PM, Xie Zhengwei <address@hidden> wrote:

Just run fbavari pp.freemps if you have perl glpk installed.

If one uncomment $lp->adv_basis, one will get different results.

Another question:

Way I,

load model
for loop
     change obj coef
     simplex
end

Way II,

for loop
    load model
    change obj coef
    simplex
end

This two ways will bring different results. Anyone know that?


reply via email to

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