Commit 23af82f
ClpSimplex::fathomMany: handle unexpected problemStatus_ gracefully
Replace hard assert(problemStatus_ == 0 || problemStatus_ == 1) with a
graceful early exit when fastDual2 leaves an unexpected status (e.g. 4,
-1, 11 from numerical difficulties). The assert triggered on instance
neos-2657525-crna after ~3 hours of B&B (SIGABRT, exit code 134).
The fix mirrors the identical pattern already present in fathom() at
line 11799, which sets info->nNodes_ = -1 and returns cleanly. The
now-unreachable problemStatus_ == 10 abort block is also removed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d46585a commit 23af82f
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12479 | 12479 | | |
12480 | 12480 | | |
12481 | 12481 | | |
12482 | | - | |
12483 | | - | |
12484 | | - | |
12485 | | - | |
| 12482 | + | |
| 12483 | + | |
| 12484 | + | |
| 12485 | + | |
| 12486 | + | |
| 12487 | + | |
| 12488 | + | |
| 12489 | + | |
| 12490 | + | |
| 12491 | + | |
12486 | 12492 | | |
12487 | 12493 | | |
12488 | 12494 | | |
| |||
0 commit comments