 Original Paper
 Open Access
 Published:
Sensitivity analysis of train schedule of a railway track network using an optimization modeling technique
European Transport Research Review volume 7, Article number: 3 (2015)
Abstract
Introduction
Modeling of train operations is helpful to plan railway corridor activities and optimize the use of resources. This paper models the train scheduling problem of a single line railway network with main concern to minimize total operational cost and delays with relation to position of sidings.
Method
Problem is modeled as jobshop scheduling problem and solved using Branch and Bound (B&B) technique. Sensitivity analysis is done with changing the number of sidings and trains. Approach used here has quantified the relatedness between the number of sidings and train conflict delays. Objective was to show the impact of number and position of sidings on timetable.
Results
Results are quantified as conflict delays and computational effort involved for each option of sensitivity analysis. Some of sidings which don’t have any impact on scheduling of this track are mentioned using this analysis.
Conclusion
This technique can be used to determine the investments in terms of location and number of sidings because conflict related delays has direct relation with number and position of sidings.
Introduction
The Train scheduling is the art of finding arrival and departure time to and from each station. Efficient design of schedule can improve the level of service of railways. It is one of the initial steps in management of complex railway operations. Even attraction of traveler’s and freight carriers in traveling mode selection is also dependant on the schedule and its level of service. Railways system operations are scheduled based on the train schedule so it also effects the utilization of scarce resources such as cars, engines and crew. In order to optimize the use of infrastructure capacity, some helping tools such as Mathematical programming and simulation techniques are being used to solve long and complex scheduling problem. Albeit, train scheduling had been done manually for more than a century however to prepare train schedules for a rail network without any supporting tools and resolving conflicts “by hand” is rather a slow process. To manually schedule trains even over a small size rail network, a large number of experienced schedulers and ample amount of time is required. Nowadays, in the age of computer it cannot be conceived without the help of a computer [1].
Major use of train operations modeling is to plan railways operations. Railway planning is conveniently divided into two divisions: short to medium term planning and infrastructure planning [2], shown in Fig. 1. These models are also helpful to evaluate the changes to schedule in terms of changing arrival/departure times, addition of extra trains, change in speed etc. Calculation of the impact of these changes in main schedule is known as sensitivity analysis. Investment strategies can be defined using such type of models and sensitivity analysis.
Location of siding is a critical issue in the planning of rail line. It involves determining the number, length, position and vertical and horizontal alignment of line. Main concern in this problem is to place sidings in such a way which minimize total operating cost and total delay. Impact on the schedule, in terms of flexibility and feasibility of schedules, can be assessed by using these models if you want to extend or remove some sidings. The problem of sensitivity analysis in mathematical programming has been discussed by many authors, for example, Higgins et al. [3], Vanderplaats [4], Sobiesky et al. [5], Enevoldsen [6], Castillo et al. [7–10], etc. Burdett and Kozan [11] finds the effect of deviations in sectional running time and additional dwell time on three objectives, namely total train delay, makespan and total time window violation. Burdett and Kozan [12] use sensitivity analysis to find the affected operations by delay in the predictive train schedule and find that this sensitivity analysis is also a measure of robustness and provide information how to control the delays when they occur in real time.
Here considered problem is that improper position and abundant sidings on the network can also cause unreasonable conflict delays. Hence, in order to optimize the investment plan, only those sidings having impact on the timetable should be improved (by adding more tracks to cater more conflicts at that sidings etc.). Others do not have impact in decreasing conflict delays or their presence or absence has same worth, should not be further considered for investment.
This paper is organized as follows; in Section 2 literature review is presented. Section 3 gives details of modeling of train operations with objective functions and constraints. Solution strategy is given in Section 4 and experimental arrangements as well as results are shown in Section 5. Finally, in Section 6 conclusions and recommendations are presented.
Literature review
From the very beginning scheduling has been an active area of research in railways. Even before eighties mostly train scheduling was based on optimization and simulation techniques. Assad [13] is providing a review of the models developed for rail transportation before eighties. Amit and Goldfarb [14] seems to be first to apply the mathematical programming technique to train scheduling problem. Cordeau et al. [15] presented a detailed survey of train routing and scheduling optimization modeling techniques. Sahin [16] and Ghoseiri et al. [17] divided the techniques of railway traffic control techniques into three families: expert systems, simulations and mathematical programming. Over view of rail traffic management provided by D’Ariano [18] classifies the railroad management operations into three categories: Offline timetabling, real time traffic management and dynamic traffic management. Main focus of offline tabling is to design robust timetable such that propagation of delays should be minimum but in case of large delays and blocking of tracks no reasonable plan is robust or reliable [19]. Most of recent studies (D’Ariano [18], Montigel et al. [20], Corman [21–23] and Tornquist [24]) focused on the real time problem to find feasible deadlock free and conflict free solutions within a short time available to take real time dispatching decisions.
A wide range of studies in train scheduling problem have used branch and bound (B& B) technique to solve this problem. Szpigel [25] was first to formulate a model for train scheduling problem and applied Greenberg’s solution [26] framework based on branch and bound technique to solve it. Jovanovic and Harker [27] modeled the problem to minimize the deviation between actual and planned schedules. They used nonlinear integer programming to generate feasible meet pass plan using branch and bound technique. Higgins et al. [28] also used nonlinear integer programming to model the problem with objective to minimize total delay. They developed lower bound estimate based on the number of remaining conflicts in remaining partial schedule. Zhou and Zhong [29]) modeled to minimize total train travel time with three techniques to reduce the search space; i) Lagrangian lower bound estimate, ii) exact lower bound based on remaining conflicts in the partial schedule and, iii) Upper bound using beam search heuristic. D’Ariano et al. [30] modeled real time traffic control as huge job shop scheduling problem with no store constraints. Shafia et al. [31]) formulated to find the robust time table on single line track. They used branch and bound with beam search heuristic to solve the problem. Comparison of results of branch and bound technique with Lingo shows optimality of solution.
Trains scheduling problem is formulated here as resource constrained job shop scheduling problem. To be more specific, it is an optimization problem with set of trains running on single line track. Next sections provide the detail about the modeling and solution strategies used.
Mathematical modeling
Single line train scheduling problem is consideration of this model, in which trains are considered as tasks which are assigned to tracks (considered as machines). In this way jobshop scheduling problem is formulated with set of single line track segments and a set of trains having predefined traveling directions and fixed running times.
Resource constrained jobshop scheduling is considered here to maintain minimum time lag between consecutive tasks of trains. Stations and tracks are considered separate resources. It is assumed that a single line connects two stations with sidings available to perform meet and pass operations. Figure 2 describes the assumed conditions for modeling. Station A and D are terminals and B and C are intermediate station with sidings available for meet pass operations.
Assumptions and inputs
Assumptions used in this modeling are as follows:

The track is considered to be composed of segments, separated by sidings.

It is assumed that each train has pre specified direction and route.

Free running times are assumed to be constant for a track segment.

Travelling of trains are assumed as tasks to be assigned to machines (here tracks and stations are taken as machines).

Sidings are places where trains can cross each other.

A minimum headway will be maintained for trains to follow each other on a track segment.

Trains can have maximum 30 min conflict delay otherwise this option will be neglected.

A station may have capacity to be occupied by more than one trains but only one train capacity per station is considered in here.
The model will require the following data as input to the model:

Fixed running times are calculated for each segment.

Planned departure times of all trains to be scheduled.

Maximum time a train can wait for other train at a siding.
Definition of variables
Table 1 is providing the details of variables used in this modeling with their corresponding symbols
The proposed model
Objective function
Objective function of model is to minimization of total travel time.
It is subjected to following constraints;
Inequality (2) is departure time constraint, which imposes a limit on the actual departure time of trains from starting station. This ensures that actual departure time at starting station is always equal or greater than the planned time of that train at starting station. Equation (3) states that leaving time (finish time of job) of a section must be equal to the entering time plus free running time. Constraint (4) is ensuring that scheduled stop is more than minimum dwell time which is practically required to load and unload passengers and freight trains. Constraints (5) and (6) are headway constraints to ensure safe operations. Constraint (5) is imposing minimum headway requirement for safe operation of trains running, in opposite or same direction, on the same track. While, inequality (6) imposes that minimum headway requirement on two consecutive trains approaching at same station. Constraint (7) gives the upper bound of time which a train can wait for other train at a station.
Either—or relations (8) are decision variables which will decide which train will traverse segment first
Solution procedure
Branch and bound is applied here, which is a general algorithm applied to many areas to find optimum solution of various optimization problems. It consists of enumeration of all candidate solution systematically while a large amount of fruitless candidates are discarded based on upper and lower bound estimation of quantity to optimized.
Search tree of this train scheduling problem using branch and bound technique is generated by representing each conflict among trains as a node of search space, shown in Fig. 3. In each conflict we have two options either one train or second will traverse the segment first, which is branching in this modeling.
The B&B technique applied here is as follows:

Root node is initiated with an empty schedule. Departure time, segment free running time and train directions are input and upper bound is set to 999999.

Constraints are applied at each activity and conflicts (where two or more trains want to use same resource) are identified with position and trains involved in a conflict.

For each available option child nodes are generated.

Active node for further branching is selected based on Depth First Search (DFS).

Lower bound value is estimated for each node.

Node elimination rules are applied to move further with remaining child nodes.

Loop until no more nodes are remaining in list of active nodes or until stop condition of node selection rule is satisfied.
Calculations and results
Track chosen is mainly single line with 156 Km length from station Lalamusa to Rawalpindi, Pakistan. About 30 trains traverse this track on the busiest day of week. There are four different types of trains scheduled over this track, namely; Mail and Express, Intercity, Passenger and Mixed trains. Taking the number of siding variable here, computational effort (in terms of nodes evaluated) and conflict delays are calculated. Figure 4, shows the number of conflicts resolved on all the stations between terminals Lalamusa and Rawalpindi, according to Pakistan Railways schedule [32]. Some intermediate sidings do not have any conflict and some has as many as five per day.
In the sensitivity analysis of this track, we first consider two terminal stations with only 15 intermediate sidings, which are being used to resolve conflicts. Then, those sidings which have only one conflict are ignored one by one, starting from Lalamusa terminal. After that, we ignored the sidings which have two conflicts to get resolved.
Table 2 shows the results of the sensitivity analysis performed. Figure 5 depicts that decreasing the number of locations is resulting increase in conflict delays but the track with 10 to 13 sidings arrangement are producing exactly same results. Results between these sidings are almost straight line for all number of trains. This elaborates that they are producing same impact on network. These are four options, Kaliamawan, Sohawa, Ratial and Kalagujran which are omitted from list of conflict resolving sidings when 10 to 13 sidings are obtained. While the most margin conflict delay in each case is observed to jump from 14 to 13 sidings option, which demonstrate influence of this siding. These results conclude the fact that these sidings were arranged without any such type of conflict delay estimation or it may also be possible that the system available at that time when investments on this track was planned, may not be efficient like this modern one.
Figure 6 shows the impact of decrease in the number of locations where conflicts can be resolved on the computational effort involved in solving the problem. By decreasing sidings number of nodes to be evaluated decreases but the conflict delay increases. Impact of siding on the whole schedule can be judged by this manner. Here the results, show that curve is almost same for 10 to 13 sidings with curves of 12 and 13 sidings lying exactly on each other, strengthening the conclusion of previous discussion that sidings Kaliamawan, Sohawa, Ratial and Kalagujran have a very little effect on the schedule. It also suggests that by fixing some necessary places for sidings large scale problem of train scheduling can be reduced to a simple one but results may be suboptimal.
Conclusions and recommendations
The main focus of this paper is to find the significance of position of sidings on railway network. The problem is formulated as resource constrained job shop scheduling problem, with operational safety constraints. The developed model is solved by branch and bound technique. The proposed methodology is demonstrated by sensitivity analysis of real world problem of single track section of Pakistan Railways. Results are quantified as conflict delays and computational effort involved for each option of sensitivity analysis. Results show that with decrease in the number of sidings delay increases but the computation effort decreases and this phenomenon become prominent for more trains and less sidings. Some of sidings which don’t have any impact on scheduling of this track are mentioned using this analysis. This shows the potential of this technique to get applied at midterm planning level for preparation of strategic investment plans.
The contribution of this paper is to help decision makers, responsible to inspect and maintain the network, to prioritize the elements of network (i.e., sidings, tracks etc.) for improvement. By using such type of techniques they can optimally allocate the available limited resources. Further is the extension of this work by identifying and incorporating the practical considerations of investment on network. Also the future consideration is the development of decision support system for network manager to find optimum strategy for investment.
References
 1.
Petersen ER, Taylor AJ, Martland CD (1986) An introduction to computer aided train dispatching. J Adv Trans 20:63–72
 2.
Higgins A (1996a) “Optimization of train schedules to minimize transit time and maximize reliability.” PhD thesis, Queensland University of Technology, Brisbane, Australia
 3.
Higgins A, Ferreira L, Kozan E (1995) “Modelling single line train operations”. Transportation research record 1489. J Trans Res Board, Railr Trans Res, 9–16
 4.
Vanderplaats G (1984) Numerical optimization techniques for engineering design with applications. McGrawHill, New York
 5.
Sobiesky JS, Barthelemy JF, Riley KM (1982) Sensitivity of optimal solutions of problem parameters. AIAA J 20(9):1291–1299
 6.
Enevoldsen I (1994) Sensitivity analysis of reliabilitybased optimal solution. J Eng Mech, ASCE 120(1):198–205
 7.
Castillo E, Conejo A, Pedregal P, García R, Alguacil N (2001) Building and solving mathematical programming models in engineering and science. Pure and applied mathematics. Wiley, New York
 8.
Castillo E, Hadi AS, Conejo A, FernándezCanteli A (2004) A general method for local sensitivity analysis with application to regression models and other optimization problems. Technometrics 46(4):430–444
 9.
Castillo E, Conejo A, Mínguez R, Castillo C (2006) A closed formula for local sensitivity analysis in mathematical programming. Eng Optim 38:93–112
 10.
Castillo E, Conejo A, Castillo C, Mínguez R, Ortigosa D (2006) A perturbation approach to sensitivity analysis in nonlinear programming. J Optim Theory Appl 128(1):49–74
 11.
Burdett RL, Kozan E (2013) “A sensitivity analysis for predictive train timetables: quantifying the effect of delay by performance profiling.” Queensland University of TechnologyePrints, in press<http://eprints.qut.edu.au/61023/> (Oct. 29, 2013)
 12.
Burdett RL, Kozan E (2014) Determining operations affected by delay in predictive train timetables. Comput Oper Res 41:150–166
 13.
Assad A (1980) Models for rail transportation. Transp Res A 14(3):205–220
 14.
Amit I, Goldfarb D (1971) The timetable problem for railways. Dev Oper Res 2:379–387
 15.
Cordeau JF, Toth P, Vigo D (1998) A survey of optimization models for train routing and scheduling. Trans Science 32(4):380–404
 16.
Sahin I (1999) Railway traffic control and train scheduling based on intertrain conflict management. Trans Res Part B 33(7):511–534
 17.
Ghoseiri K, Szidarovszky F, Asgharpour MJ (2004) A multiobjective train scheduling model and solution. Trans Res Part B 38:927–952
 18.
D’Ariano A (2008) “Improving realtime train dispatching: models, algorithms and applications.” PhD thesis, Delft University of Technology, Netherlands. < http://repository.tudelft.nl/view/ir/uuid:178b886ed6c84d39be5d03d9fa3a680f/> (Oct 13, 2012)
 19.
Vromans MJCM, Dekker R, Kroon LG (2006) Reliability and heterogeneity of railway services. Eur J Oper Res 172(2):647–665
 20.
Montigel M, Kleiner C, Achermann E (2007) “Rescheduling in the ETCS Level 2 environment.” Proc., of the 2nd International Seminar on Railway Operations Modelling and Analysis (CDROM), Hannover, Germany
 21.
Corman F (2010) “Realtime railway traffic management: dispatching in complex, large and busy railway networks.” PhD thesis, Delft University of Technology, Netherlands
 22.
Corman F, D’Ariano A, Hansen IA, Pacciarelli D, Pranzo M (2011) “Dispatching trains during seriously disrupted traffic situations.” International Conference on Networking, Sensing and Control Delft, the Netherlands
 23.
Corman F, D’Ariano A, Hansen IA, Pacciarelli D (2012) Optimal interarea coordination of train rescheduling decisions. Transp Res E 48:71–88
 24.
Tornquist J (2012) “Design of an effective algorithm for fast response to the rescheduling of railway traffic during disturbances”. Trans Res Part C 20:62–78
 25.
Szpigel B (1973) Optimal train scheduling on a single track railway. Operations Research ’72, NorthHolland, pp 343–352
 26.
Greenberg HH (1968) A branchandbound solution to the general scheduling problem. Oper Res 16(2):352–361
 27.
Jovanovic D, Harker PT (1991) Tactical scheduling of rail operations: the SCAN I system. Transp Sci 25(1):46–64
 28.
Higgins A, Kozan E, Ferreira L (1996) Optimal scheduling of trains on a single line track. Transp Res B 30(2):147–16
 29.
Zhou X, Zhong M (2007) Singletrack train timetabling with guaranteed optimality: branchandbound algorithms with enhanced lower bounds. Transp Res B 41:320–341
 30.
D’Ariano A, Pacciarelli D, Pranzo M (2007) Discrete optimization a branch and bound algorithm for scheduling trains in a railway network. Eur J Oper Res 183:643–657
 31.
Shafia MA, Aghaee MP, Sadjadi SJ, Jamili A (2012) Robust train timetabling problem: mathematical model and branch and bound algorithm. Intell Trans Syst, IEEE Trans 13(1):307–317
 32.
Rizvi HI (2010) “Pakistan railways time table, for passenger trains (Staff copy)”. Pak Railways
Acknowledgments
We are thankful to honorable, Dr. Muhammad Irfan, Assistant Professor at NIT, NUST, Islamabad and Dr. Xuesong Zhou, Assistant Professor of the Department of Civil and Environmental Engineering at the University of Utah, for their timely, indispensible continuous help, constructive critique and able guidance. We gratefully acknowledge Pakistan Railways (PR) department for providing us valuable data to complete this work. Especially, I owe my deepest gratitude to Mr. Umar Riaz and Mr. Ehtsham Khan, Divisional Planning Officer and Divisional Signal Engineer of Rawalpindi Division for their cooperation and guidance. We are also grateful to Zohaib Ahmed for his valuable assistance in computer programming.
Author information
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.
About this article
Received
Accepted
Published
DOI
Keywords
 Train
 Railway
 Scheduling
 Optimum
 Siding location
 Optimization techniques