|
|
@ -56,7 +56,7 @@ def test_parallel_solve():
|
|
|
|
def test_solver_random_branch_priority():
|
|
|
|
def test_solver_random_branch_priority():
|
|
|
|
instance = _get_instance()
|
|
|
|
instance = _get_instance()
|
|
|
|
components = {
|
|
|
|
components = {
|
|
|
|
"warm-start": BranchPriorityComponent(initial_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)
|
|
|
|