Special Issue Article
A dynamic programming approach to synchronize train timetables
Advances in Mechanical Engineering 2017, Vol. 9(6) 1–11 Ó The Author(s) 2017 DOI: 10.1177/1687814017712364 journals.sagepub.com/home/ade
Xiaopeng Tian and Huimin Niu
Abstract This article focuses on synchronizing timetables of train services at a rail transfer station. The main aim is to determine an optimal schedule of train services, given that the departure and arrival times of some particular trains are known. An exponential utility function is introduced to measure the synchronization levels between different train services. A nonlinear integer programming model is proposed to achieve the objective of a synchronized timetable. A dynamic programming approach is then designed to solve the developed model. Finally, a numerical example with real-world datasets is implemented to demonstrate the effectiveness of the proposed approaches. Keywords Train timetable, synchronization, optimization, dynamic programming approach
Date received: 26 August 2016; accepted: 3 May 2017 Academic Editor: Xiaobei Jiang
Introduction The main goal of train timetable with synchronization is to ensure feasible and efficient connections between different train services, namely, ensuring the smooth transfer of passengers from one service to another at transfer stations in a railway network. It is clear that the synchronization quality of train services is a crucial concern for both passengers and operational companies. A train timetable with better connections can quickly evacuate the arrival and departure passengers at transfer stations. Synchronizing timetables for public transit systems has recently received considerable attention. Some early studies considered stochastic environments and set the delay and line headway as the decision variables in their models.1–3 In contrast, other studies have straightforward viewed the departure and arrival times as the decision variables.4–10 The primary reason leading to this distinction is that the assumption conditions of these studies (i.e. deterministic and probabilistic conditions) are different. Of course, the headway of line and the arrival and departure times of trains can be converted to each other. Due to reliability and punctuality
of passenger train operation, this article also treats the arrival and departure times of each train at the transfer station as decision variables in order to synchronize train timetables. A proper timetable must concentrate on minimizing the passengers’ waiting time associated with a highquality train services. Mohring et al.11 found that passengers often perceived their waiting times to be almost twice that of the actual waiting times. Niu et al.12,13 developed several nonlinear optimization models to minimize the total passenger waiting time based on time-dependent demand for a rail corridor. Of course, a number of existing studies considered the transfer passenger demands to calculate the total transfer waiting time. Liebchen14 optimized the periodic eventscheduling problem by considering shorter passenger
School of Traffic & Transportation, Lanzhou Jiaotong University, Lanzhou, China Corresponding author: Huimin Niu, School of Traffic & Transportation, Lanzhou Jiaotong University, Lanzhou 730070, China. Email:
[email protected]
Creative Commons CC-BY: This article is distributed under the terms of the Creative Commons Attribution 4.0 License (http://www.creativecommons.org/licenses/by/4.0/) which permits any use, reproduction and distribution of the work without further permission provided the original work is attributed as specified on the SAGE and Open Access pages (https://us.sagepub.com/en-us/nam/ open-access-at-sage).
2 waiting time, at both stops and transfers. Wong et al.6 and Kwan and Chang7 considered the transfer passengers to be ‘‘weights’’ in an objective function to estimate the passenger transfer time. Hsu15 formulated a continuous model to calculate the mean passenger transfer waiting time. Recently, Niu et al.10 calculated the exact total transfer waiting time under the condition of timevarying demand. Furthermore, some papers calculated the approximate passenger transfer waiting time.3,16,17 To summarize, it is more important to calculate the transfer passenger waiting time in the connection optimization process. However, it must be noted that the number of transfer passengers can hardly be accurately calculated at a station with several transfer directions. Ceder et al.4 assumed that the running time is fixed and proposed a mixed integer linear programming model that aimed at maximizing the number of simultaneous bus arrivals at transfer nodes. On this basis, Ibarra-Rojas et al.5 formulated the timetabling problem for a network that aimed to maximize the number of synchronizations to facilitate passenger transfers and avoid bus bunching along the network, and they provided an effective multi-start iterated local search algorithm for the problem. However, these studies are mainly applied to bus scheduling in public transit networks and are rarely used to synchronize train timetables for railway networks. Combined with the passenger dissatisfaction index in Kwan and Chang,7 this article converts the connection slack time (i.e. the time between the arrival time of the feeder train and the departure time of the connecting train) into the level of services for train synchronization. Then, the total level of services of train connections is defined as the optimization objective, which can simultaneously maximize the number of seamless connections and minimize the slack times of all the trains. Without loss of generality, our model can also treat the requirement of the transfer demand by embedding the ‘‘weight’’ of transfer passengers in the objection function, similar to Wong et al.6 and Kwan and Chang.7 In addition, because connection optimization is a complex task, the synchronizing train timetables in different networks are optimized using special models and algorithms. The example of two lines with a transfer station was studied by Niu et al.10 Sivakumaran et al.18 considered an idealized system that delivers its users to a common destination by requiring each transfer from a feeder to a trunk-line vehicle. For reducing transfer time in real time, Chowdhury and Chien19 optimized dynamic dispatching vehicles at transfer stations by connecting four transit routes. Dou et al.20 researched the coordination between buses and trains. These studies challenged special physical network structures from different perspectives.
Advances in Mechanical Engineering For a special transfer station with different grade routes, for instance, at a transfer node with high-speed rail routes and ordinary rail routes, generally speaking, establishing timetables of high-speed trains take precedence over timetables of ordinary trains. Hence, it is completely necessary to develop a model and highperformance algorithm to optimize the synchronizing train timetables for the specific transfer station. The article mainly focuses on the connection relationship at a transfer station. Because train operation conditions are limited, the departure and arrival times of some trains at the transfer station generally cannot be changed, for example, high-speed trains. However, to facilitate passenger transfer, these particular trains also need to be connected by the other trains (e.g. ordinary trains) that have several alternative departure and arrival times. Naturally, the purpose of this article is to schedule the latter trains to connect the special trains. Although the train timetable with synchronization problem for the public transit system has been studied extensively, we still do a lot of work. First, we describe a connection process between trains in detail and define connecting time windows and feeder time windows. Second, based on the exponential utility, an efficient objective function is established to depict the level of services for train synchronization in the proposed model, which can maximize the number of train seamless connections and minimize the connection slack time. Finally, we design the exact dynamic programming (DP) optimization algorithm to solve this problem and achieve better results. The remainder of this article is organized as follows. First, we present an analysis for our defined problem in section ‘‘Problem statement.’’ Our developed formulation is presented in section ‘‘Optimization model.’’ In section ‘‘DP approach,’’ DP approach is established to solve the problem. In section ‘‘Numerical example,’’ a numerical example is provided to illustrate the application of the model. Finally, the section ‘‘Results’’ summarizes our results and suggests areas of further research.
Problem statement As mentioned, it usually occurs that some special trains require connection to other trains at a given transfer station, while the departure and arrival times of all the special trains at the transfer station cannot be changed. To clarify the problem, we refer to these special trains as fixing trains, for example, high-speed trains, running longer-distance trains, and high-load trains which have a higher grade than the others, and the priority will be given to draw up timetables of the fixing trains. Compared to the fixing trains, the lower grade trains are considered as non-fixing trains (e.g. ordinary trains,
Tian and Niu running shorter distance trains, and low-load trains), namely, the timetables of the fixing trains are predetermined before finishing schedule of the non-fixing trains. Moreover, there are two necessary preconditions that should be known in this study. The first hypothesis is that all trains stop at the transfer station and then traverse it. The other is that the two types of trains stop at independent platforms without operation conflicts. We use ½0, T to denote the study period; H = fiji = 1, 2, 3, . . . , mg to indicate the set of fixing trains, i 2 H; and V to represent the set of non-fixing trains, V = fjjj = 1, 2, 3, . . . , ng, j 2 V , where m and n are the total number of fixing and non-fixing trains, respectively. Di is used to denote the departure time of the fixing train i at the station, and Ai is used to index the arrival time of the train i. As noted above, the departure and arrival times of the fixing trains at the transfer station are pre-specified as input data. Therefore, this article focuses on how to capture the optimal departure and arrival times of the non-fixing trains to synchronize the fixing trains. The key decision variables are defined as follows aj : Arrival time of the non-fixing train j at the transfer station, j 2 V ; dj : Departure time of the non-fixing train j at the transfer station, j 2 V ; sj : Dwelling time of the non-fixing train j at the transfer station, sj = dj aj , j 2 V . As shown in Figure 1, the fixing trains stop at platform A and the non-fixing trains stop at platform B. It should be noted that the non-fixing trains with departure times greater than Ai + 1 + s and less than T can connect the fixing arrival train i + 1, where s is a fixed transfer time, which allows the passengers to get off the feeder train and then walk across the transfer aisle to board the connecting train. Each fixing arrival train has a corresponding time window for the non-fixing departure trains to connect, which is referred to as the
Figure 1. Illustration of the connections at the transfer station.
3 connecting time window, indexed as CWi , i 2 H. The connecting time window can be determined as follows CWi = ½Ai + s, T,
i2H
ð1Þ
Similarly, a fixing departure train has a corresponding time window for the non-fixing arrival trains, which is referred to the feeder time window, denoted as FWi , i 2 H. In practice, the non-fixing trains that arrive at the transfer station in the feeder time window FWi can be connected by the fixing departure train i. That is to say, the feeder time window is actually the effective arrival time of the non-fixing trains between Di1 s and Di s. Except for FW1 = ½0, Di s, the feeder time window is expressed as follows FWi = (Di1 s, Di s,
i 2 Hnf1g
ð2Þ
Optimization model Objective function We introduce the level of service of train synchronization to measure the connection slack time and the number of connections in this article. To establish the objective function, we define the following f (i, j): Level of service of connection from the fixing train i to the non-fixing train j; ~f ( j, i): Level of service of connection from the nonfixing train j to the fixing train i; ai, j : Equal to 1 if the fixing train i is connected by the non-fixing train j; 0 otherwise; bj, i : Equal to 1 if the non-fixing train j is connected by the fixing train i; 0 otherwise. Connection from the fixing train to the non-fixing train. As for a fixing arrival train, Wong et al.6 supposed that it can be connected by one departure train at most, which is consistent with the hypothesis in this article. Figure 2 shows the sequence of events at the transfer station. Common sense dictates that the fixing arrival train i
4
Advances in Mechanical Engineering
Figure 2. Illustration of a connection from a fixing train to a non-fixing train.
Figure 3. Illustration of a connection from a non-fixing train to a fixing train.
cannot be connected to the non-fixing train j 1, which leaves before train i arrives, that is, dj1 62 CWi . Although the departure times of train j and j + 1 are included in the connecting time window, the only nonfixing train j can connect the fixing train i according to the above assumption. Subsequently, we use mi to index the connecting train of the fixing arrival train i, which can be determined by the following equation ( mi =
n o min jjdj 2 CWi j2V
0
if 9dj 2 CWi
,
i 2 H ð3Þ
otherwise
where mi = 0 indicates that none of the non-fixing departure trains can join the arrival train i. The binary variable ai, j is calculated as follows ai, j =
1 0
if j = mi , otherwise
i 2 H, j 2 V
ð4Þ
We use the exponential utility function to reflect the level of services of the connections, which increases with
the decrease in the connection slack time and is defined as below f (i, j) = exp½(dj Ai s) ai, j pi ,
i 2 H, j 2 V ð5Þ
where pi denotes the number of transfer passengers from the fixing train i to non-fixing train. Connection from the non-fixing train to the fixing train. For connecting each non-fixing arrival train, we note that the non-fixing trains with arrival times within the feeder time window can connect with the fixing departure train. As shown in Figure 3, the fixing departure train i can join train j + 1 and j simultaneously, but cannot connect with train j 1. We use vector y i to indicate a set of the non-fixing arrival trains connected by the fixing departure train i, which is formulated as below yi = jjaj 2 FWi , j 2 V ,
i2H
ð6Þ
The binary variable bj, i and the level of service of the connections ~f ( j, i) can be represented as follows
Tian and Niu
5
Figure 4. Example of connection between the last fixing and non-fixing trains.
Figure 5. Illustration of the time interval constraints for two consecutive trains.
bj, i =
1 0
if j 2 yi , otherwise
i 2 H, j 2 V
~f ( j, i) = exp½(D a s) b qj , i j j, i
ð7Þ
i 2 H, j 2 V ð8Þ
where qj denotes the number of transfer passengers from the non-fixing train j to fixing train. In the above formulation, if ai, j = 0 or bj, i = 0, then f (i, j) = 0 or ~f ( j, i) = 0; else f (i, j) and ~f (i, j) 2 (0, 1. Apparently, if f (i, j) = 1 or ~f ( j, i) = 1, a seamless connection is formed between train i and train j. Combined with equation (5) and (8), we can obtain the total level of service for all the trains as follows max Z =
XX
in (a). Therefore, the proposed objective function can simultaneously optimize the connection slack time and the number of connections.
f (i, j) + ~f ( j, i)
ð9Þ
i2H j2V
It should be noted that potential information is hidden in equation (9), that is, the objective function can maximize the number of connections between trains. In this study, given that the departure time of the last nonfixing train is equal to T, the total number of connections depends on the arrival times of the last train. As shown in Figure 4, train m is the last fixing train and train n is the last non-fixing train. Apparently, the connection number in Figure 4(b) is higher than that in (a), and the objective value of that in (b) is higher than that
Constraints 1. The dwelling time sj of the non-fixing train j depends on the departure and arrival times at the transfer station, which must satisfy the maximum and the minimum dwelling time constraints smin sj smax ,
j2V
ð10Þ
where smin and smax denote the minimum and the maximum dwelling times at the transfer station, respectively. 2. To fulfill the service requirements, the departure times of two consecutive trains should satisfy the following inequality (11). Simultaneously, to ensure safe operation conditions, the arrival times must satisfy inequality (12), as shown in Figure 5 Imin dj + 1 dj Imax ,
j2V
ð11Þ
Imin aj + 1 aj Imax ,
j2V
ð12Þ
where Imin and Imax denote the minimum and the maximum headways between two consecutive trains, respectively.
6
Advances in Mechanical Engineering 3. When two consecutive trains come into the station, the time gap between the departure time of the last train and the arrival time of the former train is less than the additional minimum safety headway, as shown in Figure 5 aj + 1 dj t,
j2V
ð13Þ
where t denotes the fixing time interval to ensure the safe departure and arrival of all non-fixing trains at the station. 4. During the study period ½0, T , the arrival times of each train cannot extend beyond this time horizon. In addition to meeting the above requirement, the arrival times of the first train and the departure time of the last train are limited by the following inequality
arrival and departure times of train j + 1 is given, we need to calculate the impossible arrival and departure times of train j. This article uses T a ( j, aj + 1 ) to denote the impossible arrival times of the non-fixing train j when the arrival time of train j+1 is known, and T d ( j, aj , aj + 1 , dj + 1 ) to indicate the impossible departure times of the non-fixing train j when aj , aj + 1 , and dj + 1 are given. First, because each non-fixing train is limited by constant time intervals in constraints (10)–(12), the arrival time window, defined as Fa ( j), is obtained as below Fa ( j) = ( j 1) Imin , j Imax \ ½T smax (n j) Imax , T smin (n j) Imin
ð16Þ
Imax a1 0
ð14Þ
If the arrival time of train j is given, that is, aj 2 Fa ( j), the departure time window of the train j, denoted by Fd ( j, aj ), can be calculated as follows
dn = T
ð15Þ
ð17Þ
DP approach For synchronizing train timetabling problem, the intelligent heuristic algorithms, such as genetic algorithm and simulated annealing algorithm, are widely applied.6–10 Although these algorithms are tractable, so far, it is difficult to appraise the quality of solution obtained by these algorithms, especially for large-scale problem. Thus, DP is designed for the proposed nonlinear integer programming model in this article, which is accurate algorithm and can obtain the optimum solution. It is well known that the shortcoming of the DP is curse of dimensionality. However, due to exquisite design in the algorithm, it is fully able to obtain an accurate solution in a short time for our model.
Stage and state In DP, the state variables of each stage naturally consist of the arrival and departure times of the non-fixing trains. This article sets 1 min as the time unit of the study horizon ½0, T . We use the number of non-fixing trains to denote the stages of the problem. On the premise of the determining stage, it is essential to analyze the inherent relations of state variables for the two adjacent stages. In this problem, when the
Figure 6. Illustration of the time windows.
h n oi Fd ( j, aj ) = aj + smin , min T , aj + smax
Second, when the arrival and the departure times of train j+1 are assigned, that is, aj + 1 2 F( j + 1) and dj + 1 2 F( j + 1, aj + 1 ), the arrival and departure time windows of train j, denoted by Ba ( j, aj + 1 ) and Bd ( j, aj + 1 , dj + 1 ),respectively, are obtained by the derivation from train j+1 to train j, as shown in Figure 6. n o h i Ba ( j, aj + 1 ) = max aj + 1 Imax , 0 , aj + 1 Imin ð18Þ n o Bd ( j, aj + 1 , dj + 1 ) = max dj + 1 Imax , 0 , n oi min dj + 1 Imin , aj + 1 t h
ð19Þ It is clear that T a ( j, aj + 1 ) equals to the intersection of Fa ( j) and Ba ( j, aj + 1 ), and that T d ( j, aj , aj + 1 , dj + 1 ) equals to the intersection of Fd ( j, aj ) and Bd ( j, aj + 1 , dj + 1 ) as follows T a ( j, aj + 1 ) = Fa ( j) \ Ba ( j, aj + 1 )
ð20Þ
T d ( j, aj , aj+1 , dj + 1 ) = Fd ( j, aj ) \ Bd ( j, aj+1 , dj+1 ) ð21Þ For clarifying the above content, a simple case is developed. The number of fixing trains and the non-
Tian and Niu
7
Figure 7. Example of solving the time windows.
Figure 8. Illustration of the transmitting state variables in adjacent stages.
fixing trains are three and five, respectively. The arrival times of the three fixing trains are 1, 6, and 11, and their departure times are 4, 9, and 14, respectively. The other parameters are Imax = 5, Imin = 1, smin = 1, smax = 3, T = 15, t = 1, and s = 2. From equation (16), we can calculate the value of Fa ( j) for the five non-fixing trains as [0, 5], [1, 10], [2, 12], [7, 13], and [12, 14], respectively. For instance, if the departure time and the arrival time of the fifth nonfixing train are 13 and 15, respectively, we can determine that the departure and the arrival time windows of the fourth train are Ba (4, 13) = ½8, 12 and Bd (4, 13, 15) = ½10, 12 from equations (18) and (19), respectively. Finally, T a (4, 13) = ½8, 12 and T d (4, 8, 13, 15) = ½10, 11, as shown in Figure 7.
Recursion equation In Figure 8, when the arrival and the departure times of train j+1 are given, we can calculate the arrival and the departures time windows of train j, T a ( j, aj + 1 ) and T d ( j, aj , aj + 1 , dj + 1 ), according to the above content. Our purpose is to select the optimal arrival and departure times of train j in the time windows T a ( j, aj + 1 ) and T d ( j, aj , aj + 1 , dj + 1 ), respectively. We suppose time k and k are the best arrival and departure times of the non-fixing train j, which are represented as follows.
( k =
arg max dj 2T d ( j, k, aj + 1 , dj + 1 )
X
) ð22Þ
f (i, j)
i2H
k = arg max (
aj 2T d ( j, aj + 1 )
Z j, aj , dj +
X i2H
~f ( j, i) +
( X
max
dj 2T d ( j, aj , aj + 1 , dj + 1 )
)) f (i, j)
i2H
ð23Þ where Z( j, aj , dj ) is an evaluation function, which also denotes the optimal value of the total level of services of train connections. We can calculate the marginal P ~ evaluation function increase as i2H f ( j, i) + P max f i2H f (i, j)g from Z( j, aj , dj ) to dj 2T d ( j, aj , aj + 1 , dj + 1 )
Z( j + 1, aj + 1 , dj + 1 ). By assuming that the initial state is j = 0 and Z(0, a0 , d0 ) = 0, the recursive equation is established as follows
max Z j + 1, aj + 1 , dj + 1 = aj 2T d ( j, aj + 1 ) (
X ~f ( j, i) + max Z j, aj , dj + i2H
( X
dj 2T d ( j, aj , aj + 1 , dj + 1 )
)) f (i, j)
i2H
ð24Þ
8
Advances in Mechanical Engineering
Algorithm procedure Input: the data and parameters are Ai , Di , Imin , Imax , t, smin , smax , s. Output: the departure and the arrival times of non-fixing trains aj , dj . Step 1: (Initialization) Initialize Z( j + 1, aj + 1 , dj + 1 ) = 0, Zd( j + 1, aj , aj + 1 , dj + 1 ) = 0; Step 2: (Recursive) For (j = 1 to n) do For (aj + 1 2 Fa ( j + 1))) do For (dj + 1 2 Fd ( j + 1, aj + 1 )) do For (aj 2 T a ( j, aj + 1 )) do For (dj 2 T d ( j, aj , aj + 1 , dj + 1 )) do P Zd0 ( j + 1, aj , aj + 1 , dj + 1 ) f (i, j) i2H
If (Zd0 ( j + 1, aj , aj + 1 , dj + 1 ).Zd( j + 1, aj , aj + 1 , dj + 1 )) then Zd( j + 1, aj , aj + 1 , dj + 1 ) Zd0 ( j + 1, aj , aj + 1 , dj + 1 ) dj Record processor pd( j + 1, aj , aj + 1 , dj + 1 ) End if End for // dj P~ Z 0 ( j + 1, aj + 1 , dj + 1 ) Z( j, aj , dj ) + f ( j, i) + Zd( j + 1, aj , aj + 1 , dj + 1 ) i2H
If (Z 0 ( j + 1, aj + 1 , dj + 1 ).Z( j + 1, aj + 1 , dj + 1 )) then Z 0 ( j + 1, aj + 1 , dj + 1 ) Z( j + 1, aj + 1 , dj + 1 ) aj. Record processor pa( j + 1, aj + 1 , dj + 1 ) End if End for // aj End for // dj + 1 End for // aj + 1 End for // j Step 3: (Retrieve optimal solution) For ( j = n to 1) do The optimal arrival time of train j is pa( j + 1, aj + 1 , dj + 1 ); temp pa( j + 1, aj + 1 , dj + 1 ); The optimal departure time of train j is pd( j + 1, temp, aj + 1 , dj + 1 ); Output the optimal arrival and departure times of all the non-fixing trains. End for // j
To verify the validity of the algorithm, we calculate the above example using the DP approach, for which the optimal schedule is obtained, as shown in Figure 9; its objection value is 6.14. The connection relationship of each train is expressed in this figure, in which (H1!V1):1.00 means that the objective value of the train connection is 1 (i.e. seamless connection) from the first fixing train to the first non-fixing train.
Numerical example Input data In this section, there are 56 fixing trains and 60 nonfixing trains traversing a transfer station in the study horizon from 6:30 to 21:30. The maximum and the minimum headways for the non-fixing trains at the station are 25 and 5 min, respectively; the maximum and the minimum dwelling times are 10 and 2 min, respectively. The additional minimum safety headway of trains coming into the station is 5 min. The time for passengers to walk across the interchange platform s is
10 min. Furthermore, we assume that the departure and arrival times of the fixing trains are known as shown in Table 1, and the weights of the transfer passengers are equal to 1.
Results Through the DP approach to solve this example, the best departure and arrival times of all the non-fixing trains are obtained as shown in Table 2, during 420.51 s of computational time by C++ language programming on a workstation of Inter Core E5-2609 with 2.50 GHz and 32GB RAM. From Table 2, we can easily summarize the relationships of connections between the non-fixing trains to the fixing trains, as shown in Table 3, where WT denotes the transfer waiting time, V1 is the first nonfixing train, H2 indicates the second fixing train, V1!H2 is the connection from the first non-fixing train to the second fixing train, and V60![ denotes that the 60th non-fixing train is not connected by any
Tian and Niu
9
Figure 9. An illustration of the timetable synchronization of simple example.
Table 1. Arrival and departure times of all fixing trains at the transfer station. Trains
Arrival time
Departure time
Trains
Arrival time
Departure time
Trains
Arrival time
Departure time
Trains
Arrival time
Departure time
1 2 3 4 5 6 7 8 9 10 11 12 13 14
6:50 7:10 7:30 7:45 8:00 8:15 8:30 8:40 8:50 9:00 9:10 9:20 9:30 9:40
6:54 7:14 7:34 7:49 8:04 8:19 8:34 8:48 8:58 9:08 9:18 9:28 9:38 9:48
15 16 17 18 19 20 21 22 23 24 25 26 27 28
9:50 10:00 10:10 10:30 10:50 11:10 11:30 11:50 12:10 12:25 12:40 12:55 13:10 13:25
9:58 10:08 10:18 10:34 10:54 11:14 11:34 11:54 12:14 12:33 12:48 13:03 13:18 13:33
29 30 31 32 33 34 35 36 37 38 39 40 41 42
13:40 13:55 14:10 14:30 14:50 15:10 15:40 16:10 16:40 17:10 17:25 17:40 17:55 18:10
13:48 14:03 14:18 14:38 14:58 15:18 15:44 16:14 16:44 17:14 17:29 17:44 17:59 18:14
43 44 45 46 47 48 49 50 51 52 53 54 55 56
18:20 18:30 18:40 18:50 19:00 19:10 19:20 19:30 19:40 19:50 20:05 20:20 20:35 20:50
18:24 18:38 18:48 18:58 19:08 19:18 19:28 19:38 19:48 19:58 20:13 20:28 20:43 20:58
Table 2. Optimal arrival and departure times of all non-fixing trains. Trains
Arrival time
Departure time
Trains
Arrival time
Departure time
Trains
Arrival time
Departure time
Trains
Arrival time
Departure time
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
6:55 7:18 7:39 7:54 8:09 8:24 8:38 8:48 8:58 9:08 9:18 9:28 9:38 9:48 9:58
7:00 7:20 7:41 7:56 8:11 8:26 8:40 8:50 9:00 9:10 9:20 9:30 9:40 9:50 10:00
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
10:08 10:24 10:44 11:04 11:24 11:44 12:04 12:23 12:38 12:53 13:08 13:23 13:38 13:53 14:08
10:10 10:26 10:46 11:06 11:26 11:46 12:06 12:25 12:40 12:55 13:10 13:25 13:40 13:55 14:10
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
14:28 14:48 15:13 15:34 15:48 16:04 16:18 16:34 16:48 17:04 17:19 17:34 17:49 18:04 18:14
14:30 14:55 15:20 15:36 15:50 16:06 16:20 16:36 16:50 17:06 17:21 17:36 17:51 18:06 18:20
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
18:28 18:38 18:48 18:58 19:08 19:18 19:28 19:38 19:48 20:03 20:18 20:33 20:48 21:03 21:28
18:30 18:40 18:50 19:00 19:10 19:20 19:30 19:40 19:50 20:05 20:20 20:35 20:50 21:05 21:30
10
Advances in Mechanical Engineering
Table 3. Relationships of connections between the non-fixing trains to the fixing trains. From the non-fixing trains to the fixing trains
From the fixing trains to the non-fixing trains
Connection
WT
Connection
WT
Connection
WT
Connection
WT
Connection
WT
Connection
WT
V1!H2 V2!H3 V3!H4 V4!H5 V5!H6 V6!H7 V7!H8 V8!H9 V9!H10 V10!H11 V11!H12 V12!H13 V13!H14 V14!H15 V15!H16 V16!H17 V17!H18 V18!H19 V19!H20 V20!H21
9 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
V21!H22 V22!H23 V23!H24 V24!H25 V25!H26 V26!H27 V27!H28 V28!H29 V29!H30 V30!H31 V31!H32 V32!H33 V33!H35 V34!H35 V35!H36 V36!H36 V37!H37 V38!H37 V39!H38 V40!H38
0 0 0 0 0 0 0 0 0 0 0 0 21 0 16 0 6 0 16 0
V41!H39 V42!H40 V43!H41 V44!H42 V45!H43 V46!H44 V47!H45 V48!H46 V49!H47 V50!H48 V51!H49 V52!H50 V53!H51 V54!H52 V55!H53 V56!H54 V57!H55 V58!H56 V59![ V60![
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 – –
H1!V1 H2!V2 H3!V3 H4!V4 H5!V5 H6!V6 H7!V7 H8!V8 H9!V9 H10!V10 H11!V11 H12!V12 H13!V13 H14!V14 H15!V15 H16!V16 H17!V17 H18!V18 H19!V19
0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 6 6 6
H20!V20 H21!V21 H22!V22 H23!V23 H24!V24 H25!V25 H26!V26 H27!V27 H28!V28 H29!V29 H30!V30 H31!V31 H32!V32 H33!V33 H34!V33 H35!V35 H36!V37 H37!V39 H38!V41
6 6 6 5 5 5 5 5 5 5 5 10 15 20 0 0 0 0 1
H39!V42 H40!V43 H41!V44 H42!V45 H43!V46 H44!V47 H45!V48 H46!V49 H47!V50 H48!V51 H49!V52 H50!V53 H51!V54 H52!V55 H53!V56 H54!V57 H55!V58 H56!V59
1 1 1 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5
Table 4. Comparison of the different schedules. Schedule
Objective
Number of connections
Average dwelling time (min)
Designed plan Regular plan
81.05 (100%) 13.55 (16.72%)
114 (100%) 114 (100%)
2.28 (100%) 5.00 (219.30%)
fixing trains. It should be noted that the total number of connections is 114 and the number of seamless connections (i.e. WT = 0) is 80 in Table 3. Because the seamless connection dominates in the optimum solution, that is to say, the proposed method is effective for this problem. To further verify the effectiveness of the proposed model and algorithm, this article compares the DP and regular connection plan in Table 4, which has even departure and constant dwelling times of 5 min for each non-fixing train. We can see that the objective value and the average dwelling time associated with the designed plan are much better than the regular plan.
quality, which can ensure the maximum number of seamless connection and the minimum transfer waiting time. For generating accurate solution in shorter time, the DP approach is designed to solve the proposed model, and its effectiveness is verified by a real-world example. Moreover, further research should consider several transfer stations in a railway network to optimize the timetable synchronization and design a more efficient optimization algorithm. Declaration of conflicting interests The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Conclusion This study formulated a nonlinear integer programming model to synchronize the fixing trains and the non-fixing trains at a transfer station. In order to clarify the problem, the connecting time window and the feeder time window are introduced in the model. An exponential utility function is adopted as the objective function to measure the level of the train connection
Funding The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The work described in this paper was supported by the National Natural Science Foundation of China (grant no. 71261014).
Tian and Niu
11
References
11. Mohring RH, Schroeter J and Wiboonchuikula P. The values of waiting time, travel times, and a seat on a bus. Rand J Econ 1987; 18: 40–56. 12. Niu H and Zhou X. Optimizing urban rail timetable under time-dependent demand and oversaturated conditions. Transport Res C 2013; 36: 212–230. 13. Niu H, Zhou X and Gao R. Train scheduling for minimizing passenger waiting time with time-dependent demand and skip-stop patterns: nonlinear integer programming models with linear constraints. Transport Res B 2015; 76: 117–135. 14. Liebchen C. The first optimized railway timetable in practice. Transport Sci 2008; 42: 420–435. 15. Hsu SC. Determinants of passenger transfer waiting time at multi-modal connecting stations. Transport Res E 2010; 46: 404–413. 16. Shafahi Y and Khani A. A practical model for transfer optimization in a transit network: model formulations and solutions. Transport Res A 2010; 44: 377–389. 17. Guo Z and Wilson N. Assessing the cost of transfer inconvenience in public transport systems: a case study of the London underground. Transport Res A 2011; 45: 91–104. 18. Sivakumaran K, Li Y, Cassidy M, et al. Cost-saving properties of schedule coordination in a simple trunk-andfeeder transit system. Transport Res A 2012; 46: 131–139. 19. Chowdhury M and Chien S. Dynamic vehicle dispatching at the intermodal transfer station. Transp Res Record 2001; 1753: 61–68. 20. Dou X, Meng Q and Guo X. Bus schedule coordination for the last train service in an intermodal bus-and-train transport network. Transport Res C 2015; 60: 360–376.
1. Hall RW. Vehicle scheduling at a transportation terminal with random delay en route. Transport Sci 1985; 19: 308–320. 2. Lee KT and Schonfeld P. Optimal slack time for timed transfers at a transit terminal. J Adv Transport 1991; 25: 281–308. 3. Teodorovic´ D and Lucˇic´ P. Schedule synchronization in public transit using the fuzzy ant system. Transport Plan Techn 2005; 28: 47–76. 4. Ceder A, Golany B and Tal O. Creating bus timetables with maximal synchronization. Transport Res A 2001; 35: 913–928. 5. Ibarra-Rojas OJ and Rios-Solis YA. Synchronization of bus timetabling. Transport Res B 2012; 46: 599–614. 6. Wong R, Yuen T, Fung K, et al. Optimizing timetable synchronization for rail mass transit. Transport Sci 2008; 42: 57–69. 7. Kwan C and Chang C. Timetable synchronization of mass rapid transit system using multi-objective evolutionary approach. IEEE T Syst Man Cy C 2008; 38: 636–648. 8. Kang L, Wu J, Sun H, et al. A case study on the coordination of last trains for the Beijing subway network. Transport Res B 2015; 72: 112–127. 9. Zhou W, Deng L, Xie M, et al. Coordination optimization of the first and last trains’ departure time on urban rail transit network. Adv Mech Eng 2013; 5: 848292. 10. Niu H, Tian X and Zhou X. Demand-driven train schedule synchronization for high-speed rail lines. IEEE T Intell Transp 2015; 16: 2642–2652.