mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 17:38:51 -06:00
ObjectiveValueComponent: Fix failing test
This commit is contained in:
@@ -16,7 +16,7 @@ def test_usage():
|
|||||||
comp.fit(instances)
|
comp.fit(instances)
|
||||||
assert instances[0].lower_bound == 1183.0
|
assert instances[0].lower_bound == 1183.0
|
||||||
assert instances[0].upper_bound == 1183.0
|
assert instances[0].upper_bound == 1183.0
|
||||||
assert comp.predict(instances).tolist() == [[1183.0, 1183.0],
|
assert np.round(comp.predict(instances), 2).tolist() == [[1183.0, 1183.0],
|
||||||
[1070.0, 1070.0]]
|
[1070.0, 1070.0]]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user