Periodic train timetables define the arrival and departure times of all passenger trains in cyclic terms. They are highly passenger-friendly and are mostly adopted in European operating environments. In other parts of the world, travelers do not enjoy such convenience. To ensure the general accessibility of rail transport services in complex railway networks, long-distance trains are in widespread operation. For example, in China, the train “G337” originates from Beijing and terminates in Zhuhai, covering a distance of 2261 km (according to Google Maps® route planner). It serves the passenger demands between major cities in China, such as Beijing, Shijiazhuang, Zhengzhou, Wuhan, Changsha, and Guangzhou. Such a long-distance train traverses multiple railway lines, each of which serve a relatively dedicated local zone, including our case study example of the Guangzhou–Zhuhai Intercity Rail. For this reason, it is usually called a cross-line (or interline) service. In the current timetabling system setting, cross-line train paths usually have high priority and are planned at a national scale and before the local services are scheduled. In this scenario, service planning with the existing cross-line trains occupying part of the temporal resources of the infrastructure poses challenge for implementing periodic timetabling for scheduling local trains in such a mixed environment. It is the local operator’s responsibility to reasonably coordinate the operations of these cross-line and local services, particularly within the framework of periodic timetables.
1.1. Related Literature
We provide a concise review of the characteristics of the optimization problem, the modeling approaches, and the solution algorithms, with a focus on general research on periodic timetable optimization, the stability of periodic timetables, cycle length, and cross-line operation.
The Periodic Event Scheduling Problem (PESP), introduced by [
3], serves as a fundamental modeling framework for most studies on periodic timetables. Nachtigall employed the Periodic Event Activity Network (PEAN) to model train timetables [
4], where event nodes represent train arrivals and departures, and arcs denote activities such as dwell, travel, or transfer. By fixing dwell and travel times and setting the objective to minimize travel time, their study significantly enhanced the performance of the branch-and-bound algorithm using the Hermite normal form. To ensure that related events occur within the same cycle, the PESP model applies modular variables to map two connected events in the PEAN to periodic intervals [
5]. Building on the Constrained and Differential Algebraic Nonlinear System Solver (CADANS) developed by [
6], a constraint programming system called Designer Of Network Schedules (DONS) was proposed and implemented on the Dutch railway network [
7,
8]. The PESP framework has been extended in multiple directions. Ref. [
9] expanded the PESP model by introducing buffer times as decision variables and leveraged the graph structure of the network to reduce the number of variables. Lindner incorporated operational costs into the objective function, further enriching the PESP framework [
10]. Kroon and Peters extended PESP by allowing variable running times, achieved through the introduction of additional virtual nodes where necessary [
11]. Other studies have focused on optimizing periodic timetables with variable cycle lengths. Several studies have treated cycle length as a decision variable and aimed to minimize its value [
1,
12,
13,
14,
15]. Bortoletto et al. proposed a PESP extension that considers infrastructure constraints [
16], optimizing timetables by fixing cyclic sequences for specific infrastructure elements.
The complexity of the PESP model has been proven to be NP-complete [
17], and two variants of the PESP model have also been shown to exhibit MAXSNP-hardness [
18]. Various solution algorithms have been proposed for addressing the PESP, including constraint generation algorithms [
17], genetic algorithms [
19], branch-and-bound methods [
19,
20], the modulo simplex method [
21,
22,
23], SAT solver applications [
24,
25,
26], and customized iterative algorithms [
1,
14,
15]. Herrigel et al. proposed a heuristic sequential decomposition method, which divides all train lines into multiple priority groups and gradually adds them to the PESP model, thereby fixing the previously planned train schedule to a certain time margin [
27]. Yan et al. presented a multi-objective periodic railway timetabling model formulated as a mixed-integer linear program (MILP) with four objectives—minimizing journey time, regularity deviation, vulnerability, and overtakings—and designed algorithms to generate the Pareto frontier [
28]. Matos et al. proposed a method based on reinforcement learning and multi-agent systems, combined with an SAT solver (for the Boolean Satisfiability Problem) [
29], to optimize the travel time of periodic timetables. Martin-Iradi and Ropke modeled periodic timetables using a time–space graph formalism based on a symmetric timetable strategy and fixed train-running-time assumptions, employing a column generation-based heuristic approach [
30]. Sartor et al. introduced the concept of quasi-periodic timetables, which allow certain train groups to have slightly varying starting times at each cycle, and formulated an MILP model, solved using a hybrid optimization method combining column generation and Benders decomposition [
31]. Bortoletto et al. studied novel connections between periodic timetabling and discrete geometry, representing the feasible periodic timetable space as a disjointed union of polytropes, and leveraged their neighborhood relationships to propose a new heuristic algorithm for PESP [
32]. Furthermore, heuristic algorithms like DOSA-PIO for TSP [
33] and IBM-Dy-SGA [
34] for high-speed rail control systems demonstrate their effectiveness in solving complex optimization problems.
Furthermore, time–space networks have been employed in modeling and optimizing periodic timetable problems. Caprara et al. fixed the cycle length to one day, allowing train schedules to cross day boundaries, thereby enabling precise calculations of the scheduled time differences between events [
35]. Bešinović et al. proposed a path-based integer programming model and solved it using a randomized multi-start greedy heuristic algorithm [
36]. Zhang et al. developed an extended time–space network structure to model periodic timetables as a multi-commodity network flow problem, obtaining high-quality solutions through Lagrangian relaxation and the Alternating Direction Method of Multipliers (ADMM) [
2]. Zhan et al. addressed the train rescheduling problem by considering the simultaneous rescheduling of bidirectional trains based on a space–time network, formulating an integer linear programming (ILP) model to minimize train deviation costs, and solving it using ADMM [
37]. Yao et al. developed a periodic time–space network for integrated train-stop planning and passenger routing in periodic timetabling, formulating a multi-commodity network flow model and solving it with an ADMM-based algorithm [
38].
Robust and stable periodic timetables, which improve delay resilience, are a key focus of research in periodic timetabling. Fischetti et al. compared four different approaches [
39], including the lightweight robustness method proposed by [
40], aimed at improving timetable robustness. Cacchiani and Toth proposed a Lagrangian optimization-based method capable of generating a Pareto set of solutions with varying robustness weights [
41]. Liebchen et al. introduced the concept of recoverable robustness, focusing on disruption scenarios and their recovery strategies, which involve not only shortening buffer times but also severing connections if necessary [
42]. Yan and Goverde studied the robustness optimization of periodic timetables for multiple train lines operating at different frequencies [
43]. Grafe and Schöbel formulated the recoverable robust periodic timetable problem and proposed three equivalent mixed-integer programming formulations, providing detailed analyses of their properties [
44].
Several studies have focused on cycle time, which is a critical component in the design of periodic timetables. Goverde evaluated the feasibility and stability of timetables through max-plus analysis and introduced the concept of the minimum cycle time, representing the shortest time required to maintain a periodic timetable [
45]. Heydar et al. [
12] developed a mixed-integer programming model to minimize cycle time for a single-track, single-direction railway (with passing loops), considering a fixed number of express and regular trains and allowing variable dwell times at intermediate stations, building on [
46]. Sparing and Goverde aimed to maximize the stability of periodic timetables and transformed the nonlinear constraints caused by variable cycle time into linear constraints [
1,
15]. Zhang and Nie constructed non-conflict constraints and a series of flexible overtaking constraints based on the original binary variables in the PESP model, targeting the minimization of cycle time and proposing an iterative approximation method [
14]. For flexible overtaking, they both introduced constraints allowing at most one overtaking per dwell activity in the optimization models. Yan et al. [
28] conducted an in-depth analysis and modeling of scenarios involving multiple overtakes, building upon the overtaking constraints in [
14]. Zheng et al. [
47] proposed a multi-cycle train timetable optimization model that comprehensively considered variables such as train spatio-temporal paths, cycle time, and operating lines to improve passenger satisfaction and optimize energy consumption, and designed a hybrid heuristic Lagrangian decomposition algorithm.
Cross-line trains are also known as through trains in railway systems, and their technical requirements, such as infrastructure, signaling, communications, power supply, vehicle design, station configuration, and track layout, were analyzed in [
48,
49,
50,
51]. Yang et al. formulated an allocation model and described the necessary conditions to successfully deploy cross-line operation [
52]. Yang et al. proposed a mixed-integer nonlinear programming (MINLP) model to systematically analyze the benefits of cross-line express trains in reducing passenger travel time and operational costs, and developed a genetic algorithm (GA) to solve the model [
53]. Wang et al. addressed the integrated optimization of cross-line train operations and timetables for non-periodic schedules, constructing a mixed-integer programming model aiming to minimize deviations from ideal schedules for main-line trains while maximizing direct service frequency for cross-line passengers, based on event-activity network modeling and a genetic algorithm [
54].
A summary of the related prior research is presented in
Table 1.
There exists convincing research on cycle-time minimization in periodic train timetabling that also works to maintain the operating efficiency of the system. In these studies, the main focus is on coordinating the speed levels, rather than addressing prioritization differences across train classes. As a result, between the state-of-the-art research and real practices is a gap that limits the implementation of periodic timetabling in local search planning due to the prespecified operation times of prioritized cross-line trains. We note the distinction between the scheduling of mixed-speed trains and the coordination of cross-line and local services. The former is just the problem of applying different running or dwell times, which is present in the methodological structure of periodic timetabling. The latter involves the treatment of prefixed arrival and departure times at stations. One can either stick to these times in scheduling the local trains, or deviate from them. As noted earlier, research on periodic timetable optimization models with the objective of minimizing cycle time is relatively limited. Studies such as those by [
1,
12,
15] have explored this objective. However, there has been no comprehensive consideration of both minimizing cycle time and cross-line operations. In this paper, we apply them as a set of constraints and we argue that this returns a better timetable. Adopting the practice of minimizing the cycle length for allowing maximum buffer time insertion, the optimal (and compressed) timetable should also allow the cross-line trains to retain their original arrival and departure times. An introduction to these two approaches is given in
Section 2.