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
Wrong LP solver ordering #9570
Comments
comment:1
Attachment: trac_9570.patch.gz |
Fixes the AttributeError that was returned when no mip solver was specified by the user |
comment:2
Attachment: trac_9570-fix.patch.gz I applied your patch, but while trying to solve an MIP without specifying a solver, I've got an AttributeError, since the attribute '_default_solver' was not defined. |
comment:3
Excellent ! Thank you very much for your help :-) Both apply fine and in the end, it works... Now the annoying part is #8880 because CPLEX is called by next-to-any method in the LP library XD Nathann |
Author: Nathann Cohen, Leonardo Sampaio |
Reviewer: Nathann Cohen, Leonardo Sampaio |
Merged: sage-4.5.2.alpha1 |
comment:4
Leonardo -- be sure to use informative commit messages for your patches. "fix" is not very helpful. :) Always include a ticket number, too. I changed your commit message to "ticket 9570: insure _default_solver attribute exists". both patches merged in 4.5.2.alpha1. |
comment:5
ok, thanks for the advice =) |
At the moment, GLPK is the solver used regardless of the presence of CBC or CPLEX. This is just because of a line written ten lines too high in the file !
Nathann
Component: numerical
Author: Nathann Cohen, Leonardo Sampaio
Reviewer: Nathann Cohen, Leonardo Sampaio
Merged: sage-4.5.2.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/9570
The text was updated successfully, but these errors were encountered: