Methods and Technologies for NextGeneration Public Transport Planning and Operations
View this Special IssueResearch Article  Open Access
Yongxiang Zhang, Qingwei Zhong, Yong Yin, Xu Yan, Qiyuan Peng, "A Fast Approach for Reoptimization of Railway Train Platforming in Case of Train Delays", Journal of Advanced Transportation, vol. 2020, Article ID 5609524, 20 pages, 2020. https://doi.org/10.1155/2020/5609524
A Fast Approach for Reoptimization of Railway Train Platforming in Case of Train Delays
Abstract
Train platforming is critical for ensuring the safety and efficiency of train operations within the stations, especially when unexpected train delays occur. This paper studies the problem of reoptimization of train platforming in case of train delays, where the train station is modeled using the discretization of the platform track timespace resources. To solve the reoptimization problem, we propose a mixed integer linear programming (MILP) model, which minimizes the weighted sum of total train delays and the platform track assignment costs, subject to constraints defined by operational requirements. Moreover, we design an efficient heuristic algorithm to solve the MILP model such that it can speed up the reoptimization process with good solution precision. Furthermore, a realworld case is taken as an example to show the efficiency and effectiveness of the proposed model and algorithm. The computational results show that the MILP model established in this paper can describe the reoptimization of train platforming accurately, and it can be solved quickly by the proposed heuristic algorithm. In addition, the model and algorithm developed in this paper can provide an effective computeraided decisionmaking tool for the train dispatchers in case of train delays.
1. Introduction
Railroad transportation plays an important role in providing economic and environmentfriendly transport services for passengers and goods. In particular, transport demand of railroad transportation is increasing rapidly in some parts of regional markets. For instance, according to the statistical data of the National Bureau of Statistics of China, the volume of passenger and freight traffic of China railway in 2018 has increased by 9.44% and 9.15%, compared with the volume in 2017 [1]. Thus, more and more trains are required to be operated on the railway network with limited infrastructure capacity to satisfy the large demand. Therefore, the railway operators need to adopt advanced and reliable computeraided decision systems to improve train operation efficiency. Moreover, the railway planning process includes the network design and line planning at the strategic level, the train timetabling, train platforming, rolling stock scheduling and crew scheduling at the tactical level, and the realtime traffic management at the operational level [2]. As a result, the core of the computeraided decision systems is to develop effective optimization techniques for the different railway planning and operation stages. We refer the readers to Assad [3], Cordeau [4], and Lusby et al. [2] for excellent surveys on the related optimization methods. In general, train timetabling stage can determine the arrival and departure times of the trains at each of the visiting stations from an aggregate perspective [5–8]. Train operations at the stations, including the train routing on the arrival and departure routes and the train platform assignment decisions, are usually optimized by solving the train platforming problem [8]. Apart from the boarding and alighting of passengers as well as the loading and unloading of goods at the station platforms, many other complicated operation tasks can be performed at the stations, such as the train turnaround movement and the shunting work. Thus, it is of critical importance to develop efficient and effective optimization techniques to improve the train operation efficiency at the stations without causing any conflicts.
Due to the complex layout of large railway stations and the associated dense train traffic, it is usually a challenging task for the train dispatchers to make a highquality train operation plan within a station in a short period. Kroon et al. [9] have already proven that the train platforming problem is an NPcomplete combinational optimization problem. As a result, many researchers have developed sophisticated and efficient models and algorithms to deal with the train platforming problem, such as the node packing model and the branchandcut algorithm in Zwaneveld et al. [10, 11] and the set packing model and the branchandprice algorithm in Lusby et al. [12, 13]. In practice, however, trains may suffer from all kinds of disturbances and disruptions, such as bad weather, equipment failure, and management factors [14]. When train delays occur, the scheduled train timetable needs to be rescheduled in real time, and thus the train operations within the stations need to be reoptimized quickly to prevent any potential conflicts [15–18]. However, with regard to the train platforming problem, two managerial aspects lack indepth study. First, most of the researchers study the train platforming problem without considering train delays, and thus they do not consider the situation where it could be impossible to make a feasible train operation plan at the stations with the given train timetable. Second, in order to generate a disposition timetable during the train rescheduling process as soon as possible, the detailed train operations at the stations are neglected, and the aggregate station capacity is adopted instead [17, 18].
In this study, we aim to bridge the research gaps lying in the train platforming and train rescheduling problems. More specifically, we reoptimize the train platforming problem in case of train delays and generate a new train operation plan within the station in real time. Our solution is to develop a mixed integer linear programming (MILP) model, where the train station is modeled using the discretized platform track timespace resources, and to propose an efficient heuristic algorithm. The goal of the proposed model and algorithm is to simultaneously minimize the deviation from the train timetable and the total train operating costs, realizing the coherence between train operations and the station management. The theoretical and practical contributions of this study mainly include the following four aspects:(1)The train arrival and departure times and the train platform assignment are optimized simultaneously so that the negative influence of train delays can be minimized.(2)The novel modeling method based on the discretized platform track timespace resources can describe the train conflicts accurately, where the complex binary train sequencing variables in the bigM modeling framework can be avoided.(3)An efficient heuristic algorithm is designed to quickly obtain the nearoptimal solutions for the realtime reoptimization of train platforming.(4)A set of reallife experiments is performed to show the efficiency and effectiveness of the proposed model and algorithm.
The rest of this paper is structured as follows. Section 2 provides a comprehensive literature review on the optimization and reoptimization of train platforming problems. The method on how to describe the discretized platform track timespace resources is introduced in Section 3. In Section 4, we propose a new MILP model based on the discretized platform track timespace resources, as well as some valid equalities to strengthen the resulting MILP model. Section 5 presents the detailed algorithmic steps of a heuristic algorithm, i.e., the genetic and simulated annealing hybrid algorithm, for solving the reoptimization problem in a realtime manner. The efficiency and effectiveness of the proposed methods are verified through a set of reallife experiments in Section 6. Section 7 gives the concluding remarks and possible further research directions.
2. Literature Review
Train platforming problem is a key optimization stage in the railway hierarchical planning process, and it has attracted the attention of many researchers around the world [2]. Given the information of train arrival and departure times and the train running directions obtained at the train timetabling stage, the train dispatchers need to decide how to schedule the trains at the stations to avoid the train delays caused by the cross interference between train operations. The complexity of the train platforming problem grows quickly as the number of trains increases and the station layout becomes more and more complicated. Therefore, a lot of excellent works have been done regarding the train platforming problem, such as Carey [19], Zwaneveld et al. [10], Lusby et al. [12], Chakroborty and Vikram [20], Caprara et al. [21], and Kang et al. [22]. We next review these works mainly from two aspects, i.e., the train platforming problem at the tactical level and the train platforming problem considering the negative impact of train delays.
The studies on the train platforming problem at the tactical level were initially focused on scheduling the train movements at the stations efficiently and economically with the fixed or slightly relaxed train arrival and departure times. Zwaneveld et al. [10] developed the first node packing model for the train platforming problem, and the station routes were classified as the inbound route, outbound route, and complete. In addition, small deviations from the planned train arrival and departure times were considered to increase the possibility of finding a feasible solution, and an improved branchandcut algorithm was designed to find the optimal solutions with the goal of maximizing the number of trains routed through the station. Kroon et al. [9] proved that the node packing model in Zwaneveld et al. [10] was NPcomplete once each train had more than three routing possibilities. Based on the work in Zwaneveld et al. [10], Zwaneveld et al. [11] further proposed a weighted node packing model for the train platforming problem, where several hierarchical objectives can be considered with the unified weighted sum form. However, the node packing model has its own deficiencies to be put into practice. For instance, all of the conflicting train movements need to be identified in advance in the node packing model, and it usually results in a largescale optimization model. As a result, Lusby et al. [12] built a set packing model of the train platforming problem, and a branchandprice algorithm was designed such that the feasible train routes can be dynamically generated. Besides, the train platforming problem can be also reformulated as a graph colouring problem, where the number of colours is determined by the available tracks in the stations [23]. An integer programming model that was equivalent to graph colouring problem in Cardillo and Mione [23] was developed by Billionnet [24]. Caprara et al. [21] also allowed a slight relaxation on the ideal arrival and departure times of the trains at the platforms, and they presented a 01 quadratic programming model to solve the train platforming problem. In particular, the quadratic term in the objective function was designed to consider the soft incompatibility costs between train paths. Sels et al. [25] developed a new MILP model to schedule the trains in the current and future train set, and penalty costs were considered in the objective when a train was cancelled or assigned to a different platform.
Apart from the exact solution methods, some researchers also developed heuristic algorithms for the train platforming problem [26–29]. Carey and Carville [26] introduced a sequential construction heuristic algorithm for the train platforming problem at a single station, which was designed according to the train dispatchers’ manual methods. In addition, trains can be delayed in the planning process to generate a feasible solution, and the assignment of trains to the undesired platforms was penalized. Carey and Crawford [27] further extended the work in Carey and Carville [26] by considering the train scheduling and platforming problems at multiple stations, where those stations were connected by several oneway lines. Similarly, trains can be also delayed when they were scheduled from one station to the corresponding next station. Kang et al. [28] proposed a simulated annealing heuristic algorithm with the goal of achieving the balanced occupation of station turnouts while minimizing the total occupation times of the station turnouts. Wu et al. [29] developed a meanvariance optimization model for the train platforming problem based on Markowitz’s portfolio theory, which was aimed to minimize the total occupation time costs of groups of turnouts. Moreover, an efficient simulated annealing heuristic algorithm was designed to solve the resulting mixed integer nonlinear programming (MINLP) model.
Some researchers also tried to integrate the two stages of train timetabling and train platforming problems to further increase the railway network capacity utilization. Carey [19] proposed an integrated optimization model to simultaneously optimize the lines, platforms, and routes of the trains in a railway network, and an improved sequential searching method was adopted to solve the resulting model. In addition, the arrival and departure headways between two trains were enforced to guarantee the train running safety. Dorfman and Medanic [30] proposed a discrete event model to schedule the trains in the railway network, where the train routes were assumed to be fixed for simplicity. D’ariano et al. [31] formulated the train scheduling problem through the alternative graph modeling approach, and an efficient branchandbound algorithm was designed to solve the MILP model. Rodriguez [32] proposed a combined constraint programming and simulation method for scheduling trains in the junctions, where the constraint programming model representing the signalling system behaviour and the simulation model can reflect the train and driver behaviour. More recently, D’Ariano et al. [33] and Zhang et al. [8] studied the integrated train timetabling and maintenance task scheduling problems at the microscopic level, and efficient heuristic algorithms based on the commercial solvers were developed accordingly.
Some works were also performed on the optimization of a delay resistant train platforming plan and the realtime reoptimization of train platforming problem in case of unexpected train delays. Herrman [34] studied the stable train routing problem, where the goal was to keep the train schedule to be conflictfree as much as possible in case of perturbations. In addition, a local search heuristic approach was designed to solve the train schedule stabilization problem. Bešinović and Goverde [35] proposed a maxplus automata model for the station capacity assessment and a delay propagation model for the robustness evaluation of the train platforming plan. Based on these two models, the objectives of minimization of capacity occupation and maximization of robustness were then achieved with a heuristic approach. Kang et al. [22] introduced the concept of stochastic schedule with uncertain train arrival and departure times, and a simulated annealing algorithm was developed to solve the corresponding train platforming problem. D’Ariano et al. [36] designed a rolling horizon approach for the realtime train rescheduling problem, and the alternative graph formulation was adopted for solving the smaller subproblem in each rolling period. Chakroborty and Vikram [20] developed a MILP model for optimally allocating trains to the platform tracks, where the accurate train arrival times can only be available shortly before the train arrives at the station such that trains could be reassigned to different platforms. Besides, the headway between two trains was also considered while delaying the train arrival and departure times. Lusby et al. [13] proposed a set packing model for rescheduling the trains in the junctions in case of disruptions. In particular, a branchandprice algorithm was introduced to solve the set packing model, and the objective was to minimize the weighted deviations from the trains’ scheduled arrival times. Liu et al. [37] developed a MINLP model to reallocate the tracks of trains at the stations in a realtime manner, where the goal was to minimize average use time of groups of turnouts without changing the planned train times. Moreover, a genetic simulated annealing algorithm was also designed to solve the MINLP model efficiently.
Table 1 summarizes the modeling approaches, objectives, solution methods, and other characteristics of relevant publications on the optimization and reoptimization of train platforming problems, and major highlights can be drawn from Table 1. First, most of the studies focus on the train platforming problem at the tactical level, and the scheduled train arrival and departure times at the stations are usually assumed to be fixed. Therefore, the optimization objectives of those studies are generally minimizing the total costs or maximizing the total benefits. Second, exact algorithms account for the majority of the solution methods to solve the optimization or reoptimization of the train platforming problems. Therefore, efficient and flexible heuristic algorithms are required, especially for the realtime reoptimization of the train platforming problem. Third, among the studies that consider the negative influence of train delays, only one research by Chakroborty and Vikram [20] simultaneously incorporates the factors of train delay, reassignment of platform, and deviations from scheduled train arrival and departure times. However, they adopt a commercial solver to deal with the MILP model. In this study, we develop a new MILP model for the reoptimization of the train platforming problem based on the discretized timespace resources, and we also design an efficient heuristic algorithm to guarantee the achievement of realtime reoptimization.
 
Note. BILP represents 01 integer linear programming; GC represents graph colouring; MILP represents mixed integer linear programming; CP represents constraint programming; BQP represents 01 quadratic programming; “—” represents no specific information is available. 
3. Analysis of Platform Track TimeSpace Resources
Let be the planning horizon; we handle the time resources as small time units of length . The number of time units is equal to in the entire planning horizon. In addition, the number of platform tracks in a station is denoted by , i.e., the maximum spatial capacity. Hence, the platform track timespace resources of a station can be represented by a twodimensional matrix :where and are the indexes of the platform track and the time unit, respectively, and a binary variable in matrix denotes the occupation and vacancy state of the platform track timespace resource , where
Figure 1 provides an illustrative example of the modeling method of platform track timespace resources. Suppose that 5 trains successively arrive at or depart from station N which has 6 platform tracks within the planning horizon of 60 min. The detailed schedules of train operations in both directions are given in Figures 1(b) and 1(c), and the time unit is set to 5 min. Platform track timespace resources and the corresponding matrix of a feasible usage plan are described in Figures 2(a) and 2(b), respectively. The application requirements of the timespace resources modeling method for the reoptimization of train platforming problem can be formulated as follows:(1)Inseparability. A train must occupy only one platform track and cannot occupy more than one platform track simultaneously.(2)Exclusivity. One platform track can only store one train at any time unit to prevent the train conflicts.(3)Continuity. A train operation on one platform track with the duration equal to time units cannot be interrupted. If one train starts to use track at time , it continues to occupy the platform track i until , i.e., .
(a)
(b)
(c)
(a)
(b)
4. Mathematical Modeling for Reoptimization of Train Platforming
4.1. Modeling Assumptions
Without loss of generality, we make the following key modeling assumptions to facilitate the modeling process.(1)When it is impossible to eliminate the conflicts through reassignment of platforms, the train arrival and departure times can only be delayed to resolve the conflicts.(2)One minute is applied to discretize the platform track timespace resources, and smaller time units can be adopted if necessary.(3)Trains are modeled as single objects moving in the railway station, and thus the influence of train lengths on the clearing times of the platform tracks is not considered.(4)By enforcing the arrival and departure headways between two trains running in the same direction as well the safety time interval for platform track operation, it can be guaranteed that there are no conflicts between any two trains.(5)All trains will pass through the railway station, and turnaround movements of the trains are not considered for simplicity.
4.2. Definitions of Sets, Parameters, and Variables
Sets, parameters, and variables of this study are defined in Table 2. In particular, we assume that all parameter values related to time are multiples of the time unit .

