Add mip_ prefix to dynamic constraints

This commit is contained in:
2021-08-04 13:38:23 -05:00
parent ca925119b3
commit 067f0f847c
7 changed files with 14 additions and 14 deletions

View File

@@ -65,7 +65,7 @@ def test_subtour() -> None:
samples = instance.get_samples()
assert len(samples) == 1
sample = samples[0]
lazy_enforced = sample.get_set("lazy_enforced")
lazy_enforced = sample.get_set("mip_constr_lazy_enforced")
assert lazy_enforced is not None
assert len(lazy_enforced) > 0
assert sample.get_vector("mip_var_values") == [