TY - JOUR
T1 - Deterministic "snakes and Ladders" Heuristic for the Hamiltonian cycle problem
AU - Baniasadi, Pouya
AU - Ejov, Vladimir
AU - Filar, Jerzy
AU - Haythorpe, Michael
AU - Rossomakhine, Serguei
PY - 2014
Y1 - 2014
N2 -
We present a polynomial complexity, deterministic, heuristic for solving the Hamiltonian cycle problem (HCP) in an undirected graph of order n. Although finding a Hamiltonian cycle is not theoretically guaranteed, we have observed that the heuristic is successful even in cases where such cycles are extremely rare, and it also performs very well on all HCP instances of large graphs listed on the TSPLIB web page. The heuristic owes its name to a visualisation of its iterations. All vertices of the graph are placed on a given circle in some order. The graph's edges are classified as either snakes or ladders, with snakes forming arcs of the circle and ladders forming its chords. The heuristic strives to place exactly n snakes on the circle, thereby forming a Hamiltonian cycle. The Snakes and Ladders Heuristic uses transformations inspired by k -opt algorithms such as the, now classical, Lin-Kernighan heuristic to reorder the vertices on the circle in order to transform some ladders into snakes and vice versa. The use of a suitable stopping criterion ensures the heuristic terminates in polynomial time if no improvement is made in n
3
major iterations.
AB -
We present a polynomial complexity, deterministic, heuristic for solving the Hamiltonian cycle problem (HCP) in an undirected graph of order n. Although finding a Hamiltonian cycle is not theoretically guaranteed, we have observed that the heuristic is successful even in cases where such cycles are extremely rare, and it also performs very well on all HCP instances of large graphs listed on the TSPLIB web page. The heuristic owes its name to a visualisation of its iterations. All vertices of the graph are placed on a given circle in some order. The graph's edges are classified as either snakes or ladders, with snakes forming arcs of the circle and ladders forming its chords. The heuristic strives to place exactly n snakes on the circle, thereby forming a Hamiltonian cycle. The Snakes and Ladders Heuristic uses transformations inspired by k -opt algorithms such as the, now classical, Lin-Kernighan heuristic to reorder the vertices on the circle in order to transform some ladders into snakes and vice versa. The use of a suitable stopping criterion ensures the heuristic terminates in polynomial time if no improvement is made in n
3
major iterations.
KW - Connected graph
KW - Hamiltonian cycle problem
KW - Heuristic
KW - Lin-Kernighan
KW - Polynomial time
UR - http://www.scopus.com/inward/record.url?scp=84898062020&partnerID=8YFLogxK
U2 - 10.1007/s12532-013-0059-2
DO - 10.1007/s12532-013-0059-2
M3 - Article
SN - 1867-2949
VL - 6
SP - 55
EP - 75
JO - Mathematical Programming Computation
JF - Mathematical Programming Computation
IS - 1
ER -