Commit f6e36af
committed
Slightly improve a tolerance issue in KirlikSayin
From a previous solve, z_k may be a value like z+eps where z in Z and eps is the
feasibility tolerance. However, if scalars[k] is integer valued, then presolve
may (somewhat reasonably) deduce that this problem is infeasible. Instead of
rounding z_k, changing EqualTo to LessThan seemed to work on the instances I
have. I don't know why. There is also a weird situation in which Gurobi declared
a problem unbounded. I can't reproduce without running the entire thing, but I
think it is a mix of presolve proving that there is no finite solution (because
its infeasible) and yet there being a "feasible" MIP solution in memory from the
previous solve. It comes down to the weird mix of tolerances in MIP starts,
presolve, simplex, and this equality constraint. This is most probably a bug in
Gurobi, in that it should either report optimal or infeasible. But not
unbounded. I've seem something similar in SDDP.jl.1 parent fcea8f7 commit f6e36af
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments