mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
Fix test_solver.py
This commit is contained in:
@@ -58,7 +58,7 @@ def test_solver_random_branch_priority():
|
|||||||
prices=[505., 352., 458., 220.],
|
prices=[505., 352., 458., 220.],
|
||||||
capacity=67.)
|
capacity=67.)
|
||||||
components = {
|
components = {
|
||||||
"warm-start": BranchPriorityComponent(priority=np.array([1, 2, 3, 4])),
|
"warm-start": BranchPriorityComponent(initial_priority=np.array([1, 2, 3, 4])),
|
||||||
}
|
}
|
||||||
solver = LearningSolver(components=components)
|
solver = LearningSolver(components=components)
|
||||||
solver.solve(instance)
|
solver.solve(instance)
|
||||||
|
|||||||
Reference in New Issue
Block a user