Skip to content

Commit b4cef8f

Browse files
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]>
1 parent 0ef38e4 commit b4cef8f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

linopy/constants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ class TerminationCondition(Enum):
106106
iteration_limit = "iteration_limit"
107107
terminated_by_limit = "terminated_by_limit"
108108
suboptimal = "suboptimal"
109-
numerical = "numerical"
110109
imprecise = "imprecise"
111110

112111
# WARNING
@@ -143,7 +142,6 @@ def process(
143142
TerminationCondition.time_limit,
144143
TerminationCondition.terminated_by_limit,
145144
TerminationCondition.suboptimal,
146-
TerminationCondition.numerical,
147145
TerminationCondition.imprecise,
148146
],
149147
SolverStatus.warning: [

0 commit comments

Comments
 (0)