-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
default_mip_solver: Allow solver = a callable #28914
Milestone
Comments
New commits:
|
Commit: |
Reviewer: Travis Scrimshaw |
comment:3
LGTM. |
comment:4
Thank you! Hoping that we can still get this into 9.0. |
comment:6
9.0 is out |
Changed branch from u/mkoeppe/default_mip_solver__allow_solver___a_callable to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sage.numerical.backends.generic_backend.get_solver
andMixedIntegerLinearProgram(solver=...)
already accept a callable (such as a class inheriting fromGenericBackend
) instead of strings such as'glpk'
:But
default_mip_solver
only accepts strings.Directly changing the module variable containing the setting also does not work;
get_solver
breaks in that case:CC: @dimpase @dcoudert @sagetrac-tmonteil @vbraun
Component: numerical
Author: Matthias Koeppe
Branch/Commit:
0a70975
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/28914
The text was updated successfully, but these errors were encountered: