Skip to main content
Log in

Solving periodic timetabling problems with SAT and machine learning

  • Original Paper
  • Published:
Public Transport Aims and scope Submit manuscript

Abstract

In this research work we address periodic timetabling, namely the optimisation of public transport timetables with respect to travel times using Boolean satisfiability problem (SAT) and reinforcement learning approaches. While in previous work this optimisation problem has been addressed with mixed integer linear programming, genetic algorithms, SAT, the modulo network simplex, among other techniques, in this work we use an approximation method based on SAT, reinforcement learning and multiagents, a combination of techniques which (to our knowledge) has never been applied in this field. Finally, we present promising results which show that our approach applied to real-world data performs better than existing SAT approaches and even outperforms the current state-of-the-art algorithms (based on the modulo network simplex, mixed integer programming and heuristics) on some problems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price includes VAT (Finland)

Instant access to the full article PDF.

Fig. 1

Adapted from Peeters (2003)

Fig. 2
Fig. 3
Fig. 4

Adapted from Großmann (2011) (color figure online)

Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. We compare with the state-of-the-art at the time the research reported in this paper was finished. More details on this in Sect. 4.1

References

  • Auer P, Cesa-Bianchi N, Fischer P (2002) Finite time analysis of the multiarmed bandit problem. Mach Learn 47(2–3):235–256. https://doi.org/10.1023/A:1013689704352

    Article  Google Scholar 

  • Cook SA (1971) The complexity of theorem-proving procedures. In: Proceedings of the third annual ACM symposium on theory of computing. ACM, pp 151–158

  • de Waal E (2005) Generating periodic timetables using a cutting plane algorithm. M.sc. thesis, Vrije Universiteit Amsterdam

  • Fu Z, Malik S (2006) On solving the partial MAX-SAT problem. In: International conference on theory and applications of satisfiability testing. Springer, Berlin, Heidelberg, pp 252–265

  • Gattermann P, Nachtigall K (2016) Integrating passengers’ routes in periodic timetabling: a SAT approach. In: Goerigk M, Werneck R (eds) 16th workshop on algorithmic approaches for transportation modelling, optimization, and systems (ATMOS 2016), Schloss Dagstuhl–Leibniz-Zentrum für Informatik, pp 3:1–3:15

  • Goerigk M (2020) Pesplib web page. http://num.math.uni-goettingen.de/~m.goerigk/pesplib/. Accessed 11 Aug 2020

  • Goerigk M, Schöbel A (2013) Improving the modulo simplex algorithm for large-scale periodic timetabling. Comput Oper Res 40(5):1363–1370. https://doi.org/10.1016/j.cor.2012.08.018

    Article  Google Scholar 

  • Goerigk M, Liebchen C (2017) An improved algorithm for the periodic timetabling problem. In: D’Angelo G, Dollevoet T (eds) 17th workshop on algorithmic approaches for transportation modelling, optimization, and systems (ATMOS 2017), Schloss Dagstuhl-Leibniz-Zentrum für Informatik, pp 12:1 – 12:14

  • Großmann P (2011) Polynomial Reduction from PESP to SAT. Technical report, Knowledge Representation and Reasoning Group, TU Dresden

  • Großmann P, Hölldobler S, Manthey N, Nachtigall K, Opitz J, Steinke P (2012a) Solving public railway transport networks with SAT. In: Jiang H, Ding W, Ali M, Wu X (eds) 25th international conference on industrial engineering and other applications of applied intelligent systems, lecture notes in computer science, vol 7345. Springer, pp 166–175

  • Großmann P, Weiss R, Opitz J, Nachtigall K (2012b) Automated generation and optimization of public railway and rail freight transport time tables. MTM 7(5):23–26

    Google Scholar 

  • Großmann P, Opitz J, Wei R (2015) On resolving infeasible periodic event networks. In: Proceedings of 13th conference on advanced systems in public transport (CASPT)

  • Ingolotti L, Lova A, Barber F, Tormos P, Salido MA, Abril M (2006) New heuristics to solve the “CSOP” railway timetabling problem. In: Ali M, Dapoigny R (eds) Advances in applied artificial intelligence. Springer, pp 400–409. https://doi.org/10.1007/11779568_44

  • Kroon L, Huisman D, Abbink E, Fioole PJ, Fischetti M, Maróti G, Schrijver A, Steenbeek A, Ybema R (2009) The new Dutch timetable: the OR revolution. Interfaces 39(1):6–17. https://doi.org/10.1287/inte.1080.0409

    Article  Google Scholar 

  • Kümmling M, Großmann P, Nachtigall K, Opitz J, Weiß R (2015) A state-of-the-art realization of cyclic railway timetable computation. Public Transp 7(3):281–293. https://doi.org/10.1007/s12469-015-0108-5

    Article  Google Scholar 

  • Liebchen C (2007) Periodic timetable optimization in public transport. In: Waldmann KH, Stocker UM (eds) Operations research proceedings 2006. Springer, Berlin, pp 29–36

    Chapter  Google Scholar 

  • Liebchen C (2008) The first optimized railway timetable in practice. Transp Sci 42(4):420–435. https://doi.org/10.1287/trsc.1080.0240

    Article  Google Scholar 

  • Liebchen C, Möhring RH (2007) The modeling power of the periodic event scheduling problem: railway timetables—and beyond. In: Geraets F, Kroon L, Schoebel A, Wagner D, Zaroliagis CD (eds) Algorithmic methods for railway optimization. Springer, Berlin, pp 3–40

    Chapter  Google Scholar 

  • Lin LJ (1992) Self-improving reactive agents based on reinforcement learning, planning and teaching. Mach Learn 8:69–97

    Google Scholar 

  • Lin LJ (1993) Reinforcement learning for robots using neural networks. Ph.D thesis, Carnegie-Mellon University, Pittsburgh, PA

  • Manthey N, Steinke P (2012) npSolver—a SAT based solver for optimization problems. Pragmatics of SAT, Lisbon

    Google Scholar 

  • Matos GP, Albino L, Saldanha RL, Morgado EM (2017) Optimising cyclic timetables with a SAT approach. In: Portuguese conference on artificial intelligence. Springer, pp 343—-354

  • Matos GP, Albino L, Saldanha RL, Morgado EM (2018) Solving periodic timetabling problems with SAT and machine learning. In: Proceedings of 14th conference on advanced systems in public transport (CASPT)

  • Matos GP (2018) Optimisation of periodic train timetables. M.sc. thesis, Instituto Superior Técnico. https://fenix.tecnico.ulisboa.pt/departamentos/dei/dissertacao/1409728525632439. Accessed 11 Aug 2020

  • Morgado EM, Martins JP (2020) Siscog - Sistemas Cognitivos, SA, web page. https://www.siscog.pt. Accessed 11 Aug 2020

  • Nachtigall K, Voget S (1996) A genetic algorithm approach to periodic railway synchronization. Comput Oper Res 23(5):453–463

    Article  Google Scholar 

  • Nachtigall K, Voget S (1997) Minimizing waiting times in integrated fixed interval timetables by upgrading railway tracks. Eur J Oper Res 103(3):610–627

    Article  Google Scholar 

  • Peeters LWP (2003) Cyclic railway timetable optimization. Ph.D thesis, Erasmus Universiteit Rotterdam

  • Serafini P, Ukovich W (1989) A mathematical model for periodic event scheduling problems. SIAM J Discret Math 2(4):550–581. https://doi.org/10.1137/0402049

    Article  Google Scholar 

  • Soos M (2016) The CryptoMiniSat 5 set of solvers at SAT competition 2016. In: Balyo T, Heule MJH, Järvisalo M (eds) SAT competition 2016, p 28. https://www.github.com/msoos/cryptominisat. Accessed 11 Aug 2020

  • Staereling I (2015) High-potential heuristics for railway timetabling. In: Proceedings of 13th conference on advanced systems in public transport (CASPT)

  • Watkins CJ, Dayan P (1992) Q-learning. Mach Learn 8:279–292

    Google Scholar 

  • Zhang W, Dietterich TG (1997) Solving combinatorial optimization tasks by reinforcement learning: a general methodology applied to resource-constrained scheduling. Technical report, Oregon State University

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ricardo L. Saldanha.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Matos, G.P., Albino, L.M., Saldanha, R.L. et al. Solving periodic timetabling problems with SAT and machine learning. Public Transp 13, 625–648 (2021). https://doi.org/10.1007/s12469-020-00244-y

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12469-020-00244-y

Keywords

Mathematics Subject Classification

Navigation