Research Article
Research Article
Research Article
Structure Optimization of Mixed-Speed Train Traffic for Cyclic
Timetable: Model and Algorithm Development
1
Jiamin Zhang and Jiarui Zhang2
1
College of Transportation, Shandong University of Science and Technology, Qingdao 266590, Shandong, China
2
Qingdao Locomotive Depot, Jinan Bureau of China Railway, Qingdao 266041, Shandong, China
Copyright © 2022 Jiamin Zhang and Jiarui Zhang. 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.
Trains can be optimally spread over the period of the cyclic timetable. By integrating sequencing issue with headway time together,
this paper studies the structure optimization of mixed-speed train traffic for a cyclic timetable. Firstly, by taking it as a job-shop
problem with sequence-dependent setup times on one machine, in the type of infinite capacity resource with headway (ICR + H),
the problem is transformed to alternative graph (AG) and then recast to the mixed-speed train traffic planning (MSTTP) model.
For the multiobjective in MSTTP, three indicators are optimized, i.e., heterogeneity, cycle time, and buffer time, which correspond
to diversity of train service toward passenger, capacity consumption of rail network, and stability of train operation, respectively.
Secondly, the random-key genetic algorithm (RKGA) is proposed to tackle the sequence and headway simultaneously. Finally,
RKGA is coded with visual studio C# and the proposed method is validated with a case study. The rail system considered is a line
section encompassing a territory of 180 km with 15 mixed-speed trains in each cycle of the timetable. Results indicate the
comprehensively balanced train plan for all stakeholders from random variations of train sequence and headway time. Both the
quantitative proportion of heterogeneity/homogeneity (e.g., 2.5) about the optimized distribution of the mixed train traffic and the
link between train headway time and the sequence for each traffic scenario are found. All the findings can be used to arrange the
mixed-speed train traffic more scientifically.
stability heterogeneity
heterogeneity
mixed train operations
metro train operation
(a) (b)
Figure 1: Railway capacity: capacity balance (a) and capacity pyramid (b) (sourcing: UIC [1]; Landex [2]).
time
time
high-speed trains
medium-speed trains
low-speed trains
(a) (b)
Figure 2: Mixed train traffic arrangement from perspective of passengers with very heterogeneous (a) and that of network operators with
slightly heterogeneous (b) (sourcing: Kaas [4]).
And, these concerns just motivate us to quantitatively problems, focusing on the planning objective and avail-
optimize the mixed-speed train traffic structure in an all- able data, regardless of the specific traffic carried or
round balanced way, so as to lay the foundation for a more network size. Zhang [9] summarized some strategies for
robust, stable, and efficient timetable with more reason- train operation plan under mixed traffic condition and
able transport capacity. According to whether they ex- analyzed them from both pros and cons aspects, which
plicitly model the track structure and whether the limited to a qualitative analysis of the mixed traffic
timetable is intended to be periodic or not, Harrod [8] structure rather than a quantitative optimization. Huang
addressed four fundamental timetable formulations [10] presented a time supplements allocation method that
suitable for optimization, e.g., mixed integer sequencing incorporates historical train operation data to optimize
linear programs, binary integer occupancy programs, buffer-time distribution in the sections and stations of a
hypergraph formulation, and periodic event scheduling published timetable.
Discrete Dynamics in Nature and Society 3
This paper studies the structure of the mixed-speed train problem space. Based on these characteristics, we propose
traffic for a cyclic timetable in a passenger railway line the modified random-key genetic algorithm (RKGA) to
section, integrating sequencing with headway optimization solve the mixed-speed train traffic planning (MSTTP)
for train lines. As was defined by UIC [10], in our research, a model, which can tackle the sequence and headway si-
railway line section is the part of a line in which the traffic multaneously. The objective of our study is to optimize the
mix and/or the number of trains or the infrastructure and structure of the mixed-speed train traffic for cyclic timetable,
signaling conditions do not change fundamentally. Infra- by integrating sequencing issue with headway time together.
structure elements can be modeled by using resources with The innovative contributions of this paper are as follows:
different properties in terms of capacity [11], one of which is
(i) The structure optimization problem of the mixed-
the kind of infinite capacity resource with headway
speed train traffic for cyclic timetable is innovatively
(ICR + H). In the type (ICR + H), the number of operations
transformed to an alternative graph (AG).
that can be simultaneously processed is not restricted.
However, the starting times of two consecutive operations (ii) The mixed-speed train traffic planning (MSTTP)
on the same resource are separated by a time interval. In this model is constructed innovatively, considering
study, we assume the railway line section as the one-machine three optimization indicators, i.e., maximization of
[12] type (ICR + H) and the trains as jobs to be processed. heterogeneity from the perspective of passenger
An alternative graph (AG) is a representation of a job- optimization, minimization of cycle time from the
shop scheduling model with additional operational con- perspective of capacity optimization, and maximi-
straints [13]. The alternative arcs of AG are used to model zation of the minimal buffer time from the per-
choice of orders between operations on the same machine spective of operational optimization, individually.
(open track segment) and are weighted with the setup time, This innovative model can ensure to achieve an all-
i.e., minimal or optimized headway time. By taking it as a round satisfied solution for all involved
job-shop problem with sequence-dependent setup times [14] stakeholders.
on one-machine type (ICR + H), we transform the problem (iii) The random-key genetic algorithm (RKGA) is
to an alternative graph (AG). Then, we recast it to the mixed- proposed to solve the mixed-speed train traffic
speed train traffic planning (MSTTP) model so as to opti- planning (MSTTP) model, which can tackle the
mize the temporal-spatial distribution of trains quantita- sequence and headway simultaneously. The RKGA
tively. To develop our model, we set up three objectives is an innovative construction and application for
considering the concerns of the stakeholders. They are the solving the kind of MSTTP model.
maximization of heterogeneity from the perspective of (iv) The RKGA was coded with visual studio C#, and the
passenger optimization, the minimization of cycle time from proposed method is validated to work out the op-
the perspective of capacity optimization, and the maximi- timal solutions for a case study. Both the quanti-
zation of the minimal buffer time from the perspective of tative proportion of heterogeneity/homogeneity
operational optimization, individually. For the level of in- (e.g., 2.5) about the optimized distribution of the
frastructure details considered in the models, we distinguish mixed train traffic and the link between train
among microscopic models (which consider detailed de- headway time and the sequence for each traffic
scription of infrastructure and train dynamics), macroscopic scenario are found.
models (which represent the railway network as a simplified
series of links connecting stations), and mesoscopic models The rest of the paper is organized as follows: Section 2
[15]. In this regard, our model MSTTP belongs to the kind of demonstrates the mathematical formulation (AG and
mesoscopic representation, using a level of abstraction be- MSTTP) of the problem. Section 3 reports the RKGA for
tween macroscopic and microscopic representation. We solving the problem, including one main algorithm and four
take the railway line section under study as a unidirectional subalgorithms. In Section 4, we apply the model and al-
open track segment without overtaking place. gorithm to a case study and investigate the results deeply.
The concept of genetic algorithm (GA) was first for- Finally, Section 5 concludes the paper.
malized by Holland [16] and then extended to optimization
by De Jong [17]. Bean [18] introduced the concept of 2. Mathematical Formulation
random keys, a method for representing solutions (chro-
mosomal encoding) that produces feasible offspring for 2.1. Problem Statement by Alternative Graph. We associate
many sequencing and optimization problems. For the with a sequence a modified alternative graph G � (Y, A) as
problem under study, any permutation of train sequence follows. The set Y of nodes is obtained by adding two fic-
would be a feasible solution. This would also be the typical titious nodes O and D to the set I of jobs (trains):
chromosome representation adopted in GA. However, when Y � I ∪ {O, D}; O is a job “beginning,” and D a job “end” in
applying crossover genetic operator, additional efforts the machine (unidirectional track section between two
should be taken to avoid duplication of trains in any feasible timetable points without overtaking). The set A of arcs
solution; i.e., a train is processed only once. The random-key includes three sets A � A1 ∪ A2 ∪ A3 . Let A1 � {(O, i)|i ∈ I};
genetic algorithm (RKGA) approach can help overcome this arc (O, i) is valued by yi , so that job i cannot start before the
shortcoming easily [19]. The unique feature of RKGA is that point in time yi . Let A2 � {(i, D)|i ∈ I}; arc (i, D) is valued
its search is over the random-key space instead of the by di , since job i has to spend an amount of time di in the
4 Discrete Dynamics in Nature and Society
system after its beginning of processing by the machine. Let a variety of train service for passengers within an acceptable
A3 � (i, j)|job i proceeds to job j in the sequence; alterna- headway. According to [20], there are two measures for
tive arc (i, j) is valued by hij , which is a sequence-dependent representing the heterogeneity of trains, which is sum of
setup time, since it should keep an amount of headway time shortest headway reciprocals (SSHR) and sum of arrival
hij between two consecutive operations i and j; these arcs set headway reciprocals (SAHR), respectively. To be comple-
the sequence. The improved alternative graph is shown in mentary, we maximize both of them from the perspective of
Figure 3. It is formulated as a one-machine type (ICR + H) passenger optimization as follows:
scheduling problem in the unidirectional track section.
max F1 � αSSHR +(1 − α)SAHR, (1)
y1 yn
y2 y3 yi
h1n
1 2 3 i n
h21
h32 hi3 hni
hn1
d2 d3 di dn
d1
F3 � max min hij − Hij kij . For any considered subsequent train pairs, the rela-
1≤i≤n 1≤j≤n
(5) tionship of their departure times should follow the following
j≠i
formula:
Formula (5) is a max-min objective function. According yj ≥ yi + hij − Mkji , 1 ≤ i ≤ n, 1 ≤ j ≤ n, j≠i. (10)
to Burggraeve [28], we introduce an auxiliary constraint as
For the pairwise train dispatching decisions, only one
follows:
alternative arc of the train pairs (i, j) can be selected in
F3 ≤ hij − Hij kij , 1 ≤ i ≤ n, 1 ≤ j ≤ n, j≠i. (6) Figure 3, so formulas (11) and (12) should be held.
Obj:
max F1 � αSSHR +(1 − α)SAHR,
n n
min F2 � hij kij ,
i�1 j�1 (16)
j≠i
max F3 ,
s.t.
h−ij � minhij , yj + dj − yi + di kij , 1 ≤ i ≤ n, 1 ≤ j ≤ n, j≠i,
⎧ 1, if yi < yj ,
⎨
kij � ⎩ (17)
0, otherwise,
kij + kji � 1, 1 ≤ i ≤ n, 1 ≤ j ≤ n, j≠i,
Initialization
N=N+1
Yes
N=maximun iteration times Stop
No
Step 10.1. For the random-key chromosomes corre- Step 11. Repeat step 4~step 8.
sponding to the selected m best solutions, invoke
crossover operator so as to generate a new generation
of random-key chromosomes, and then sequence the 3.2. Fitness Estimation Function of RKGA. For the multi-
trains again according to the random number genes objective F1 , F2 , and F3 , it can be standardized according to
(from smallest to largest) in the random-key
⎪
⎧
⎪ Fi
chromosome. ⎪
⎪ for min Fi ,
Step 10.2. For the random-key chromosomes corre- ⎪
⎪ 1 + Fi
⎨
sponding to the selected m best solutions, invoke F′i � ⎪ (18)
⎪
⎪
mutation operator so as to generate a new generation ⎪
⎪ 1
⎪
⎩ for max Fi .
of random-key chromosomes, and then sequence the 1 + Fi
trains again according to the random number genes
(from smallest to largest) in the random-key Thus, the standardization for the objectives of MSTTP is
chromosome. expressed as
8 Discrete Dynamics in Nature and Society
⎪
⎧
⎪ 1 s s
⎪
⎪
⎪
F1′ � , hij � randomHij + F3 , Hhij + + ∗ 60. (26)
⎪ 1 + F1 v(i) v(j)
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎨ F2
⎪ F2′ � , (19)
⎪
⎪ 1 + F2 3.4. Crossover Operator
⎪
⎪
⎪
⎪
⎪
⎪ Step 1. Assume pc max and pc min are the given upper and
⎪
⎪ 1
⎪
⎪ lower limits for crossover possibility. fl is the fitness
⎩ F3′ � 1 + F .
3 value for a certain chromosome individual. favg is the
average fitness value of the population; i.e.,
Thus, the vector of the standardized objectives for
favg � (Ll�1 fl /L) · fmax is the maximal fitness value of
MSTTP can be expressed as
the population. We adopt the self-adaption method to
minF1′, F2′, F3′. (20) calculate the crossover possibility Pc as
⎪
⎧ fl − favg pm max − pm min Table 1: Identifier and speed type of trains within one cycle of the
⎪
⎪ timetable.
⎪
⎪ pm max − , fl > favg ,
⎨ fmax − favg
pm � ⎪ Serial number Train identifier Speed type of train (km/h)
⎪
⎪
⎪
⎪ 1 L01 300
⎩p , f1 ≤ favg .
m max 2 L02 300
(28) 3 L03 300
4 L04 270
Step 2. Set i � 1. 5 L05 270
6 L06 270
Step 3. Judge whether we can impose the mutation 7 L07 250
operation on chromosome individual i. 8 L08 250
Step 3.1. Select chromosome individual i, and calculate 9 L09 250
the mutation possibility pi using formula (28). 10 L10 250
11 L11 250
Step 3.2. Generate a random number (0, 1) in (0, 1); if
12 L12 230
random (0, 1) < pi, then turn to step 4 because 13 L13 230
chromosome individual i can be executed by the 14 L14 200
mutation operation, else turn to step 5. 15 L15 200
Step 4. Operate mutation.
Step 4.1. For chromosome individual i, an integer Table 2: Theoretical safety minimal headway time of subsequent
position k is selected randomly between (1, L), and trains (unit: minute).
generate a new random number (0, 1) to replace its 300 270 250 230 200
counterpart corresponding to position k.
300 5 5 3 3 3
Step 4.2. Put the new chromosome individuals into the
270 9 5 4 5 3
new population after crossover operation. 250 15 10 4 4 3
Step 5. i � i + 1. If i < m, then turn to step 3, else turn to 230 18 14 12 4 3
step 6. 200 26 20 18 16 4
Note. The items in the first column represent the speed type of the pro-
Step 6. Mutation operation is over. ceeding train, the items in the first row represent the speed type of the
following train, and other numbers in the table represent the theoretical
4. Results and Discussion of a Case Study safety minimum headway time of adjacent trains.
1.7
1.695
1.69
fitness value
1.685
1.68
1.675
1.67
100 150 200
generation
Figure 5: The fitness value of generations.
counterpart. As far as the three scenarios defined before are 4.5. Discussion. In the current work, we built the MSTTP
concerned, in scenario s1, the departure headway time is model and RKGA for structure optimization of the mixed-
always less than its corresponding arrival headway time over speed train traffic for a cyclic timetable in a passenger railway
the trains’ running distance; in scenario s2, the situation is line section. They are of permutation nature. Our study
completely reverse; in scenario s3, they are equal. includes a high diversity of train speeds. With the known
Discrete Dynamics in Nature and Society 11
35
30
25
20
15
10
0
0 2 4 6 8 10 12 14 16
dep. time headway (min)
arr. time headway (min)
Figure 6: Spread of departure/arrival headway time.
average speed and given number of trains, we get the op- and arrival headway time. In turn, these findings would be
timized train plans from random variations of train se- instrumental in a further revision of the theoretical safety
quence and headway time, which can represent a more minimal headway time of subsequent trains as shown in
general significance from the mathematical point of view. Table 2, which is the prerequisite for train planning.
Moreover, it ensures the robustness of the timetable as
possible as it can by means of random permutation and 5. Conclusion
iteration.
Compared with the previous studies, we find the Trains can be optimally spread over the period of the cyclic
quantitative proportion of heterogeneity/homogeneity (e.g., timetable. Focused on the structure optimization of the
2.5) about the optimized distribution of the mixed train mixed-speed train traffic for cyclic timetable, this paper puts
traffic, instead of the merely qualitative assessment. It is a forward a new mixed-speed train traffic planning (MSTTP)
mathematical fact. The proportion is greater than 1, the model and the random-key genetic algorithm (RKGA). The
potential reason for which is that we allocate greater weight MSTTP model is recast from the alternative graph (AG) and
value for the objective of heterogeneity, i.e., parameter optimizes three indicators, i.e., heterogeneity, cycle time,
a � 0.5, from the perspective of passenger optimization. and buffer time, which correspond to diversity of train
Usually, rail operators tend to think in terms of moving service toward passenger, capacity consumption of rail
vehicles instead of people. However, putting customer first network, and stability of train operation, respectively.
and tailoring the system to their needs is critical to success. Compared with the conventional algorithms, the proposed
In tune with this viewpoint, we set the values for parameters model and algorithm have the following advantages:
a, b, and c as Table 3 in the phase of experiment design. To a
(i) Both sequence and headway time are taken into
more rational extent, we achieve a comprehensively bal-
account as the core components of the timetable
anced solution (Table 4, Figures 5 and 6) among all of the
structure simultaneously. Taken together, the key
timetabling stakeholders from the multiobjective optimi-
results of our study have been the optimal ar-
zation. Moreover, the higher the speed of the train is, the
rangement of the mixed-speed train traffic, by in-
higher the possibility is that the trains of the same speed are
tegrating the sequencing problem with the headway
sequentially bundled together to form the homogeneous
time optimizing together for a cyclic timetable, and
traffic in a mixed traffic condition.
demonstration of how they can be achieved.
We find the link between the train headway time and the
train sequence. For the mixed-speed train traffic, e.g., the (ii) The time complexity of the proposed algorithm is
traffic scenarios s1 and s2, the train headway time is not only low, and it can satisfy the requirement of real-time
a function of its speed, but also sequence dependent. In and fast computation.
scenario s1, the minimal headway time of the sequential (iii) Optimum headway time and train sequence can be
trains in the railway line section equals their corresponding recommended according to the concerns of the
departure headway time; in scenario s2, with other similar stakeholders, i.e., heterogeneity, cycle time, and
conditions, the minimal headway time of the sequential buffer time, which correspond to diversity of train
trains in the railway line section equals their corresponding service toward passenger, capacity consumption of
arrival headway time. However, for the homogeneous traffic rail network, and stability of train operation,
as scenario s3, there is no difference between the departure respectively.
12 Discrete Dynamics in Nature and Society
(iv) Furthermore, it can be meaningful for the reason- Research and Management Science, vol. 17, no. 2, pp. 85–96,
able allocation of buffer time, which is related to the 2012.
stability of the timetable. [9] J. Zhang, “Analysis on comprehensive balance of train op-
eration plan for high speed railway under mixed traffic
In addition, when taking the overtaking issues into condition,” in Proceedings of the SOL, pp. 397–342, Beijing,
account, further studies should explore the dynamic head- China, 2011.
way time according to the change of train sequence at the [10] P. Huang, C. Wen, Q. Peng, J. Lessan, L. Fu, and C. Jiang, “A
overtaking place. As enumerated in Landex and Kaas [5], we data-driven time supplements allocation model for train
can firstly divide the line section due to overtaking, then operations on high-speed railways,” International Journal of
dealing with each section as such a subproblem as we Rail Transportation, vol. 7, no. 2, pp. 140–157, 2019.
modeled in this article. In this way, the problem studied in [11] K. Pavle, Models for Predictive Railway Traffic Management,
Ph.D. Dissertation, Delft University of Technology, Delft,
this paper occurs as a subproblem in a decomposition
Netherland, 2014.
procedure for more complicated railway line sections with [12] J. Carlier, “The one-machine sequencing problem,” European
overtaking stations. Journal of Operational Research, vol. 11, no. 1, pp. 42–47, 1982.
[13] A. D’Ariano, Improving Real-Time Train Dispatching: Models,
Data Availability Algorithms and Applications, Ph.D. Dissertation, Delft Uni-
versity of Technology, Delft, Netherland, 2008.
The data that support the findings of this study are included [14] C. Artigues and D. Feillet, “A branch and bound method for
within the article. the job-shop problem with sequence-dependent setup times,”
Annals of Operations Research, vol. 159, no. 1, pp. 135–159,
2008.
Disclosure [15] W. J. Lars, Robustness Indicators and Capacity Models for
Railway Networks, Ph.D. Dissertation, Technical University of
The authors certify that the authors have participated suf- Denmark, Copenhagen, Denmark, 2015.
ficiently in the work to take public responsibility for the [16] J. H. Holland, Adaptation in Natural and Artificial Systems,
appropriateness of the experimental design and method and University of Michigan Press, Ann Arbor, Michigan, USA,
the collection, analysis, and interpretation of the data. 1975.
[17] K. A. De Jong, An Analysis of Behavior of a Class of Genetic
Adaptive Systems, Ph.D. Dissertation, University of Michigan,
Conflicts of Interest Michigan, USA, 1975.
The authors declare no conflicts of interest. [18] J. C. Bean, “Genetic algorithms and random keys for se-
quencing and optimization,” ORSA Journal on Computing,
vol. 6, no. 2, pp. 154–160, 1994.
Acknowledgments [19] O. Ghrayeb and P. Damodaran, “A hybrid random-key ge-
netic algorithm to minimize weighted number of late deliv-
The authors would like to thank the authors of the articles eries for a single machine,” International Journal of Advanced
mentioned in the reference list for their inspirations. Manufacturing Technology, vol. 66, no. 1-4, pp. 15–25, 2013.
[20] M. J. C. M. Vromans, R. Dekker, and L. G. Kroon, “Reliability
and heterogeneity of railway services,” European Journal of
References
Operational Research, vol. 172, no. 2, pp. 647–665, 2006.
[1] UIC, UIC Code 406), International Union of Railways(UIC), [21] J. Parbo, O. A. Nielsen, and C. G. Prato, “Passenger per-
Paris, France, 2004. spectives in railway timetabling: a literature review,” Trans-
[2] A. Landex, Methods to Estimate Railway Capacity and Pas- port Reviews, vol. 36, no. 4, pp. 500–526, 2016.
senger Delays, Ph.D. Dissertation, University of Denmark, [22] UIC, UIC Code 406), International Union of Railways(UIC),
Copenhagen, Denmark, 2008. Paris, France, 2013.
[3] R. L. Burdett and E. Kozan, “Techniques for absolute capacity [23] J. Zhang, “Analysis on line capacity usage for China high
determination in railways,” Transportation Research Part B: speed railway with optimization approach,” Transportation
Methodological, vol. 40, no. 8, pp. 616–632, 2006. Research Part A: Policy and Practice, vol. 77, pp. 336–349,
[4] A. H. Kaas, Methods of Calculation of Railway Capacity, Ph.D. 2015.
Dissertation, University of Denmark, Copenhagen, Denmark, [24] M. Heydar, M. E. H. Petering, and D. R. Bergmann, “Mixed
1998. integer programming for minimizing the period of a cyclic
[5] A. Landex, A. H. Kaas, B. Schittenhelm, and J. Schneider-Tilli, railway timetable for a single track with two train types,”
“Evaluation of railway capacity,” in Proceedings of the Annual Computers & Industrial Engineering, vol. 66, no. 1,
Transport Conference, vol. 13, no. 1, Aalborg, Denmark, 2006. pp. 171–185, 2013.
[6] M. Yaghini, M. Sarmadi, N. Nikoo, and M. Momeni, “Ca- [25] M. E. H. Petering, M. Heydar, and D. R. Bergmann, “Mixed-
pacity consumption analysis using heuristic solution method integer programming for railway capacity analysis and cyclic,
for under construction railway routes,” Networks and Spatial combined train timetabling and platforming,” Transportation
Economics, vol. 14, no. 3-4, pp. 317–333, 2014. Science, vol. 50, pp. 892–909, 2015.
[7] L. Kroon, D. Huisman, and G. Maróti, Railway Timetabling [26] X. Zhang and L. Nie, “Integrating capacity analysis with high-
from an Operations Research, Econometric Institute Research speed railway timetabling: a minimum cycle time calculation
Papers, Rootterdam, Netherlands, No. EI 2007-22, 2007. model with flexible overtaking constraints and intelligent
[8] S. S. Harrod, “A tutorial on fundamental model structures for enumeration,” Transportation Research Part C: Emerging
railway timetable optimization,” Surveys in Operations Technologies, vol. 68, pp. 509–531, 2016.
Discrete Dynamics in Nature and Society 13