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

asked 2019-07-28 08:00:13 +0200

Ganapati Natarajan gravatar image

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.

edit retag flag offensive close merge delete

Comments

Please do not post duplicatedquestions. I am voting to close this post, as a duplicate of https://ask.sagemath.org/question/472...

dan_fulea gravatar imagedan_fulea ( 2019-07-29 19:13:41 +0200 )edit