#12833: Crashes and doctests problems with Gurobi
--------------------------------------+-------------------------------------
Reporter: ncohen | Owner: ncohen
Type: defect | Status: needs_review
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:
--------------------------------------+-------------------------------------
Changes (by ncohen):
* status: needs_work => needs_review
Comment:
Helloooooooo !!!
> You're gonna hate me.
Ahahah. Well, fixing those is not exactly as rewarding as writing real
code, but anyway you are right, they need ot be fixed `:-D`
> Only 3? `;-)`
Fixed
> The documentation should change.
Done. If only for consistency. Your call to ``capitalize`` is a good idea,
so now any way to write GuRobI would work.
> 3. The tests for `mip.pyx` fail with Gurobi installed, '''with or
without this patch.'''
Right. Well, the point is that if we can actually ask Sage to use GLPK as
its default solver, I have no way to ensure it will not be the default
solver for ALL TESTS (i.e. including the graph/ files), and it would be
very bad to not notice quickly if some optional solver returns wrong
answers... Hence I only added "solver='GLPK'" to all doctests that failed
because of fancy solvers, and the other doctests run with the "default
solver" as usual
> sage: p.solve()
> Expected:
> 0.0
> Got:
> -0.0
Yeah... Well, I replaced that by ``_ = p.solve()``.
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12833#comment:5>
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.