Solving the K-shortest paths problem in timetable-based public transportation systems

Abstract Finding the K-shortest paths in timetable-based public transportation systems is an important problem in practice. It has three typical variants: the K-earliest arrival problem (K-EAP), the K-shortest travel time problem (K-STTP), and the K-minimum number of transfers problem (K-MNTP). In this article we show that these problems can be solved efficiently by first modeling the timetable information with the time-expanded approach, then applying the Martins and Santos (MS) algorithm. Then we model the timetable information with the time-dependent approach and propose a modified version of the MS algorithm for solving the K-EAP. Experimental results on real-world data show that for K smaller than 100, which is enough for most applications, the execution times of the MS algorithm for the problems in the time-expanded model are less than 100 ms on a server with a 1.86-GHz central processing unit (CPU) and 4 GB of memory. For solving the K-EAP the modified MS algorithm in the time-dependent model is even more efficient (about three times faster for K ≤ 100) than the original algorithm in the time-expanded model. Our results imply the great potential of the MS algorithms in practical transportation service systems.

[1]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[2]  Jose Luis Esteves dos Santos,et al.  A New Shortest Paths Ranking Algorithm , 1999 .

[3]  Randolph W. Hall,et al.  The Fastest Path through a Network with Random Time-Dependent Travel Times , 1986, Transp. Sci..

[4]  Andrés Marzal,et al.  Computing the K Shortest Paths: A New Algorithm and an Experimental Comparison , 1999, WAE.

[5]  Peter Sanders,et al.  Engineering highway hierarchies , 2012, JEAL.

[6]  Jianmin Li,et al.  A Modified K-Shortest Paths Algorithm for Solving the Earliest Arrival Problem on the Time-Dependent Model of Transportation Systems , 2012 .

[7]  N. J. V. Zijpp,et al.  Path enumeration by finding the constrained K-shortest paths , 2005 .

[8]  Nicos Christofides,et al.  An efficient implementation of an algorithm for finding K shortest simple paths , 1999, Networks.

[9]  Mark D. Hickman,et al.  Transit Service and Path Choice Models in Stochastic and Time-Dependent Networks , 1997, Transp. Sci..

[10]  D. Wagner,et al.  Timetable Information Updating in Case of Delays : Modeling Issues ⋆ , 2008 .

[11]  Christos D. Zaroliagis,et al.  Efficient models for timetable information in public transportation systems , 2008, JEAL.

[12]  Daniele Pretolani,et al.  Ranking paths in stochastic time-dependent networks , 2014, Eur. J. Oper. Res..

[13]  Gerth Stølting Brodal,et al.  Time-dependent Networks as Models to Achieve Fast Exact Time-table Queries , 2004, ATMOS.

[14]  Christos D. Zaroliagis,et al.  Towards Realistic Modeling of Time-Table Information through the Time-Dependent Approach , 2004, Electron. Notes Theor. Comput. Sci..

[15]  Marta M. B. Pascoal,et al.  Deviation Algorithms for Ranking Shortest Paths , 1999, Int. J. Found. Comput. Sci..

[16]  David Eppstein,et al.  Finding the k Shortest Paths , 1999, SIAM J. Comput..

[17]  Marta M. B. Pascoal,et al.  A new implementation of Yen’s ranking loopless paths algorithm , 2003, 4OR.

[18]  Elise Miller-Hooks,et al.  Updating Paths in Time-Varying Networks Given Arc Weight Changes , 2005, Transp. Sci..

[19]  Ernesto de Queirós Vieira Martins,et al.  A new improvement for a K shortest paths algorithm , 2001 .

[20]  J. Y. Yen Finding the K Shortest Loopless Paths in a Network , 1971 .

[21]  Aarni Perko,et al.  Implementation of algorithms for K shortest loopless paths , 1986, Networks.

[22]  Andrés Marzal,et al.  A Lazy Version of Eppstein's K Shortest Paths Algorithm , 2003, WEA.

[23]  Hanif D. Sherali,et al.  Time-Dependent, Label-Constrained Shortest Path Problems with Applications , 2003, Transp. Sci..

[24]  Peter Sanders,et al.  Engineering Route Planning Algorithms , 2009, Algorithmics of Large and Complex Networks.