mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-12 20:38:52 -06:00
Move collected data to instance.training_data
This commit is contained in:
@@ -15,8 +15,8 @@ def test_stab():
|
||||
weights = [1.0, 1.0, 1.0, 1.0, 1.0]
|
||||
instance = MaxWeightStableSetInstance(graph, weights)
|
||||
solver = LearningSolver()
|
||||
solver.solve(instance)
|
||||
assert instance.lower_bound == 2.0
|
||||
stats = solver.solve(instance)
|
||||
assert stats["Lower bound"] == 2.0
|
||||
|
||||
|
||||
def test_stab_generator_fixed_graph():
|
||||
|
||||
Reference in New Issue
Block a user