4.3. Objective Function
The objective function in equation (3) contains the weighted sum of two parts of costs. The first part is the sum of train arrival and departure delays, considering the train priority and the weighting factor . The second part is the total platform track assignment costs. In particular, the more that train is preferred for platform track , the smaller is the corresponding platform track assignment cost . Note that value of can be determined according to several influence factors, including the initial platform track assignment plan, the convenience of passenger boarding and alighting, and other special requirements for train operations. Therefore, the smaller the value of is, the more the train prefers the platform track .
4.4. Constraints
4.4.1. Relation between Platform Track State Variables
According to definitions of platform track state variables , , and , constraint (4) expresses the relationship among those three platform track state variables. In particular, when both the variables and are equal to 0, it can be known that train is occupying the platform track at time , i.e., . Figure 3 shows an illustrative example on how to calculate the value of according to the values of the variables and . More specifically, train arrives at the platform track 5 in Figure 1 at time 5 and it leaves from the corresponding platform track at time 20. Therefore, Figures 3(a) and 3(b) present the values of the variables and for train according to its actual arrival and departure times. In addition, according to constraint (4), the values of in Figure 3(c) can be easily obtained.
(a)
(b)
(c)
4.4.2. Actual Train Arrival and Departure Times
Constraints (5) and (6) show that values of actual arrival time and actual departure time of train can be inferred from the values of platform track utilization state variable and the platform track clearance state variable .
4.4.3. Platform Track Assignment Constraint
Constraint (7) requires that each train can only be assigned to one platform track, and the corresponding platform track has to be in the set . Furthermore, constraint (8) enforces that a train cannot be assigned to forbidden platform tracks, i.e., tracks that are not in the set . Constraints (7)(8) provide a flexible method to restrict the platform track choices of the trains.
4.4.4. Platform Track Capacity Constraint
Constraint (9) ensures that any platform track can only be occupied by at most one train at any time , such that no conflicts can occur between any two trains that are assigned to the same platform track.
4.4.5. Continuous Train Operation on the Platform Track
Constraints (10)–(12) guarantee that train operations on the platform tracks should be performed continuously, by enforcing the relationship between the values of variables and . For instance, if in constraint (10), which implies that train is assigned to the platform track , constraint (10) changes to . According to the definition of in Section 4.2, the condition is obviously satisfied. On the other hand, if in constraint (10), constraint (10) is no longer valid. Similarly, constraints (11) and (12) define the relationships between and as well as between and .
4.4.6. Safety Headway between Two Trains
Constraints (13)–(18) impose the required safety headway between two arrival or departure trains running in the same direction, and the train sequencing variables and as well as the platform track choice variables and are also embedded in those constraints. Constraint (13) enforces the safety headway between two arrival trains in the same direction, and it is valid only if , i.e., train arrives at the station before train . When in constraint (13), it can be shown that the safety headway between trains and depends on the value of the variable . More specifically, if , trains and are assigned to the same platform track, and they are separated by the safety time interval . Otherwise, trains and are assigned to two different platform tracks, and they are separated by the arrival headway . Meanwhile, constraint (14) guarantees the safety headway between two departure trains in the same direction. Constraint (15) ensures that if both the variables and are equal to 1, the value of the variable can be enforced to be 1. Furthermore, constraint (16) describes that the values of the two variables and for two different trains and are equal. Besides, constraints (17) and (18) guarantee that only one of the train sequencing variables and or and between any two different trains is equal to 1.
4.4.7. Minimum Train Dwell Time Constraint
Constraint (19) enforces the minimum dwell time for each train . In particular, the righthand side of constraint (19) can only be valid when , i.e., train is assigned to the platform track . Note that the safety time interval for platform track operation is also included in the righthand side of the constraints so that the required safety time interval for trains assigned to the same platform track is imposed. In addition, the minimum dwell time of a train is a deterministic value.
4.4.8. Actual Train Arrival Time and Departure Time Constraint
Constraints (20)–(22) specify that the actual arrival and departure times of the trains should be no less than the corresponding planned arrival and departure times, respectively. Note that safety time interval is introduced into the righthand sides of constraints (21)(22), such that the safety time interval for platform track operation is implicitly satisfied between the departure time of train and the arrival time of any other trains that are assigned to the same platform track.
4.4.9. Domain of Variables
Constraints (23)–(25) define the domain of variables. Note that the variables , , and are intermediate variables to facilitate the model building process, and their values can be directly inferred from the variables and .
In short, formulations (3)–(25) constitute the complete MILP model for the reoptimization of train platforming problem. Due to the complicated filter conditions for the ranges of constrains (13)–(18), we simply approximate the number of constraints (13)–(18) without considering those filter conditions. As a result, the upper bound on the number of constraints of the MILP model is equal to , which increases polynomial as the number of trains , the number of platform tracks , and the length of planning horizon increase. Similarly, the upper bound on the number of variables is equal to .
4.5. Valid Inequalities
Valid equalities are additional constraints that have been implicitly satisfied according to other necessary model constraints (4)–(25). However, they can be applied to strengthen the model formulation [17, 38]. Constraints (26)–(29) define the four valid inequalities that are related to the variables , , , and . Note that the valid inequalities are only implemented in a commercial solver to speed up the solving process of the commercial solver.
The principles of building valid inequalities (26)–(29) are similar. For instance, in valid inequality (26), if train occupies platform track , then valid inequality (26) is equivalent to which turns out to be ineffective. However, if train does not occupy the platform track , then valid inequality (26) is equivalent to which implies . Valid inequality (29) considers when the station capacity is not sufficient and two conflicting trains need to be assigned to the same platform track, then one of the two trains with lower priority can be delayed at most by , which means can be constrained to 0 when or . Overall, a total of additional constraints are added into the model after introducing the valid inequalities (26)–(29).
5. Genetic and Simulated Annealing Hybrid Algorithm
In order to recover the train operations as soon as possible in case of train delays, a genetic and simulated annealing hybrid algorithm (GSAHA) is designed to solve the reoptimization model efficiently and effectively [37, 39, 40]. In particular, the simulated annealing algorithm (SA) has good ability in jumping out of local optimal solutions, and its convergence performance is robust against the generated initial solutions. However, the convergence speed of SA is generally slow. On the other hand, the genetic algorithm (GA) is a parallel search algorithm that usually converges very fast, while GA is more likely to be trapped into local optimal solutions and it is not robust against the generated initial solutions. As a result, the GSAHA algorithm combines the advantages of GA and SA. Therefore, GSAHA is robust on the convergence performance while avoiding being trapped into the local optimal solutions [37, 40, 41]. Figure 4 demonstrates the solution framework of the GSAHA algorithm, including the section names corresponding to some key algorithmic steps. The implementation details for the components of GSAHA are illustrated as follows.
5.1. Chromosome Representation
Figure 5 shows the onedimensional realvalue encoding method that is used to represent chromosomes. Each chromosome denotes a platform track assignment plan. In particular, if the value of the gene is equal to , the train is assigned to platform track with its scheduled arrival and departure times. Furthermore, the length of each chromosome is equal to the number of trains , and the genes of a chromosome are numbered in descending order according to the scheduled arrival times of trains. Moreover, the value range of each gene is located within the range , and thus there could be possible chromosomes in total.
5.2. Generating Initial Population
Considering diversity and rationality of individuals in the initial population, the following strategies are proposed to generate the initial population. Step 1. Denote platform tracks whose numbers are smaller than the number of platform tracks as the set . Step 2. Select [] trains that have not been selected yet and assign those trains to one of the unassigned platform tracks in set . Step 3. Repeat Step 1 until all platform tracks in set are assigned and assign the remaining [] trains to the last platform track numbered as . Step 4. Repeat Step 2 and Step 3 until all individuals in the initial population are generated.
5.3. Obtaining Feasible Solutions
The chromosome designed in Section 5.1 only assigns trains to the platform tracks, i.e., to determine the platform track spatial resources that each train occupies. However, it is still possible that two trains may conflict with each other on the occupation of platform track temporal resources due to the violation of safety headway requirements, including the safety time interval between two trains assigned to the same platform track , headway between two arrival trains running in the same direction , and headway between two departure trains running in the same direction . Hence, a heuristic rule is designed to resolve the temporal conflicts according to the constraints defined in Section 4.5.

