Commit 2f9eb7d
authored
Slightly improve a tolerance issue in KirlikSayin (#198)
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 8d2994c commit 2f9eb7d
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments