Hi Xypron,

> the problem below can be solved by the dual simplex 
> glpsol.exe -m test.mod  --dual

> Yet glp_get_dual_stat() returns 
> GLP_INFEAS dual solution is infeasible
> for the problem when called in glplpx03.c.

> The dual values for the constraints are 
> c1: 1.000000 
> c2: 1.000000 
> c3: -0.000000e+000

The bug is in glp_warm_up, which is called (via lpx_warm_up) from
glplpx03. It does not account optimization direction, so the dual
status is determined correctly only for minimization.



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

Reply via email to