Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there a built-in function to compute all the Hamiltonian cycles in a Graph?

The function hamiltonian_cycle returns a single Hamiltonian cycle, is there a function which can compute all the Hamiltonian cycles in a graph as can be done in Mathematica. If not please suggest a way to do this in sage math.