5.4. Fitness Function
The fitness function in equation (30) is designed to evaluate each individual such that the algorithm can achieve a better convergence performance.where represents the temperature at the generation, represents the objective value of the chromosome, represents the minimal objective value at the generation, and represents fitness value of the chromosome when the temperature is . Fitness function in equation (30) is an important feature of the SA algorithm, and it has a good capacity to accelerate the convergence of the algorithm.
5.5. Temperature Decline Function
After determining the initial temperature , the temperature decline function in equation (31) is used to lower the temperature at each iteration.where represents the temperature at the generation and the constant represents the temperature decline rate.
5.6. Genetic Operators
5.6.1. Neighborhood Search
Neighborhood search operator is applied to every chromosome. For instance, neighborhood search operator modifies the value of one gene in chromosome randomly to generate a new chromosome , and the objective value of chromosome is recalculated. Chromosome is accepted or rejected to replace chromosome according to the probability in the following equation:
If is greater than the random number generated within the range [0, 1), then chromosome is replaced by chromosome . Neighborhood search operator is an important feature of the SA algorithm and it can enlarge the search space with the probability of resulting in better solutions. Moreover, neighborhood search operator is one of the main operators that can increase population diversity when the algorithm is trapped into local optimal solutions.
5.6.2. Selection
The roulette method is adopted to select parents according to the cumulative probability, as shown in the following equation:where represents the number of individuals in the population. A random number is generated within [0, 1); if , then chromosome is chosen as a parent. The elitism strategy is used to reduce randomness of the algorithm. Additionally, individuals are restricted to be consecutively chosen as parents to avoid the situation when the algorithm is trapped into a local optimal solution too early.
5.6.3. Crossover
Two individuals are chosen as parents each time and a random number is generated within the range [0, 1). If is greater than or equal to the given crossover rate , the crossover operator is not used and the two parents are reserved as children directly. Otherwise, the 2opt crossover operator is performed. Figure 6 shows an example of the crossover operator where both the number of trains (i.e., ) and the number of platform tracks (i.e., ) are equal to 6.
5.6.4. Mutation
For each gene of a chromosome, a random number is generated within the range [0, 1). If is smaller than the given mutation rate , then the mutation operator is applied, i.e., a different platform track is randomly assigned to the gene.
6. Numerical Experiments
The proposed model is applied to a railway passenger station as shown in Figure 7, with five platform tracks (I, 3, 5, 7, 9, 11) in the downstream direction and four platform tracks (II, 4, 6, 8, 10) in the upstream direction. The time unit is set to 1 min, which is practical for ensuring safe train operations at the stations [22, 25, 37]. Moreover, there are 70 downstream and upstream trains, which need to conduct the necessary operations from 16:00 to 22:00. The initial scheduled arrival and departure times of the 70 trains are available at a repository on the ResearchGate website (DOI: 10.13140/RG.2.2.18253.79849), and trains are assigned with priority values ranging from 1 to 3. The initial platform track assignment plan is listed in Table 3, and the corresponding initially scheduled train operation plan is illustrated in Figure 8. Additionally, the platform track assignment costs for the downstream and upstream trains are given in Tables 4 and 5, respectively. In particular, there is a penalty of 10,000 for trains that use the platform tracks in the opposite direction.



