mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 01:48:51 -06:00
Make InternalSolver clonable
This commit is contained in:
@@ -35,5 +35,9 @@ def _get_knapsack_instance(solver):
|
||||
assert False
|
||||
|
||||
|
||||
def get_internal_solvers() -> List[Callable[[], InternalSolver]]:
|
||||
return [GurobiPyomoSolver, GurobiSolver, XpressPyomoSolver]
|
||||
def get_internal_solvers() -> List[InternalSolver]:
|
||||
return [
|
||||
GurobiPyomoSolver(),
|
||||
GurobiSolver(),
|
||||
XpressPyomoSolver(),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user