Bidirectional Search for Longest Paths: Case for Front-to-Front Heuristics
DOI:
https://doi.org/10.1609/socs.v19i1.43082Abstract
Bidirectional heuristic search can potentially reduce search effort for problems amenable to backward search. Therein, it is well-known that front-to-front heuristics can reduce the number of node expansions, but their overhead is so high that overall runtime almost always increases. We propose BiXDFBnB, a bidirectional depth-first branch-and-bound algorithm that adapts the Single-Frontier Bidirectional Search (SFBDS) framework—originally developed for shortest-path (MIN) problems—to the Generalized Longest Simple Path (GLSP) setting. Because SFBDS inherently operates on paired states, front-to-front (F2F) heuristic evaluation arises naturally and avoids the overhead typically associated with bidirectional frontier management. We show that this adaptation can be successfully applied to maximization (MAX) problems while efficiently handling overlapping constraints. BiXDFBnB is applied to several types of longest-path problems: Longest Simple Path (LSP), Snakes, and Coil-in-the-Box (CIB). Empirical evaluation shows that the new algorithm frequently reduces the number of node expansions and, in some cases, also improves overall runtime.Downloads
Published
2026-08-14
How to Cite
Shubi, T., Felner, A., Shimony, S. E., & Shperberg, S. (2026). Bidirectional Search for Longest Paths: Case for Front-to-Front Heuristics. Proceedings of the International Symposium on Combinatorial Search, 19(1), 138–147. https://doi.org/10.1609/socs.v19i1.43082
Issue
Section
Long Papers