Proceedings

Finding Simple Shortest-Paths via Centroids

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 6326-6333.

https://doi.org/10.24963/ijcai.2026/704

Abstract

Finding an arbitrary number of shortest paths in a graph is a fundamental problem in Graph Theory and Artificial Intelligence with numerous applications to real-world problems. While some algorithms produce paths which might contain loops, the most interesting and challenging problem variant consists of finding simple (or loopless) paths. This problem has been addressed with algorithms which always conduct an arbitrary number of Dijkstra searches. While the current state-of-the-art leverages the notion of sidetrack edge, a new development upon sidetrack edges has been recently introduced which can be used to produce non-simple paths very efficiently, centroids. In this paper, centroids are used to compute an arbitrary number of simple paths with some important benefits: the expansion of a single centroid delivers an arbitrary number of paths; only a single Dijkstra search is required to complete the task; the same algorithm can be easily coupled with heuristics that improve search efficiency. Experimental results across various domains show substantial improvements over the current state of the art, both in runtime and memory usage.

  1. [Al Zoobi et al., 2020] Ali Al Zoobi, David Coudert, and Nicolas Nisse. Space and time trade-off for the k shortest simple paths problem. In SEA 2020, volume 160, pages 18:1-18:13, 2020.
  2. [Al Zoobi et al., 2023] Ali Al Zoobi, David Coudert, and Nicolas Nisse. Finding the k shortest simple paths: Time and space trade-offs. ACM Journal of Experimental Algo- rithmics, 28:1-23, 2023.
  3. [Aljazzar and Leue, 2011] Husain Aljazzar and Stefan Leue. K * : A heuristic search algorithm for finding the k shortest paths. Artificial Intelligence, 175:1-40, 2011.
  4. [Arita, 2000] Masanori Arita. Metabolic reconstruction us- ing shortest paths. Simulation Practice and Theory, 8(1):109-125, 2000.
  5. [Clarke et al., 1963] S. Clarke, A. Krikorian, and J. Rausen. Computing the n best loopless paths in a network. Jour- nal of the Society for Industrial and Applied Mathematics, 11(4):1096-1102, 1963.
  6. [Dijkstra, 1959] E.W. Dijkstra. A note on two problems in connection with graphs. Numerische Mathematik, 1(1):269-271, 1959.
  7. [Eppstein, 1998] David Eppstein. Finding the k shortest paths. SIAM Journal on Computing, 28(2):652-673, 1998.
  8. [Eppstein, 2016] David Eppstein. k-Best Enumeration, pages 1003-1006. Springer New York, New York, NY, 2016.
  9. [Feng, 2014] Gang Feng. Finding k shortest simple paths in directed graphs: A node classification algorithm. Net- works, 64(1):6-17, 2014.
  10. [Hart et al., 1968] P. E. Hart, N. J. Nilsson, and B. Raphael. A formal basis for the heuristic determination of minimum cost paths. IEEE Transactions of Systems Science and Cy- bernetics, SSC-4(2):100-107, 1968.
  11. [Helmert, 2010] Malte Helmert. Landmark heuristics for the pancake problem. In Proceedings of the Third Annual Symposium on Combinatorial Search (SoCS), pages 109- 110, Atlanta, Georgia, United States, July 2010.
  12. [Hershberger et al., 2007] John Hershberger, Matthew Maxel, and Subhash Suri. Finding the k shortest simple paths: A new algorithm and its implementation. ACM Transactions on Algorithms, 3(4):45-56, 2007.
  13. [Hoffman and Pavley, 1959] W. Hoffman and R. Pavley. A method for the solution of the nth best path problem. Jour- nal of the ACM, 6:506-514, 1959.
  14. [Kurz and Mutzel, 2016] Denis Kurz and Petra Mutzel. A sidetrack-based algorithm for finding the k shortest simple paths in a directed graph. LIPIcs, Volume 64, ISAAC 2016, 64:49:1-49:13, 2016.
  15. [Lawler, 1972] E. L. Lawler. A procedure for computing the k best solutions to discrete optimization problems and its application to the shortest path problem. Management Sci- ence, 18:401-405, 1972.
  16. [Linares López, 2026] Carlos Linares López. Experimen- tal evaluation of sBELA0/sBELA * (IJCAI 2026). Data set, Zenodo, 2026. Version 1.0.0. DOI: 10.5281/zen- odo.20184563. DOI
  17. [Linares López and Herman, 2024] Carlos Linares López and Ian Herman. Evolving A * to efficiently solve the κ shortest-path problem. In Proceedings of the 27th Euro- pean Conference on Artificial Intelligence, pages 4352- 4359, 2024.
  18. [Shibuya and Imai, 1997] T. Shibuya and H. Imai. New flex- ible approaches for multiple sequence alignment. Journal of Computational Biology, 4(3):385-413, 1997.
  19. [Sturtevant, 2012] Nathan Sturtevant. Benchmarks for grid- based pathfinding. Transactions on Computational Intelli- gence and AI in Games, 4(2):144-148, 2012.
  20. [Xu et al., 2012] W. Xu, S. He, R. Song, and S. Chaudhry. Finding the k shortest paths in a schedule-based transit network. Computers & Operations Research, 39(8):1812- 1826, 2012.
  21. [Yen, 1971] J. Y. Yen. Finding the k shortest loopless paths in a network. Management Science, 17:712-716, 1971.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards