Skip to content

Commit 3f03388

Browse files
h-g-sCopilot
andcommitted
Remove deprecated timeMode parameter for CBC compatibility
MIPster/CBC no longer supports the 'timeMode' parameter. Removed the cbc_set_parameter(self, "timeMode", "elapsed") call which caused immediate exit with 'Unrecognized parameter' error. Time limits are still set correctly via set_max_seconds(). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ae7252e commit 3f03388

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

mip/cbc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,6 @@ def set_processing_limits(
16301630
smaller limits could have been set in a previous iteration"""
16311631

16321632
if max_time != mip.INF:
1633-
cbc_set_parameter(self, "timeMode", "elapsed")
16341633
self.set_max_seconds(max_time)
16351634
if max_nodes != mip.INT_MAX:
16361635
self.set_max_nodes(max_nodes)

0 commit comments

Comments
 (0)