mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Make InternalSolver clonable
This commit is contained in:
@@ -64,10 +64,8 @@ def stab_instance() -> Instance:
|
||||
@pytest.fixture
|
||||
def solver() -> LearningSolver:
|
||||
return LearningSolver(
|
||||
solver=lambda: GurobiSolver(),
|
||||
components=[
|
||||
UserCutsComponent(),
|
||||
],
|
||||
solver=GurobiSolver(),
|
||||
components=[UserCutsComponent()],
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user