mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 18:08:51 -06:00
Convert MIPSolveStats into dataclass
This commit is contained in:
@@ -255,5 +255,5 @@ def test_usage() -> None:
|
||||
solver.solve(instance)
|
||||
solver.fit([instance])
|
||||
stats = solver.solve(instance)
|
||||
assert stats["Lower bound"] == stats["Objective: Predicted lower bound"]
|
||||
assert stats["Upper bound"] == stats["Objective: Predicted upper bound"]
|
||||
assert stats["mip_lower_bound"] == stats["Objective: Predicted lower bound"]
|
||||
assert stats["mip_upper_bound"] == stats["Objective: Predicted upper bound"]
|
||||
|
||||
Reference in New Issue
Block a user