LearningSolver: add more constructor options; perform fit in parallel

This commit is contained in:
2020-02-03 10:49:54 -06:00
parent 1300a73bc2
commit 9239c4eb82
4 changed files with 21 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ def test_parallel_solve():
def test_solver_random_branch_priority():
instance = _get_instance()
components = {
"warm-start": BranchPriorityComponent(initial_priority=np.array([1., 2., 3., 4.])),
"warm-start": BranchPriorityComponent(),
}
solver = LearningSolver(components=components)
solver.solve(instance)