#10205: Random test in sage.graphs.generic_graph_pyx.find_hamiltonian takes a
very
long time
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: mvngu
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.1
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Changes (by jdemeyer):
* author: Jeroen Demeyer =>
Old description:
New description:
The following test from sage/graphs/generic_graph_pyx.pyx takes a very
long time:
{{{
TESTS:
Running the algorithm on random instances, just to make sure the
answers are still satisfiable path (the algorithm would raise an
exception otherwise)::
sage: for i in range(200):
... g = graphs.RandomGNP(20,.1)
... _ = fh(G,find_path=True)
}}}
At the very least, it should be marked {{{# long time}}} but even then I
think it takes way too long.
Also, it looks like {{{g}}} should be {{{G}}}.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10205#comment:1>
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.