#12833: Crashes and doctests problems with Gurobi
--------------------------------------+-------------------------------------
Reporter: ncohen | Owner: ncohen
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: linear programming | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: John Perry
Authors: Nathann Cohen | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by dcoudert):
We can get rid of this "GUROBI" ''vs'' "Gurobi" stuff using e.g. the
``capitalize()`` function to simplify tests.
{{{
sage: x = 'GUROBI'
sage: y = 'GuRoBi'
sage: x == y
False
sage: x.capitalize() == y.capitalize()
True
sage: x.capitalize()
'Gurobi'
}}}
We could use it inside default_mip_solver, and it could be good practice
in many other functions taking as input the name of an algorithm.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12833#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.