The train delay information is available at the time of 18:38, and it is known that 6 downstream trains and 4 upstream trains are delayed, and the estimated arrival and departure times of those delayed trains are provided in Table 6. Moreover, the 10 delayed trains in both directions are marked with the blue colour in Figure 8. Table 7 provides the parameter values used in the model. The maximum value of dwell times of all trains equals 43 min, and the length of the planning horizon equals 360 min. The safety time interval on the platform track equals 6 min, and the headway between two arrival trains and the headway between two departure trains in the same direction are both set to 5 min. The weighting factor in the objective function is set to 200, which is determined after discussing with the train dispatchers, and the value of can be adjusted flexibly according to the preferences of the train dispatchers. Note that the value of can be flexibly adjusted by the train dispatchers according to their experiences. In addition, we believe that keeping trains on time with guaranteed train service quality is more important than assigning the trains to their preferred platform tracks, and thus the penalty parameters on train delays are relatively larger than the platform track occupancy costs. Moreover, when the values of input parameters are known, the initial values of the decision variables should be set in advance before running the GSAHA algorithm or commercial solvers. More specifically, is set to 1 and is to 0 for all trains and platform tracks , such that no trains have arrived at or left the platform track at the beginning of the planning horizon. Furthermore, the variables , , and are set to their initial values before the train delay occurs, i.e., , , and for all trains and platform tracks with the condition of .


Based on the initial scheduled arrival and departure times as well as the input data and parameters of 70 trains in Tables 3–7, a total of 21 scenarios are generated with the number of trains ranging from 10 to 70, and 3 scenarios are generated for each fixed number of trains. For instance, three scenarios (10, 2, 0), (10, 2, 1), and (10, 2, 2) are generated when the number of trains is equal to 10. Specifically, the first number “10” in the triple (10, 2, 0) denotes the number of trains, the second number “2” in the triple (10, 2, 0) represents the number of delayed trains. Besides, the third number in a triple can take the values of 0, 1, and 2 corresponding to the three scenarios, so that the estimated arrival and departure times for delayed trains in Table 6 are randomly increased with values in the ranges of (0, 0), (−1, 1), and (−2, 2), respectively.
The MILP models for the 21 scenarios in Section 4 are solved by the commercial solver CPLEX 12.7.0 with (i.e., CPLEXWV) and without (i.e., CPLEXWOV) including the valid inequalities in Section 4.5. Furthermore, the maximum computation times of CPLEXWV and CPLEXWOV are both set to 3600 s. The GSAHA is implemented in C++ programming language. Moreover, the algorithmic parameters for GSAHA are set as follows. The number of individuals in the population is 50, the maximum number of generations is 300, the crossover rate is 0.98, the mutation rate is 0.1, the initial temperature is 80,000°C, the temperature decline rate is 0.9, and the temperature is increased to = 40,000°C if the objective value of the best individual in the current generation remains unchanged for = 5 iterations and = 3 times of neighborhood search operations are performed each time. In addition, all of the models and algorithms are tested on a computer with Intel (R) Core (TM) i75600U 2.6 GHZ CPU and 12G RAM. Tables 8 and 9 list the detailed computation results of CPLEXWOV, CPLEXWV, and GSAHA for the 21 scenarios. More specifically, the columns “Obj 1 value (min)” and “Obj 2 value” in Table 8 represent the two components of objective values, i.e., the sum of train arrival and departure delays and total platform track assignment costs, respectively. In Table 9, the column “Obj value” denotes the overall objective values, the column “CPU time (s)” represents the computation times in sections, and the column “GAP with CPLEXWV (%)” indicates the relative gap between the objective values of GSAHA and CPLEXWV.


