mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 02:18:51 -06:00
Add ObjectiveValueComponent.xy
This commit is contained in:
@@ -69,7 +69,7 @@ def test_xy_with_lp_solution() -> None:
|
||||
]
|
||||
)
|
||||
}
|
||||
x_actual, y_actual = comp.xy(instance, sample)
|
||||
x_actual, y_actual = PrimalSolutionComponent.xy(instance, sample)
|
||||
assert len(x_actual.keys()) == 1
|
||||
assert len(y_actual.keys()) == 1
|
||||
assert_array_equal(x_actual["default"], x_expected["default"])
|
||||
|
||||
Reference in New Issue
Block a user