#16214: Bug in is_hamiltonian: non-simple digraphs
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.2
defect | Resolution:
Priority: major | Merged in:
Component: graph | Reviewers:
theory | Work issues:
Keywords: | Commit:
Authors: | 4c94ca78acfedee224aa17771a17927a0a5df352
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/16214 |
Dependencies: |
#16210 |
-------------------------+-------------------------------------------------
Changes (by vdelecroix):
* commit: 0198a936873f762ecaea1a72fd716d0b6e9323f4 =>
4c94ca78acfedee224aa17771a17927a0a5df352
* branch: u/ncohen/16214 => public/16214
Comment:
Hmmmmm
{{{
sage: G = DiGraph(loops=True, multiedges=True)
sage: G.add_vertex(0)
sage: G.add_edge(0,0,1)
sage: G.add_edge(0,0,2)
sage: G.traveling_salesman_problem(use_edge_labels=True)
Traceback (most recent call last):
...
TypeError: Density is not well-defined for multigraphs.
}}}
Please start from the public branch, I started some correction in the doc
and added the doctest above (that you '''have''' to modify).
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=4c94ca78acfedee224aa17771a17927a0a5df352
4c94ca7]||{{{16214: A new doctest that fails}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/16214#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.