mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-09 02:48:52 -06:00
Add _gurobipy suffix to all build_model functions
This commit is contained in:
@@ -6,7 +6,7 @@ import numpy as np
|
||||
|
||||
from miplearn.problems.setpack import (
|
||||
SetPackData,
|
||||
build_setpack_model,
|
||||
build_setpack_model_gurobipy,
|
||||
)
|
||||
|
||||
|
||||
@@ -21,6 +21,6 @@ def test_setpack() -> None:
|
||||
],
|
||||
),
|
||||
)
|
||||
model = build_setpack_model(data)
|
||||
model = build_setpack_model_gurobipy(data)
|
||||
model.optimize()
|
||||
assert model.inner.objval == -22.0
|
||||
|
||||
Reference in New Issue
Block a user