Deterministic "Snakes and Ladders" Heuristic for the Hamiltonian Cycle Problem

02/27/2019
by   Pouya Baniasadi, et al.
0

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 (SLH) 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/03/2022

Finding a Lower Bound for k-Unbounded Hamiltonian Cycles

Methods to determine the existence of Hamiltonian Cycles in graphs have ...
research
02/28/2018

Hamiltonian cycles in hypercubes with faulty edges

Szepietowski [A. Szepietowski, Hamiltonian cycles in hypercubes with 2n-...
research
02/01/2023

Distributed CONGEST Algorithm for Finding Hamiltonian Paths in Dirac Graphs and Generalizations

We study the problem of finding a Hamiltonian cycle under the promise th...
research
03/10/2022

Algorithms for the Maximum Eulerian Cycle Decomposition Problem

Given an Eulerian graph G, in the Maximum Eulerian Cycle Decomposition p...
research
05/01/2014

Solving the undirected feedback vertex set problem by local search

An undirected graph consists of a set of vertices and a set of undirecte...
research
07/01/2021

Backtracking (the) Algorithms on the Hamiltonian Cycle Problem

Even though the Hamiltonian cycle problem is NP-complete, many of its pr...
research
06/28/2015

Simultaneously Solving Computational Problems Using an Artificial Chemical Reactor

This paper is centered on using chemical reaction as a computational met...

Please sign up or login with your details

Forgot password? Click here to reset