New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spopt as solver agnostic? #49
Comments
or maybe have a parameter for solver in import mip
class BaseSpOptExactSolver(BaseSpOptSolver):
def __init__(self, solver):
self.spOptSolver = solver
def solve(self):
self.spOptSolver.solve()
BaseSpOptExactSolver(mip.Model("name")) |
We can close this issue after the following:
|
Closed
Other options to round out the discussion: |
Closed
closing for now -- solver agnostic is the way to go -- we just have to make sure the include all necessary solvers/wrappers in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation of
BaseSpOptExactSolver
sets the solver to theortools
wrapper forCBC
:pywraplp.Solver
. In order to makespopt
child model classes solver agnostic should we remove the declaration ofself.spOptSolver
here and haveself.solve
as an@abstractmethod
like inBaseSpOptHeuristicSolver
?Related: #18
The text was updated successfully, but these errors were encountered: