mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Use np in Constraints.lazy; replace some get_vector
This commit is contained in:
@@ -31,7 +31,7 @@ def sample() -> Sample:
|
||||
"type-b",
|
||||
"type-b",
|
||||
],
|
||||
"static_constr_lazy": [True, True, True, True, False],
|
||||
"static_constr_lazy": np.array([True, True, True, True, False]),
|
||||
"static_constr_names": np.array(["c1", "c2", "c3", "c4", "c5"], dtype="S"),
|
||||
"static_instance_features": [5.0],
|
||||
"mip_constr_lazy_enforced": {b"c1", b"c2", b"c4"},
|
||||
|
||||
Reference in New Issue
Block a user