Skip to content

Commit f038dfa

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyoptinterface/_src/gurobi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def init_default_env():
277277

278278
def get_terminationstatus(model):
279279
status = model.get_model_raw_attribute_int("Status")
280-
assert status >= 1 and status <= 15, f"Unknown status code: {status}"
280+
assert status >= 1 and status <= 19, f"Unknown status code: {status}"
281281
return _RAW_STATUS_STRINGS[status - 1][0]
282282

283283

0 commit comments

Comments
 (0)