Hello Andrew,
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.00
c2: 1.00
c3:
I am not sure if this is a bug or not, but I am not able to get
sensitivity bounds for the following simple example.
Thank you for the bug report.
There is a bug in the bound sensitivity routine: it works only for
minimization while your instance is maximization.
To avoid the bug you can
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.00
c2: 1.00
c3: -0.00e+000
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.00
c2: 1.00
c3:
I am not sure if this is a bug or not, but I am not able to get
sensitivity bounds for the following simple example.
Thank you for the bug report.
The bug will be fixed in the next version of the package.
To fix the bug right now please replace file src/glpapi12.c with
the patched one (see