Commit 7e8f363
fix: Allow COPT solution parsing for IMPRECISE status (#466)
* fix: Allow COPT solution parsing for IMPRECISE status
Add 'numerical' and 'imprecise' as proper TerminationCondition enum values
and map them to SolverStatus.ok to enable solution extraction for both
COPT solver statuses.
This fixes issue #460 where COPT solutions with IMPRECISE status were
not being parsed, even though COPT developers confirmed solutions
should be available for OK, NUMERICAL, and IMPRECISE statuses.
Co-authored-by: Fabian Hofmann <[email protected]>
* revert: Remove 'numerical' termination condition, keep only 'imprecise'
Remove 'numerical' enum value and mapping from STATUS_TO_TERMINATION_CONDITION_MAP while preserving the 'imprecise' additions for COPT solver compatibility.
Co-authored-by: Fabian Hofmann <[email protected]>
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Fabian Hofmann <[email protected]>1 parent d3b7b0d commit 7e8f363
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments