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 time-space 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 real-world 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 computer-aided decision-making tool for the train dispatchers in case of train delays.

1. Introduction

Railroad transportation plays an important role in providing economic and environment-friendly 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 computer-aided 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 real-time traffic management at the operational level [2]. As a result, the core of the computer-aided 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 [58]. 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 turn-around 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 high-quality train operation plan within a station in a short period. Kroon et al. [9] have already proven that the train platforming problem is an NP-complete 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 branch-and-cut algorithm in Zwaneveld et al. [10, 11] and the set packing model and the branch-and-price 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 [1518]. However, with regard to the train platforming problem, two managerial aspects lack in-depth 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 time-space 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 time-space resources can describe the train conflicts accurately, where the complex binary train sequencing variables in the big-M modeling framework can be avoided.(3)An efficient heuristic algorithm is designed to quickly obtain the near-optimal solutions for the real-time reoptimization of train platforming.(4)A set of real-life 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 time-space resources is introduced in Section 3. In Section 4, we propose a new MILP model based on the discretized platform track time-space 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 real-time manner. The efficiency and effectiveness of the proposed methods are verified through a set of real-life 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 branch-and-cut 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 NP-complete 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 large-scale optimization model. As a result, Lusby et al. [12] built a set packing model of the train platforming problem, and a branch-and-price 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 0-1 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 [2629]. 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 one-way 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 mean-variance 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 branch-and-bound 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 real-time 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 conflict-free 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 max-plus 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 real-time 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 branch-and-price 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 real-time 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 real-time 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 time-space resources, and we also design an efficient heuristic algorithm to guarantee the achievement of real-time reoptimization.

3. Analysis of Platform Track Time-Space 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 time-space resources of a station can be represented by a two-dimensional 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 time-space resource , where

Figure 1 provides an illustrative example of the modeling method of platform track time-space 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 time-space 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 time-space 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., .

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 time-space 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 turn-around 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.

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 right-hand 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 right-hand 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 right-hand 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 one-dimensional real-value 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.

For each train
For each train
  If train conflicts with train
   Fix the arrival and departure times of train and record the weighted sum delay amount after resolving the conflicts of trains numbered before train ;
   Fix the arrival and departure times of train and record the weighted sum delay amount after resolving the conflicts of trains numbered before train ;
   If
    Adopt the adjust method by fixing the arrival and departure times of train ;
   Else
    Adopt the adjust method by fixing the arrival and departure times of train ;
   End If
  End If train conflicts with train
  End For each train
End For each train
Step 5. Sort all trains in descending order by their scheduled or estimated arrival times and number them from 1 to .
Step 6. Use Algorithm 1 to resolve the temporal conflicts between any two trains in the order given in Step 1. Note that Algorithm 1 will not lead to a deadlock between trains where trains can always be delayed to resolve the temporal conflicts.
Step 7. Calculate the weighted sum of arrival and departure delays compared to the corresponding scheduled or estimated train arrival and departure times. This operation considers all trains in set and the platform track assignment costs, and thus the value calculated during this step serves as the objective value of the chromosome.
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 2-opt 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 37, 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., CPLEX-WV) and without (i.e., CPLEX-WOV) including the valid inequalities in Section 4.5. Furthermore, the maximum computation times of CPLEX-WV and CPLEX-WOV 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) i7-5600U 2.6 GHZ CPU and 12G RAM. Tables 8 and 9 list the detailed computation results of CPLEX-WOV, CPLEX-WV, 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 CPLEX-WV (%)” indicates the relative gap between the objective values of GSAHA and CPLEX-WV.

Three points can be drawn from the computation results in Tables 8 and 9. First, the computation times of CPLEX-WOV, CPLEX-WV, 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 real-time manner. Second, the objective values of GSAHA are close to those of CPLEX-WV with the maximum gap value equal to 5.66%. Third, after comparing the computation times of CPLEX-WOV and CPLEX-WV, it can be seen the valid inequalities in Section 4.5 can significantly speed up the solving process of CPLEX. More specifically, CPLEX-WOV 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 CPLEX-WV 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 near-optimal 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 CPLEX-WV 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 CPLEX-WV and GSAHA increase as the value of increases, and the solution times of CPLEX-WV 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 CPLEX-WV. In particular, CPLEX-WV cannot obtain the optimal solution for within the time limit, while GSAHA can obtain a solution that is much smaller than that of CPLEX-WV. 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 computer-aided decision-making 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 time-space 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 real-time 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 real-life 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 near-optimal 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 turn-around 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 space-time 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, 4649]. Finally, the integration of energy-efficient train movement with the reoptimization of train platforming can be considered for more system-wide 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).