mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
Use np.ndarray in Variables
This commit is contained in:
@@ -32,7 +32,8 @@ def test_knapsack() -> None:
|
||||
# -------------------------------------------------------
|
||||
extractor.extract_after_load_features(instance, solver, sample)
|
||||
assert_equals(
|
||||
sample.get_vector("static_var_names"), ["x[0]", "x[1]", "x[2]", "x[3]", "z"]
|
||||
sample.get_vector("static_var_names"),
|
||||
["x[0]", "x[1]", "x[2]", "x[3]", "z"],
|
||||
)
|
||||
assert_equals(
|
||||
sample.get_vector("static_var_lower_bounds"), [0.0, 0.0, 0.0, 0.0, 0.0]
|
||||
|
||||
Reference in New Issue
Block a user