We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff6284 commit f038dfaCopy full SHA for f038dfa
src/pyoptinterface/_src/gurobi.py
@@ -277,7 +277,7 @@ def init_default_env():
277
278
def get_terminationstatus(model):
279
status = model.get_model_raw_attribute_int("Status")
280
- assert status >= 1 and status <= 15, f"Unknown status code: {status}"
+ assert status >= 1 and status <= 19, f"Unknown status code: {status}"
281
return _RAW_STATUS_STRINGS[status - 1][0]
282
283
0 commit comments