Solving the Snake in the Box Problem with Heuristic Search: First Results

Authors

  • Alon Palombo Ben Gurion University of the Negev
  • Roni Stern Ben Gurion University of the Negev
  • Rami Puzis Ben Gurion University of the Negev
  • Ariel Felner Ben Gurion University of the Negev
  • Scott Kiesel University of New Hampshire
  • Wheeler Ruml University of New Hampshire

DOI:

https://doi.org/10.1609/socs.v6i1.18357

Keywords:

Heuristic Search, Longest path problem, Optimization

Abstract

Snake in the Box (SIB) is the problem of finding the longest simple path along the edges of an n-dimensional cube, subject to certain constraints. SIB has important applications in coding theory and communications. State of the art algorithms for solving SIB apply uninformed search with symmetry breaking techniques. We formalize this problem as a search problem and propose several admissible heuristics to solve it. Using the proposed heuristics is shown to have a huge impact on the number of nodes expanded and, in some configurations, on runtime. These results encourage further research in using heuristic search to solve SIB, and to solve maximization problems more generally.

Downloads

Published

2021-09-01