#8781: Overfull graph (and a bug in edge_coloring)
-------------------------------+--------------------------------------------
Reporter: ncohen | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.4.3
Component: graph theory | Keywords:
Author: Nathann Cohen | Upstream: N/A
Reviewer: Minh Van Nguyen | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Comment(by ncohen):
Hem... So in the end, with your "optional" keyword and the 3 instead of 4,
there is no error returned from the doctests when no solver is installed.
The problem is that when a user who does not have any solver installed
uses the edge_coloring method, he gets wrong results because the function,
when noticing that the solve command raises an exception (because no
solver is installed) incorrectly deduces that the problem has no solution,
and answers Delta+1. This is just because I wrote except: instead of
except MIPSolverException:, and it is (I hope) my last mistake. :-)
With this other 1-line patch, this should be fixed.... God I'm eager to
see all those dependencies merged into Sage, I'm getting tired of applying
them all each time I want to test something !!
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8781#comment:7>
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.