Make InternalSolver clonable

This commit is contained in:
2021-04-07 19:52:21 -05:00
parent ebccde6a03
commit 0232219a0e
12 changed files with 69 additions and 46 deletions

View File

@@ -64,10 +64,8 @@ def stab_instance() -> Instance:
@pytest.fixture
def solver() -> LearningSolver:
return LearningSolver(
solver=lambda: GurobiSolver(),
components=[
UserCutsComponent(),
],
solver=GurobiSolver(),
components=[UserCutsComponent()],
)