Three points can be drawn from the computation results in Tables 8 and 9. First, the computation times of CPLEXWOV, CPLEXWV, and GSAHA increase gradually as the number of trains increases, and the maximum computation times of those three solution methods are equal to 3600 s, 679.48 s, and 28.96 s, respectively. In particular, even if CPLEX is sped up with the valid inequalities, the computation times of GSAHA are still much fewer than that of CPLEX. Therefore, it can be shown that our proposed GSAHA can solve the reoptimization problem more efficiently in a realtime manner. Second, the objective values of GSAHA are close to those of CPLEXWV with the maximum gap value equal to 5.66%. Third, after comparing the computation times of CPLEXWOV and CPLEXWV, it can be seen the valid inequalities in Section 4.5 can significantly speed up the solving process of CPLEX. More specifically, CPLEXWOV cannot obtain optimal solutions for the instances with the number of trains larger than or equal to 60 trains within 3600 s, which results in large objective values. In order to illustrate the feasibility of our proposed MILP model, the optimization solution of the scenario (70, 10, 0) using CPLEXWV is illustrated in detail. Table 10 shows that the arrival and departure times of 11 trains are delayed after the reoptimization, and the new platform track assignment plan is provided in Table 11. Besides, the platform track utilization scheme is illustrated in Figure 9, and it can be seen from Figure 9 that all safety headway requirements are satisfied. Note that the 14 trains in Table 11 with bold fonts represent that those trains have been reassigned to different platform tracks, and those 14 trains are marked with the red colour in Figure 9. Besides, the convergence process of GSAHA is shown in Figure 10, where the algorithm can reach the nearoptimal solution only after 70 iterations.


Meanwhile, for the scenario (70, 10, 0) in Tables 8 and 9, sensitivity analysis of different values of weighting factor is performed by increasing the value of from 0 to 10 with the step size equal to 1 for small values of and from 40 to 440 with the step size equal to 40 for relatively larger values of . Moreover, one special case is designed by setting and removing the second part of the objective function, which is aimed to simulate the case that takes an infinity value. The optimization results of CPLEXWV and GSAHA are listed in Table 12, and the parameter settings for the GSAHA remain unchanged. In addition, we take the objective value of GSAHA for the average optimization results of 20 runs. It can be shown that the objective values of CPLEXWV and GSAHA increase as the value of increases, and the solution times of CPLEXWV range from 256.36 to 3600 seconds while the solution times of GSAHA only range from 27.08 to 32.92 seconds. The last column in Table 12 shows that the objective values of GSAHA are −18.74%–5.10% larger than those of CPLEXWV. In particular, CPLEXWV cannot obtain the optimal solution for within the time limit, while GSAHA can obtain a solution that is much smaller than that of CPLEXWV. In addition, for the case of , it can be shown that the minimum value of the first part of the objective function is equal to 82 min, and GSAHA can also obtain an objective value of 84 min. Note that the optimality gaps of GSAHA compared with CPLEX could be due to two reasons in particular. First, the spatial and temporal resources are allocated separately in GSAHA. Second, a heuristic method is developed to resolve the temporal conflicts between trains. Overall, the stable performance of GSAHA regarding the solution quality and solving times shows that our proposed GSAHA is suitable to serve as an effective computeraided decisionmaking tool for the train dispatchers in case of train delays.

