mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Finish rewrite of user cuts component
This commit is contained in:
@@ -67,7 +67,6 @@ def test_subtour():
|
||||
solver = LearningSolver()
|
||||
solver.solve(instance)
|
||||
assert len(instance.training_data[0].lazy_enforced) > 0
|
||||
assert hasattr(instance, "found_violated_user_cuts")
|
||||
x = instance.training_data[0].solution["x"]
|
||||
assert x[0, 1] == 1.0
|
||||
assert x[0, 4] == 1.0
|
||||
|
||||
Reference in New Issue
Block a user