Skip to content

Commit 2ff6284

Browse files
committed
Update Gurobi status code
1 parent 4321dd2 commit 2ff6284

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/pyoptinterface/_src/gurobi.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,14 @@ def init_default_env():
257257
TerminationStatusCode.MEMORY_LIMIT,
258258
"Optimization terminated because the total amount of allocated memory exceeded the value specified in the SoftMemLimit parameter.",
259259
),
260+
(
261+
TerminationStatusCode.LOCALLY_SOLVED,
262+
"Model solved to local optimality. A solution satisfying the first-order optimality conditions (subject to tolerances) was found and is available.",
263+
),
264+
(
265+
TerminationStatusCode.LOCALLY_INFEASIBLE,
266+
"Model appears to be locally infeasible. A first-order minimizer of a measure for the constraint violations was found.",
267+
),
260268
]
261269

262270
gurobi_raw_type_map = {

0 commit comments

Comments
 (0)