This work aims to present the Snake-in-the-Box problem, abbreviated as SIB problem, which consists of searching for the longest induced open (resp. closed) paths, commonly referred to as snakes (resp. coils), in graphs from the family of the hypercubes. The approach aims to make the topic accessible to both beginners and experts, using clear language and explaining the necessary concepts and prerequisites. The fundamentals of the SIB problem are introduced, including its origin in 1958, its evolution, main practical applications, and methods for representing, validating, and searching for snakes in hypercubes of dimension d.
Initially, lower and upper bounds for each dimension of hypercubes are presented, based on mathematical methods and concepts from graph theory. Next, the search algorithms that have been adapted, refined, and implemented in computer programs are discussed, enabling the identification of increasingly larger snakes. Some of these paths are proven to be absolute maxima, while others represent the longest known paths to date.
The work also analyzes a broad range of publications, including technical papers, dissertations, and theses published since 1958. These studies are examined to address both the mathematical foundations that define the bounds and the different algorithms used to explore the SIB problem.
Additionally, a custom Stochastic Beam Search algorithm was implemented, one of the various search methods used by researchers to find the longest snakes. This implementation provides readers with a practical approach, enabling them to assess the complexity involved in the SIB problem.