Skip to content

Commit

Permalink
Introduce the MaxNodes Option to PULP_CBC_CMD solver (#718)
Browse files Browse the repository at this point in the history
* Add MaxNodes option to PULP_CBC_CMD solver

* remove vs code settings

* in checking that the file is executable adding maxNodes=maxNodes

* in checking that the file is executable adding maxNodes=maxNodes
  • Loading branch information
dhruvk12 authored Jan 16, 2024
1 parent 8074983 commit f211372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pulp/apis/coin_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ def __init__(
threads=None,
logPath=None,
timeMode="elapsed",
maxNodes=None,
):
if path is not None:
raise PulpSolverError("Use COIN_CMD if you want to set a path")
Expand All @@ -382,6 +383,7 @@ def __init__(
threads=threads,
logPath=logPath,
timeMode=timeMode,
maxNodes=maxNodes,
)


Expand Down

0 comments on commit f211372

Please sign in to comment.