Changes between Initial Version and Version 1 of Ticket #16210


Ignore:
Timestamp:
04/22/14 21:57:09 (7 years ago)
Author:
ncohen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16210

    • Property Status changed from new to needs_review
    • Property Branch changed from to u/ncohen/16210
  • Ticket #16210 – Description

    initial v1  
     1{{{
     2g=graphs.CycleGraph(10)
     3sage: g.allow_loops(True)
     4sage: g.add_edge(0,0)
     5sage: g.is_hamiltonian()
     6False
     7}}}
     8
    19This happens because in `traveling_salesman_problem` the call to `_scream_is_not_simple` raises a `ValueError` when the graph is not simple, and the same exception is raised when the graph is not hamiltonian.
    210