7. Conclusions
The problem of reoptimization of the train platforming is essential in recovering the train operations within the station while minimizing the negative impact of train delays. This paper proposes a MILP model for the reoptimization problem, where the train station is represented with the discretized platform track timespace resources. In addition, a set of valid inequalities is developed to improve the performance of the commercial solver. In addition, in order to achieve the realtime reoptimization of the train platforming problem and provide a reliable decision tool for the train dispatchers, a heuristic algorithm called GSAHA that combines the advantages of SA and GA algorithms is designed. Moreover, GSAHA first allocates the spatial resources for the trains, and the temporal conflicts between trains are further resolved through a specialized heuristic rule. To test the efficiency and effectiveness of the proposed model and algorithm, a set of reallife instances is solved by a commercial solver and GSAHA. The computational results show the proposed MILP model can effectively achieve the reoptimization of the train platforming problem, and the proposed heuristic algorithm can further speed up the solving process of the commercial solver with nearoptimal solutions. In addition, the computational results also show that the performance of GSAHA is stable even when the values of weighting factor vary from 40 to 440.
The work in this paper can be extended in the following several interesting directions. First, instead of ensuring the arrival and departure safety headway between two different trains running in the same direction, the explicit consideration of train entrance and exit route conflicts can increase the station throughput capacity and reduce the train delays [10, 20]. Second, the MILP model and the heuristic algorithm GSAHA proposed in this paper can be further developed to consider different station types, such as the terminal station where trains need to perform the turnaround movement that makes the train platforming problem more complicated [42, 43]. Third, the train movements at the stations can be viewed as a set of spacetime paths, and thus more efficient dual decomposition methods could be developed accordingly [7, 44, 45]. Fourth, more efficient solution algorithms can be developed for the simultaneous reoptimization of several interconnected railway stations in a railway line or even a regional railway network with more complicated structure so that the joint optimization of delay situations and train timetabling problems can be achieved [8, 19, 27, 46–49]. Finally, the integration of energyefficient train movement with the reoptimization of train platforming can be considered for more systemwide benefits [50, 51].
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This study was supported by the National Key R&D Program (grant no. 2017YFB1200700), National Natural Science Foundation of China (grant no. U1834209), and Open Fund Project of Chongqing Key Laboratory of Traffic & Transportation (grant no. 2018TE01).
References
 National Bureau of Statistics of China, 2020, http://data.stats.gov.cn/english/easyquery.htm?cn=C01.
 R. M. Lusby, J. Larsen, M. Ehrgott, and D. Ryan, “Railway track allocation: models and methods,” OR Spectrum, vol. 33, no. 4, pp. 843–883, 2011. View at: Publisher Site  Google Scholar
 A. A. Assad, “Models for rail transportation,” Transportation Research Part A: General, vol. 14, no. 3, pp. 205–220, 1980. View at: Publisher Site  Google Scholar
 J.F. Cordeau, P. Toth, and D. Vigo, “A survey of optimization models for train routing and scheduling,” Transportation Science, vol. 32, no. 4, pp. 380–404, 1998. View at: Publisher Site  Google Scholar
 U. Brännlund, P. O. Lindberg, A. Nõu, and J.E. Nilsson, “Railway timetabling using Lagrangian relaxation,” Transportation Science, vol. 32, no. 4, pp. 358–369, 1998. View at: Publisher Site  Google Scholar
 A. Caprara, M. Fischetti, and P. Toth, “Modeling and solving the train timetabling problem,” Operations Research, vol. 50, no. 5, pp. 851–861, 2002. View at: Publisher Site  Google Scholar
 Y. Zhang, Q. Peng, Y. Yao, X. Zhang, and X. Zhou, “Solving cyclic train timetabling problem through model reformulation: extended timespace network construct and Alternating Direction Method of Multipliers methods,” Transportation Research Part B: Methodological, vol. 128, pp. 344–379, 2019. View at: Publisher Site  Google Scholar
 Y. Zhang, A. D’Ariano, B. He, and Q. Peng, “Microscopic optimization model and algorithm for integrating train timetabling and track maintenance task scheduling,” Transportation Research Part B: Methodological, vol. 127, pp. 237–278, 2019. View at: Publisher Site  Google Scholar
 L. G. Kroon, H. Edwin Romeijn, and P. J. Zwaneveld, “Routing trains through railway stations: complexity issues,” European Journal of Operational Research, vol. 98, no. 3, pp. 485–498, 1997. View at: Publisher Site  Google Scholar
 P. J. Zwaneveld, L. G. Kroon, H. E. Romeijn et al., “Routing trains through railway stations: model formulation and algorithms,” Transportation Science, vol. 30, no. 3, pp. 181–194, 1996. View at: Publisher Site  Google Scholar
 P. J. Zwaneveld, L. G. Kroon, and S. P. M. Van Hoesel, “Routing trains through a railway station based on a node packing model,” European Journal of Operational Research, vol. 128, no. 1, pp. 14–33, 2001. View at: Publisher Site  Google Scholar
 R. Lusby, J. Larsen, D. Ryan, and M. Ehrgott, “Routing trains through railway junctions: a new setpacking approach,” Transportation Science, vol. 45, no. 2, pp. 228–245, 2011. View at: Publisher Site  Google Scholar
 R. M. Lusby, J. Larsen, M. Ehrgott, and D. M. Ryan, “A set packing inspired method for realtime junction train routing,” Computers & Operations Research, vol. 40, no. 3, pp. 713–724, 2013. View at: Publisher Site  Google Scholar
 V. Cacchiani, D. Huisman, M. Kidd et al., “An overview of recovery models and algorithms for realtime railway rescheduling,” Transportation Research Part B: Methodological, vol. 63, pp. 15–37, 2014. View at: Publisher Site  Google Scholar
 L. Meng and X. Zhou, “Robust singletrack train dispatching model under a dynamic and stochastic environment: a scenariobased rolling horizon solution approach,” Transportation Research Part B: Methodological, vol. 45, no. 7, pp. 1080–1102, 2011. View at: Publisher Site  Google Scholar
 L. Meng and X. Zhou, “Simultaneous train rerouting and rescheduling on an Ntrack network: a model reformulation with networkbased cumulative flow variables,” Transportation Research Part B: Methodological, vol. 67, pp. 208–234, 2014. View at: Publisher Site  Google Scholar
 S. Zhan, L. G. Kroon, L. P. Veelenturf, and J. C. Wagenaar, “Realtime highspeed train rescheduling in case of a complete blockage,” Transportation Research Part B: Methodological, vol. 78, pp. 182–201, 2015. View at: Publisher Site  Google Scholar
 S. Zhan, L. G. Kroon, J. Zhao, and Q. Peng, “A rolling horizon approach to the high speed train rescheduling problem in case of a partial segment blockage,” Transportation Research Part E: Logistics and Transportation Review, vol. 95, pp. 32–61, 2016. View at: Publisher Site  Google Scholar
 M. Carey, “A model and strategy for train pathing with choice of lines, platforms, and routes,” Transportation Research Part B: Methodological, vol. 28, no. 5, pp. 333–353, 1994. View at: Publisher Site  Google Scholar
 P. Chakroborty and D. Vikram, “Optimum assignment of trains to platforms under partial schedule compliance,” Transportation Research Part B: Methodological, vol. 42, no. 2, pp. 169–184, 2008. View at: Publisher Site  Google Scholar
 A. Caprara, L. Galli, and P. Toth, “Solution of the train platforming problem,” Transportation Science, vol. 45, no. 2, pp. 246–257, 2011. View at: Publisher Site  Google Scholar
 L. Kang, Z. Lu, and Q. Meng, “Stochastic schedule–based optimization model for track allocations in large railway stations,” Journal of Transportation Engineering, Part A: Systems, vol. 145, no. 3, Article ID 04019001, 2019. View at: Publisher Site  Google Scholar
 D. D. L. Cardillo and N. Mione, “k Llist λ colouring of graphs,” European Journal of Operational Research, vol. 106, no. 1, pp. 160–164, 1998. View at: Publisher Site  Google Scholar
 A. Billionnet, “Using integer programming to solve the trainplatforming problem,” Transportation Science, vol. 37, no. 2, pp. 213–222, 2003. View at: Publisher Site  Google Scholar
 P. Sels, P. Vansteenwegen, T. Dewilde, D. Cattrysse, B. Waquet, and A. Joubert, “The train platforming problem: the infrastructure management company perspective,” Transportation Research Part B: Methodological, vol. 61, pp. 55–72, 2014. View at: Publisher Site  Google Scholar
 M. Carey and S. Carville, “Scheduling and platforming trains at busy complex stations,” Transportation Research Part A: Policy and Practice, vol. 37, no. 3, pp. 195–224, 2003. View at: Publisher Site  Google Scholar
 M. Carey and I. Crawford, “Scheduling trains on a network of busy complex stations,” Transportation Research Part B: Methodological, vol. 41, no. 2, pp. 159–178, 2007. View at: Publisher Site  Google Scholar
 L. Kang, J. Wu, and H. Sun, “Using simulated annealing in a bottleneck optimization model at railway stations,” Journal of Transportation Engineering, vol. 138, no. 11, pp. 1396–1402, 2012. View at: Google Scholar
 J. Wu, L. Kang, H. Sun, and X. Jia, “Track allocation optimization in railway station: meanvariance model and case study,” Journal of Transportation Engineering, vol. 139, no. 5, pp. 540–547, 2013. View at: Publisher Site  Google Scholar
 M. J. Dorfman and J. Medanic, “Scheduling trains on a railway network using a discrete event model of railway traffic,” Transportation Research Part B: Methodological, vol. 38, no. 1, pp. 81–98, 2004. View at: Publisher Site  Google Scholar
 A. D’ariano, D. Pacciarelli, and M. Pranzo, “A branch and bound algorithm for scheduling trains in a railway network,” European Journal of Operational Research, vol. 183, no. 2, pp. 643–657, 2007. View at: Google Scholar
 J. Rodriguez, “A constraint programming model for realtime train scheduling at junctions,” Transportation Research Part B: Methodological, vol. 41, no. 2, pp. 231–245, 2007. View at: Publisher Site  Google Scholar
 A. D’Ariano, L. Meng, G. Centulio, and F. Corman, “Integrated stochastic optimization approaches for tactical scheduling of trains and railway infrastructure maintenance,” Computers & Industrial Engineering, vol. 127, pp. 1315–1335, 2019. View at: Google Scholar
 T. M. Herrman, “Stability of timetables and train routings through station regions,” Swiss Federal Insitute of Technology Zurich, Zürich, Switzerland, 2006, Ph.D. thesis. View at: Google Scholar
 N. Bešinović and R. M. Goverde, “Stable and robust train routing in station areas with balanced infrastructure capacity occupation,” Public Transport, vol. 11, no. 2, pp. 211–236, 2019. View at: Publisher Site  Google Scholar
 A. D’Ariano and M. Pranzo, “An advanced realtime train dispatching system for minimizing the propagation of delays in a dispatching area under severe disturbances,” Networks and Spatial Economics, vol. 9, no. 1, pp. 63–84, 2009. View at: Publisher Site  Google Scholar
 W. Liu, X. Zhu, and L. Kang, “Realtime track reallocation for emergency incidents at large railway stations,” Mathematical Problems in Engineering, vol. 2015, Article ID 296394, 11 pages, 2015. View at: Publisher Site  Google Scholar
 L. Kang, S. Chen, and Q. Meng, “Bus and driver scheduling with mealtime windows for a single public bus route,” Transportation Research Part C: Emerging Technologies, vol. 101, pp. 145–160, 2019. View at: Publisher Site  Google Scholar
 W. Xing and J. Xie, Modern Optimization Methods, Tsinghua University Press, Beijing, China, 2nd edition, 2006.
 H. Yu, H. Fang, P. Yao, and Y. Yuan, “A combined genetic algorithm/simulated annealing algorithm for large scale system energy integration,” Computers & Chemical Engineering, vol. 24, no. 8, pp. 2023–2035, 2000. View at: Publisher Site  Google Scholar
 H. Du, J. Fan, X. He, and M. W. Feldman, “A genetic simulated annealing algorithm to optimize the smallworld network generating process,” Complexity, vol. 2018, Article ID 1453898, 12 pages, 2018. View at: Publisher Site  Google Scholar
 Q. Zhong, R. M. Lusby, J. Larsen, Y. Zhang, and Q. Peng, “Rolling stock scheduling with maintenance requirements at the Chinese highspeed railway,” Transportation Research Part B: Methodological, vol. 126, pp. 24–44, 2019. View at: Publisher Site  Google Scholar
 Q. Zhong, Y. Zhang, D. Wang, Q. Zhong, C. Wen, and Q. Peng, “A mixed integer linear programming model for rolling stock deadhead routing before the operation period in an urban rail transit line,” Journal of Advanced Transportation, vol. 2020, Article ID 3809734, 18 pages, 2020. View at: Publisher Site  Google Scholar
 X. Zhou, L. Tong, M. Mahmoudi et al., “Opensource VRPLite package for vehicle routing with pickup and delivery: a path finding engine for scheduled transportation systems,” Urban Rail Transit, vol. 4, no. 2, pp. 68–85, 2018. View at: Publisher Site  Google Scholar
 X. Chen, S. He, Y. Zhang, L. Tong, P. Shang, and X. Zhou, “Yard crane and AGV scheduling in automated container terminal: a multirobot task allocation framework,” Transportation Research Part C: Emerging Technologies, vol. 114, pp. 241–271, 2020. View at: Publisher Site  Google Scholar
 L. Kang, J. Wu, H. Sun, X. Zhu, and B. Wang, “A practical model for last train rescheduling with train delay in urban railway transit networks,” Omega, vol. 50, pp. 29–42, 2015. View at: Publisher Site  Google Scholar
 L. Kang, X. Zhu, H. Sun, J. Wu, Z. Gao, and B. Hu, “Last train timetabling optimization and bus bridging service management in urban railway transit networks,” Omega, vol. 84, pp. 31–44, 2019. View at: Publisher Site  Google Scholar
 L. Kang and Q. Meng, “Twophase decomposition method for the last train departure time choice in subway networks,” Transportation Research Part B: Methodological, vol. 104, pp. 568–582, 2017. View at: Publisher Site  Google Scholar
 L. Kang, J. Wu, H. Sun, X. Zhu, and Z. Gao, “A case study on the coordination of last trains for the Beijing subway network,” Transportation Research Part B: Methodological, vol. 72, pp. 112–127, 2015. View at: Publisher Site  Google Scholar
 W. Li, Q. Peng, Q. Li, C. Wen, Y. Zhang, and J. Lessan, “Joint operating revenue and passenger travel cost optimization in urban rail transit,” Journal of Advanced Transportation, vol. 2018, Article ID 7805168, 15 pages, 2018. View at: Publisher Site  Google Scholar
 W. Li, Q. Peng, C. Wen, S. Li, X. Yan, and X. Xu, “Integrated optimization on energy saving and quality of service of urban rail transit system,” Journal of Advanced Transportation, vol. 2020, Article ID 3474020, 22 pages, 2020. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2020 Yongxiang Zhang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.