-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
get_solver should allow passing a function (a solver factory) as the solver argument #20406
Comments
Branch: u/mkoeppe/get_solver_factory |
Commit: |
This comment has been minimized.
This comment has been minimized.
New commits:
|
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
this also needs a rebase (sorry for sitting on this too long...) |
comment:8
Rebased on 7.2.beta4 |
comment:10
without the example in the ticket description it's hard to get the idea of this change. |
comment:12
the doctest in the commit d1d84c6 appears to demonstrate a bug in the ILP solver of GLPK. The correct answer should be 3, not 2. Indeed, look at the entry n=19, k=2 in http://www.codetables.de/BKLC/Tables.php?q=7&n0=1&n1=100&k0=1&k1=100; it is 16, not 15. (one also gets 3 when using PPL's ILP solver) |
comment:13
GLPK has an exact simplex, not an exact MIP solver. |
comment:14
anyhow, this answer by GLPK is wrong, ILP or LP!
|
comment:15
I need to do
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
To move this ticket forward, I have replaced the test by something else |
comment:18
The wrong result is now the subject of ticket #20447. |
Reviewer: Dima Pasechnik |
comment:19
OK! |
Changed branch from u/mkoeppe/get_solver_factory to |
For example, to use GLPK's exact simplex algorithm:
CC: @dimpase @videlec @vbraun @jdemeyer
Component: numerical
Author: Matthias Koeppe
Branch/Commit:
37e87a5
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/20406
The text was updated successfully, but these errors were encountered: