Discrete Dynamics in Nature and Society

Volume 2015, Article ID 419042, 9 pages

http://dx.doi.org/10.1155/2015/419042

## Integrated Optimization of Service-Oriented Train Plan and Schedule on Intercity Rail Network with Varying Demand

School of Traffic and Transportation Engineering, Central South University, Changsha 410075, China

Received 8 December 2014; Accepted 21 January 2015

Academic Editor: Govindan Kannan

Copyright © 2015 Wenliang Zhou et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

For a better service level of a train operating plan, we propose an integrated optimization method of train planning and train scheduling, which generally are optimized, respectively. Based on the cost analysis of both passengers travelling and enterprises operation, and the constraint analysis of trains operation, we construct a multiobjective function and build an integrated optimization model with the aim of reducing both passenger travel costs and enterprise operating costs. Then, a solving algorithm is established based on the simulated annealing algorithm. Finally, using as an example the Changzhutan intercity rail network, as an example we analyze the optimized results and the influence of the model parameters on the results.

#### 1. Introduction

A passenger train operating plan (TOP) is not only the basis of train organization and station operation for enterprise, but also the foundation of train choice for passengers travelling by rail transit (e.g., an urban railway system, intercity railway system, and high-speed railway system). A high-quality TOP directly contributes to improving the level of passenger service and boosts enterprise operation efficiency. The TOP generally should arrange origin and destination stations, run routes, intermediate stations, vehicle numbers, and schedule for trains. More broadly, it also determines the crew scheduling and usage plan of the locomotive or electric multiple units (EMUs). However, the latter part of the TOP is not considered in this paper. Due to the complexity and difficulty of solving the TOP of a large-scale rail network, the TOP problem is usually divided into two subproblems: the train planning problem and train scheduling problem, which are solved one by one. Firstly, the train plan is optimized to arrange the origin and destination station, run route, intermediate stations, vehicle number, and frequency of trains with the aim of improving both the passenger travel benefit and enterprise operation profit. And then the train scheduling problem is solved in order to schedule each train’s departure and arrival time at each station based on the former optimized train plan.

Most research on the train planning problem so far concentrates on designing an optimization model and its algorithm, aiming at getting a better service-level and high-benefit train plan with constraints of line and station capacity and rail resources (e.g., maximum departure number per day and available vehicles, etc.). Anthony [1] gave a basic frame for solving the passenger train planning problem as early as 1965. Chang et al. [2] proposed a multiobjective model and its algorithm of a train plan with the aim of reducing both enterprise operating costs and passenger travel cost. Yaghini et al. [3] took into account the passenger direct ratio besides travel costs in optimizing train plan. Wang et al. [4] provided an optimization method for a periodic train plan. Recently, some studies [5–7] combined the passenger train choice problem into the train plan problem and accordingly proposed the bilevel programming method of a train plan based on the leader-following relation between formulating a train plan and passenger train choice. For more examples of train plan optimization, see Schmidt and Schöbel [8], Goossens et al. [9], and Schöbel and Scholl [10].

The train scheduling problem is to generally find an optimal or satisfying train timetable with a given optimization objective, subject to a lot of operational and safety constraints (e.g., arrival and departure headway requirements). A branch-and-bound algorithm, Lagrangian relaxation algorithm, and simulation method are widespread used to solve this problem. Higgins et al. [11] developed a branch-and-bound solution framework and some heuristic techniques to find feasible train timetables, and Zhou and Zhong [12] further incorporated some effective rules into the branch-and-bound algorithm for improving its solving efficiency. Brännlund et al. [13] proposed a Lagrangian relaxation approach to find a profit-maximizing train timetable. Dorfman and Medanic [14] proposed an effective simulation approach called TAS to solve the large-scale and real-world train scheduling problem, and Li et al. [15] and Xu et al. [16] further improved TAS by introducing some modified rules and efficient strategies inserted into it. For more studies of train scheduling, refer to Jong et al. [17], Sahana et al. [18], Yalçinkaya and Mirac Bayhan [19], and Zhou et al. [20].

Obviously, optimizing a train plan and train schedule successively has some drawbacks in enhancing the passenger service level and satisfying varying travel demands of intercity rail. First, with the lack of time information, when optimizing a train plan, it is impossible to describe in detail passenger transfer time, wait time, and in-vehicle time determined exactly by a train timetable. Thus, improving passenger travel time is beyond the train plan problem to some extent. And the optimization of a train timetable generally aims to minimize the total travel time of trains, but not of passengers, because it has no passenger volume information about the train. Moreover, this two-stage method cannot make trains’ time distribution fit passenger demand distribution better in one day. To overcome the drawbacks thoroughly, combining the train plan and train schedule as a whole, that is, TOP, an integrated optimization of them is an effective alternative. Compared with the two-stage approach, the integrated optimization method has the following differences.(1)It is to optimize train plan and train schedule simultaneously based on a rail network and its passengers demand distributions, while the two-stage method is firstly to determine a train plan which is taken as one input when scheduling trains latter. Thus, the integrated method has the decision variables and constraints of both train planning and train scheduling.(2)Although reducing passengers travel costs and enterprise operating costs is taken as the objective in both two methods, their calculation is based on a train schedule in the integrated method while that is only based on a train plan in the two-stage method.

It should be noted that the efficiency of this integrated optimization is not a knotty obstacle for an intercity rail network with a relatively small scale owing to the improvement of computer speed and the development of modern optimization algorithm.

The main contributions of this paper are as follows.(1)An integrated optimization model of train planning and scheduling is built to minimize both passenger travel costs and enterprise operating costs. It can more exactly and fully describe passenger travel costs.(2)A solving algorithm based on simulated annealing algorithms (SA) is designed to solve the proposed optimization model.

The remainder of this paper is organized as follows. In Section 2, we describe the problem of TOP optimization and analyze passenger travel costs and enterprise operating costs. In Section 3, we discuss the constraints and multiobjective function and present the integrated optimization model of TOP. In Section 4, we design a solving algorithm based on SA. Moreover, the case of the Changzhutan intercity rail network is used to illustrate the application of the proposed model and algorithm and also to analyze the impact of their parameters on passenger travel costs and enterprise operating costs in Section 5. Finally, the conclusion and further study are given in Section 6.

#### 2. Problem Description

An intercity rail network is represented by a set of stations and a set of double-track sections in which and show, respectively, the down and up direction sections connecting station and . The mileage of is denoted by or by .

Intercity rail passenger flow has the obvious characteristic of fluctuating with the time of day, and it has peak hours and low hours of travel. So, it is called varying demand in this paper. The varying demand from origin to destination in one day is denoted by a function of time denoted by .

For simplification, the following assumptions are made based on the actual condition of intercity railway in this paper.(A1)The research range is limited to an independent intercity rail network and passenger total demand of one day among stations is not affected by travel costs determined by the TOP.(A2)The intercity rail network provides only one speed type (e.g., 200 km/h) of train servicing passengers, and all vehicles have the same capacity for passengers.(A3)The network capacity is enough to satisfy passengers travelling by the mileage-shortest route; thus, all passengers can travel with those routes.(A4)Passengers get on the train according to their arriving order.

The TOP can be expressed as a set of trains , and each train is made up by route, vehicle number, and schedule. The route of train is denoted by , which is composed of a set of stations or a set of sections, the vehicle number of train is expressed by , and the sequences of departure time and arrival time arranged by ascending order are denoted by , respectively. Meanwhile, the arrival time and departure time of train at station are denoted by , respectively.

##### 2.1. Analysis of Passenger Travel Costs

Passenger travel costs mainly consist of wait time at the origin station, transfer time including necessary walking time and wait time during the process from getting off the train to getting on board of another train at the transfer station, in-vehicle time, and fare spending. Considering the additional inconvenience produced by transfer, an additional cost is imposed on transfer passengers besides transfer time. This additional cost contributes to avoiding transfer for passengers when they have other nontransfer paths for travelling. Under the assumption (A3), passenger fare spending calculated by travel mileage multiplying price rate per mileage is a constant and is not considered in this paper.

Wait time at the origin station depends on passengers’ arriving time and boarding time. When passengers arrive at station at time and wait there until boarding train at time , their wait time can be calculated by

When passengers transfer in station with train and transfer out with train , their transfer time can be determined as follows according to departure time of train and arrival time of train :Moreover, their additional cost of transfer can be given as multiple of their transfer time; namely,

In-vehicle time comprises train operation time and dwell time of each intermediate station. When passengers travel with train from station to station , their in-vehicle time spent on this train is

Passenger travel cost is the total of wait time, transfer time and transfer additional cost, and in-vehicle time. For passengers travelling by path from station to station , their travel cost iswhere is the travel path of passengers, is the first train for passengers of path travelling, and shows passengers of path needing to transfer from train to train at station . And means that passengers of path have to travel by train when going from station to station .

##### 2.2. Analysis of Enterprise Operating Costs

With the action of assumptions (A1) and (A3), an intercity rail enterprise has a fixed ticket income, the product of passenger flow, and its corresponding fare. Thus, the operating costs are considered only in this paper. Operating cost is the sum of the following three components: that is, train organization cost , rail line cost , and rail vehicle cost . It is represented as

Train organization cost is the fee spent mainly on the train crew and the organizing operation at the train’s origin station. It is the product of train number and the organization cost per train; namely,

Rail line cost is generated for line maintenance and is directly related to the total travel mileage of a train. It can be expressed aswhere is the maintenance cost per kilometer line and is the travel mileage of train .

Vehicle cost is used for vehicle maintenance. It can be calculated aswhere is the fixed cost for each vehicle maintenance and is the average maintenance cost of vehicle per mileage.

#### 3. Optimization Model

##### 3.1. Analysis of Constraints

Train origin and destination must be a technical station that has the areas and facilities for a train’s technical operation and servicing work. The set of technical stations on an intercity rail network is denoted by , and then the origin station and destination station of train must be included in set ; namely,

The vehicle number of a train should be set for an upper bound limited by the length of station track. The train vehicle number of upper bound for all travel routes is expressed as . That is,Meanwhile, the vehicle number of a train should not be less than the number that makes this train operate without profit when it reaches its passenger capacity. When train reaches its passenger capacity, its operating cost and ticket income can be given, respectively, bywhere is the fare rate per passenger per kilometer and is the passenger capacity of vehicle.

To make train profitable, its ticket income should be more than the operating cost ; that is,Based on that, the vehicle number of train should satisfy another constraint aswhere is the symbol of rounding up.

The train schedule should meet the constraint of operating time period from time to time . That is,

Two same-direction trains departing from or arriving at the same station should satisfy the minimum safety time interval; namely,where are separately the minimum safety time interval between departure operations and between arrival operations.

In addition, a train’s departure and arrival time in section should meet the constraint of minimum total run time. The technical speed of the train is denoted by , and train additional times for starting and stopping in section are expressed by , respectively. That is,where is the symbol of describing whether train should stop at station or not. If train stops at station , then ; otherwise, .

Meanwhile, a train’s arrival and departure time at the station should satisfy the constraint of minimum dwell time related to the volume of passengers getting on and getting off train. That is,where is the minimum dwell time of train at station for ensuring that passengers get on and off safely. It can be given bywhere is the volume of passengers getting on and getting off train at station , is the maximum number of passengers for getting on and off the train in one minute, and is the parameter affecting the increase of train dwell time.

##### 3.2. Objective Function and Optimization Model

The cost minimization of intercity rail transit system, that is, minimizing both enterprise operating costs and passenger travel costs, is mostly used as the optimization objective of the train plan in many studies [2, 5–7]. In this paper, it is also adopted as the optimization objective of the TOP, but passenger travel costs including not only in-vehicle time, but also wait time and transfer time, are more full-scale and are calculated more exactly.

The objective function is expressed as the weighted sum of an enterprise’s operating costs and passengers’ travel costs. That is,where is the weight parameter balancing the enterprise’s operating costs and passengers’ travel costs, is the average time value of passengers, and is the volume of passengers of path from origin to destination .

Based on the above analysis, with the decision variables of train set , the optimization model (M1) of the TOP consists of the objective function (20) and all constraints (10), (11), and (14) through (18). It should be noted that model (M1) has to determine not only each train’s route, vehicle number, and schedule, but also train number.

#### 4. Optimization Algorithm Based on SA

##### 4.1. Algorithm for Passenger Train Choice and Calculation of Passenger Travel Costs

All passengers have to obey the rule of time-space priority when choosing a train. In other words, passengers arriving at a station earlier have the priority of boarding the train, but they also have to yield to those on the train as to the limit of train capacity. For that, passengers are distributed to trains according to the ascending order of train departure and arrival time treated as the decision-making time.

At the decision-making time of a train departing, which passengers waiting in the station will choose this train and how many of them can get on it should be determined. Passengers waiting in the station can be divided into two parts, original departing and transferring passengers. The sets of original departing passengers and transferring passengers at station are denoted by and , respectively. For original departing passengers , their earliest arriving time is and destination is . And for transferring passengers , their transferring in time is , destination is , and their number is .

When train departs from station , passengers whose cost-shortest path from station to their destination contains train need to get on it, but the number of those who can get on board successfully depends on the empty seat number of train . Based first-arriving-first-boarding principle, the number of passengers getting on the train is given aswhere are the sets of original departing passengers and transferring passengers needing to get on train at station and is the time boundary deciding what time passengers arriving can get on board of the train. It means that passengers arriving before can get on the train, but those arriving after this time cannot get on board, because there are no empty seats left. When the passenger total number of is less than , then . Otherwise, the value of can be calculated by solving the following equality:

The wait time, transfer time, and additional cost for transfer at station of passengers getting on train can be calculated by

At the decision-making time of train arriving station , passengers having arrived at their destination or whose cost-shortest path from station to their destination does not include train again have to get off. The set of passengers arriving at station with train is denoted by , with the subset of those getting off the train being denoted by . For passengers , their destination is , and their number is . The in-vehicle time of passengers from the rear station to station can be calculated byAnd the total of their in-vehicle time is given as

Based on the above analysis, Algorithm 1 for passenger train choice and calculation of passenger travel costs is described as follows.

*Algorithm 1. *
Consider the following.*Step 1* (initialization). Set and of each train and of each station. Find all original departing passengers of each station and let as the total travel costs of passengers.*Step 2* (find the earliest decision-making time ). If corresponds to departure time , then go to Step 2.1; otherwise, if corresponds to arrival time , then go to Step 2.2.

*Step 2.1*. Determine boarding passengers , and their number (), (). Then, calculate their wait time , transfer time , and transfer additional cost . Set and update empty seats number , transferring passengers , original departing passengers , and train passengers . Go to Step 3.

*Step 2.2*. Determine getting-off passengers and calculate their in-vehicle time . Then, set and update empty seats number , transferring passengers and train passengers .

*Step 3* (judge whether there are other decision-making times or not). If yes, then return to Step 2. Otherwise, is the passengers’ total travel costs, and terminate this algorithm.

##### 4.2. The General Algorithm for Optimizing TOP

###### 4.2.1. Generation of an Initial Solution of TOP

Trains of the initial solution are created one by one based on the varying demand on the network. A new train is organized with departing time when the product of its boarding passengers’ number and their average wait time including wait time and transfer wait time at a technical station satisfiesand its vehicle number is determined bywhere is the control parameter for organizing one new train and is the average usage rate of train capacity.

From formula (26), we know that a train should be organized either when there are enough passengers waiting for boarding, or when some passengers have waited for too long.

The newly created train is assumed to stop at all the passed stations during the process of generating the initial solution. When it arrives at the next technical station, if the sum of passengers waiting to get on and those on the train is more than percent of its capacity, it moves forward along the direction with the largest value of . Otherwise, it stops here as its destination.

###### 4.2.2. Generation of a Neighbor Solution of TOP

A new solution is generated by changing the train’s route, stop stations, vehicle number, and starting time of the current solution with the probability method. As for the train route, it is adjusted by adding some new sections to its front and end or removing partial sections depending on train’s operating costs and passenger volume of them. Two Boolean variables and both created by Bernoulli distribution are, respectively, used to indicate whether partial sections should be added to the train route and removed from it. If , the corresponding sections are added to the train route, and when , the corresponding sections are removed from it. As for the train sections between two technical stations, the probability of is given bywhere , , and are the passenger-kilometer, passengers’ average travel costs, and operating cost in train section respectively, and is the current temperature.

For new sections , the probability of is given bywhere is the number of passengers transferring from or transferring to the current train and is their average transfer cost.

The alteration of train stop stations is also based on a Bernoulli distribution. For station of train , the probability of a train’s stop is given bywhere is the number of passengers getting on and off the train and is the average travel cost of passengers getting on the train at station .

The modification of both the train vehicle number and starting time is given as follows:where are the value of current solution and neighboring solution, respectively, and is generated by the next probability density function, which makes the vehicle number and starting time of one train with low benefit or efficiency have a high adjustment chance. Considerwhere is determined by the indexes of train . For train vehicle number and starting time, it is given, respectively, bywhere is the passenger kilometer, is the average operating cost per vehicle, is the total wait time and transfer cost, and is the number of passengers on the train.

In formulas (28), (29), (30), and (32), the calculation of their probabilities is mainly based on train’s service level, passenger volume, operating costs, and the current temperature as a parameter of SA, and the higher the current temperature is, the larger their probabilities are.

With the above generation method of an initial solution and a neighborhood solution, the general Algorithm 2 based on SA for optimizing TOP is described as follows.

*Algorithm 2. *
Consider the following.*Step 1* (initialization). Generate the initial feasible solution under the initial temperature and then calculate the objective value based on simulating passenger train choice and calculating passenger travel costs with Algorithm 1. Set as the current running times of the outer cycle. Let be the current running times of the inner cycle and let be the current temperature. Set as the minimum temperature of the outer cycle and as the number of iterations at each temperature.*Step 2* (construction of neighborhood). Generate a new solution and calculate its objective value corresponding to based on simulating passenger train choice and calculating passenger travel costs with Algorithm 1.*Step 3* (metropolis sampling). When , then set ; otherwise, if ( is a random number in and is the difference between them, the current and optimal solution), then let . Then, set .*Step 4* (test of the termination criterion of the inner cycle). If , terminate the inner cycle and let ; otherwise, return to Step 2.*Step 5* (cooling schedule). Calculate the temperature .*Step 6* (test of the termination criterion of the outer cycle). When , terminate this algorithm and output the optimal solution; otherwise, return to Step 2.

#### 5. Numerical Studies in Changzhutan Intercity Rail Network

The Changzhutan intercity rail network in the cluster including the cities of Changsha, Zhuzhou, and Xiangtan of China is planned to be completed in 2016. It consists of 21 stations and has the total length of 96 km. The above algorithm is developed with computer language C# on the platform of Microsoft Visual Studio.net and runs on the computer with the system of Microsoft Windows XP (Home Edition), RAM configuration of Pentium(R) Dual-Core CPU E5800, 3.19 GHz, 2.96 GB. The values of parameters in model (M1) and its solving algorithm are given in Tables 1 and 2, respectively.