MathProgBase.jl icon indicating copy to clipboard operation
MathProgBase.jl copied to clipboard

Test that getsolution is feasible when problem is Unbounded

Open blegat opened this issue 8 years ago • 6 comments

LP

Solver First test Second test
Clp [0, 0] Pass
GLPK Pass Pass
CPLEX Pass [0,0]
Gurobi v6.51 Pass [6.937e-310,0]
FICO XPress No License :(

Note: For CPLEX I had to set CPX_PARAM_REDUCE to 1. Note: For both Gurobi and Clp, the ticket number is 80, coincidence ?

Conic

Solver First test Second test
CSDP [1.0,-4.22555e-7] [4.63449e-9,-1.0]
Mosek No solution available error

blegat avatar Dec 31 '16 12:12 blegat

Which solvers currently pass this test?

mlubin avatar Dec 31 '16 18:12 mlubin

I don't think that we can impose conic solver to support this so those tests should be in linprogsolvertestextra. @mlubin @joehuchette why no solver run linprogsolvertestextra in their tests ?

blegat avatar Jan 01 '17 11:01 blegat

why no solver run linprogsolvertestextra in their tests ?

No good reason

mlubin avatar Jan 01 '17 15:01 mlubin

It's troubling that neither CPLEX nor Gurobi pass both tests. I'd like to know if this behavior is reasonable to expect from an LP solver before imposing it via tests.

mlubin avatar Jan 03 '17 02:01 mlubin

I have asked Gurobi whether the X attribute is supposed to be feasible when the problem is unbounded. We'll see what they say.

blegat avatar Jan 03 '17 10:01 blegat

relevant to new status discussion https://github.com/JuliaOpt/MathProgBase.jl/issues/164 which should be resolved soon

chriscoey avatar Jun 09 '17 20:06 chriscoey