-
Notifications
You must be signed in to change notification settings - Fork 14
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
Allow non-gurobi solvers #175
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @MikeLippincott thanks for the contribution,
Sorry for the bunch of suggestions.
I started with only one, but then I realized we were passing the whole tracking_config
and the solver_name
separately, which is redudant.
I think you could just change the MIPSolver
class to use the solver_name
when creating the mip.Model
, this part of the code,
self._model = mip.Model(sense=mip.MAXIMIZE, solver_name=self._solver_name) |
Let me know if you're busy and I can finish this PR.
Co-authored-by: Jordão Bragantini <[email protected]>
Co-authored-by: Jordão Bragantini <[email protected]>
Co-authored-by: Jordão Bragantini <[email protected]>
Co-authored-by: Jordão Bragantini <[email protected]>
Thank you for the review @JoOkuma. I really overthought this one. I appreciate the changes. I tested in my local env and ultrack works without gurobi installed. Requesting re-review. Please feel free to take over from here if easier! Thank you for the response and development for this package! |
I do not have gurobi installed as we have some commerical collaborations that would violate the use of the free version.
Instead, I wish to use the CBC solver.
This PR is in response to issue 173