A New Method for Inserting Train Paths into a Timetable

David Dekker,Carl Henrik Häll,Anders Peterson,Christiane Schmidt
2024-10-28
Abstract:A seemingly simple, yet widely applicable subroutine in automated train scheduling is the insertion of a new train path to a timetable in a railway network. We believe it to be the first step towards a new train-rerouting framework in case of large disturbances or maintenance works. Other applications include handling ad-hoc requests and modifying train paths upon request from railway undertakings. We propose a fast and scalable path-insertion algorithm based on dynamic programming that is able to output multiple suitable paths. Our algorithm uses macroscopic data and can run on railway networks with any number of tracks. We apply the algorithm on the line from Göteborg Sävenäs to the Norwegian border at Kornsjö. For a time window of seven hours, we obtain eight suitable paths for a freight train within 0.3 seconds after preprocessing.
Data Structures and Algorithms
What problem does this paper attempt to address?
### The problems the paper attempts to solve This paper aims to solve the problem of inserting new train paths in railway network timetables. Specifically, the authors propose a fast and scalable path - insertion algorithm based on dynamic programming, which can output multiple suitable paths. This problem has a wide range of practical applications, such as handling ad - hoc requests, modifying train paths to adapt to changes in weight or locomotives, and rescheduling trains during large - scale disruptions or maintenance work. ### Research background Optimization techniques have been widely used in railway timetable compilation, and one of the most fundamental problems is adding a new train path to an existing timetable. This problem is of great significance for infrastructure managers and can be used to handle ad - hoc requests, adjust train paths, etc. In addition, the authors believe that the algorithm for solving the path - insertion problem can be used as a sub - routine in larger - scale train rescheduling problems. ### Existing methods and their limitations Currently, there are several methods to solve the path - insertion problem, including: - Jiang et al. (2014) explored the mixed - integer programming method. - Flier et al. (2009) and Ljunggren et al. (2021) considered the shortest - path algorithm on time - expanded graphs. - Erlandson et al. (2023) applied the destroy - and - rebuild heuristic algorithm. However, these methods have some limitations in practical applications, such as inconsistent levels of detail, slow speed, and being able to output only one optimal solution. ### The proposed new method The authors propose a new method based on dynamic programming, aiming to minimize travel time and assuming that robustness measures are already included in the head - train constraints. The specific goal is to find all non - dominated paths, that is, there is no other path such that at least one of the inequalities holds strictly when the departure time \(t_1'\geq t_1\) and the arrival time \(t_2'\leq t_2\). ### Method overview 1. **Initialization**: Determine the available time intervals for each station and section to avoid conflicts. 2. **Dynamic programming**: Determine how these idle time intervals can be utilized by train paths through the dynamic programming algorithm. 3. **Path construction**: Scan the table filled by dynamic programming to construct the actual paths. ### Experimental results The authors conducted experiments on an 180 - kilometer - long line of the Swedish railway network, from Säveån in Gothenburg to Kollsjö on the Norwegian border. The algorithm found 8 paths suitable for freight trains within a 7 - hour time window, with an average calculation time of 0.3 seconds (the pre - processing step was not optimized, with an average time consumption of 10.4 seconds). The results show that the algorithm can quickly find multiple non - dominated paths, providing more options for practical applications. ### Conclusions and future work The authors propose a fast and scalable dynamic programming algorithm for inserting new train paths in railway network timetables. The experimental results show that the algorithm performs well when dealing with large - scale railway networks. Future research can be further extended to multi - train scheduling and the handling of microscopic infrastructure details. ### References - Andersson, E.V., Peterson, A., Törnquist Krasemann, J., 2013. *Quantifying railway timetable robustness in critical points*. Journal of Rail Transport Planning & Management 3, 95–110. - Borndörfer, R., Klug, T., Lamorgese, L., Mannino, C., Reuther, M., Schlechte, T., 2018. *Handbook of Optimization in the Railway Industry*. - Erlandson, W., Häll, C.H., Peterson, A., Schmidt, C., 2023. *Meta - heuristic for inserting a robust train path in a non - cyclic