Table of Contents Author Guidelines Submit a Manuscript
Discrete Dynamics in Nature and Society
Volume 2014, Article ID 232890, 8 pages
Research Article

An Operation Optimization for Express Freight Trains Based on Shipper Demands

1School of Traffic and Transportation, Lanzhou Jiaotong University, Lanzhou 730070, China
2School of Transportation & Logistics, Southwest Jiaotong University, Chengdu 610031, China

Received 18 November 2013; Revised 16 December 2013; Accepted 24 December 2013; Published 12 January 2014

Academic Editor: Wuhong Wang

Copyright © 2014 Yuzhao Zhang and Yusong Yan. 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.


The supreme goal of railway express freight transportation is to meet the various demands of shippers. This paper considers the optimization problem of the operation plan for express freight trains based on shipper demands, including transport volume, service frequency, and transit time. An integer programming model that takes maximum shipper demands as optimized objective is proposed to realize the assignment of trains to candidate paths. In this model, the number of marshalling cars for express freight train is set as a decision variable rather than a constant to better satisfy the demand characteristics. A heuristic solution algorithm based on genetic algorithm is then designed. Finally, a numerical case is applied to verify the feasibility of the model and the algorithm.

1. Introduction

Express freight has an important role in the whole freight transportation system. With the constant increase in energy cost, the increasing seriousness of traffic congestion, and environmental pollution, the express freight transportation system that takes aviation and expressway as the main modes reflects many problems [1]. Many countries have paid more attention to the development of rail express freight transportation, which is more energy-saving and environment friendly [2]. Being the foundation of the railway freight transportation organization, operation plan of express freight trains is to determine the set of trains to satisfy the express freight demands. Compared with bulk freight, express freight has the characteristics of small batch, excellent timeliness, and high value, and the shippers have higher requirements on service quality, but lower sensitivity on the transport cost. Consequently, the characteristics and shipper diversified demands of express freight should be considered when determining and optimizing the train operation plan.

In the past decades, various attempts have been made to gain optimal transportation scheme for railway express freight demands. These attempts mainly involve three kinds: design of formation plan for direct freight trains, service network design of express freight, and determination of operation plan for express freight trains.

Formation plan of direct freight trains determines the transport scheme of car flows by direct trains, including direct trains in the loading place and the technical station [3]. Many express freight trains are direct trains, and freight demands can be converted into car flows; thus, its determination method can provide references for the optimization of operation plan for express trains. Lin et al. [3] have researched on train formation plan problem for a long time and achieved mature modeling approaches that take minimum time consumption of car flows as objective and 0-1 programming model as basis. Crainic et al. [4] established a mixed integer planning model for railway freight transportation to realize the strategy plan of enterprise resources, which aims to minimize the operating cost of transportation enterprise. Marín and Salmerón [5] formulated a model of assigning the trains and the demand of cars to routes for rail freight networks and designed different heuristic algorithms involved in simulated annealing, Tabu search, and descending to respond to large scale network. Yaghini et al. [6] proposed a population-based genetic algorithm for railway blocking problem and then compared the solution quality and the computational time of the algorithm with the optimization solver software, which showed that the proposed algorithm has high efficiency and effectiveness. Martinelli and Teng [7] built a nonlinear integer programming model for railway operation plan taking the minimum operation time as objective and presented neural network to solve the model.

Designing reasonable service network to meet express freight demands is another important aspect. Crainic [8] classified the service network design of freight transportation enterprise into service frequency design and dynamical service network design and established two kinds of frequency design models with dynamic service network design model based on space-time network. Lin and Chen [9] contrived hub-and-spoke service network with the limitation of transit time for express delivery enterprises. Although this method has no direct influence on railway express transportation, the idea can provide experience for the service network design of railway express freight. Ceselli et al. [10] established three models for the express service network of Swiss federal railways applying different methods and designed corresponding solution methods that include commercial solver approach, branch-and-cut approach, and column generation-based approach.

In recent years, the number of studies on express freight train operation plan has been increasing. Ben-Tal et al. [11] proposed an operating-plan model (OPM) for the Santa Fe Railway and designed a combination algorithm using genetic and tabu searches; the application of the OPM reduced 4 percent to 6 percent of the operation costs for the company. Wang and Liu [12] discussed the operation optimization problem of special parcel trains without fixed demands and capacity constraint and determined the running sections, number, and marshalling of trains by establishing a linear programming model. Yano and Newman [13] took the minimization sum of transportation cost and holding cost as objective and formulated an optimization model and an algorithm for the scheduling problem of trains and containers with due dates. Crevier et al. [14] constructed a bilevel model for the operation plan of rail freight transportation comprehensively considering the pricing policy and network capacity and then designed an exact solution approach based on branch-and-bound algorithm. Guo et al. [15] put forward a linear integer programming model for the operation plan of scheduled transit trains and solved the problem using Lingo software.

These studies have provided useful references for the design and optimization of express freight trains operation plan. Nonetheless, most of the present researches formulate models based on the operation with less consideration on the shipper demands. The number of marshalling cars for express freight trains is usually set as a constant. According to the characteristics of express freight, the operation plans of express freight trains with flexible marshalling are more suitable. Furthermore, the problem of operation plan for express freight trains is often solved by the exact solution methods, which cannot work when the network scale is large. This paper focuses on shipper demands of express freight and proposes a model considering flexible marshalling of express freight trains, and a heuristic algorithm will be designed to solve the model.

The remainder of the paper is organized as follows. An optimization model for operation plan of express freight trains based on shipper demands is established in Section 2, and then the solution algorithm on the basis of genetic algorithm is designed in Section 3. In Section 4, a numerical example is provided to verify the effectiveness of the model and the algorithm. The last section gives some conclusions and the possible areas of further research.

2. Model Formulation

2.1. Problem Statement

Express freight trains can be sorted into two classifications, namely, through trains and transit trains, depending on their operation. For example, Figure 1 shows a simple railway network composed of three organization stations of express freight and two sections. The trains with origin and destination stations ( and ), which only consist of car flows from to and without reorganization in station , belong to the first classification, whereas the others belong to the second classification. By organizing transit trains, the converging time of car flows can be reduced, but the transit time and transit cost will increase. This paper only considers the operation problem associated with the first classification express freight trains. In the light of shipper demands with consideration to the benefit of railway transportation enterprise, the origin and destination stations, running paths, number of marshalling cars, and running frequency of express freight trains will be determined under the network condition. In this paper, the number of marshalling cars was set as a decision variable, so the operation plan with flexible marshalling was formulated.

Figure 1: Illustration of express freight train kinds.

Aside from the basic requirement on security, shippers of express freight have higher expectation on transportation services, including satisfaction degree of demand, transport time, and transport convenience but have lower sensitivity to transport cost [15]. This paper mainly considers these expectations of shippers when establishing the model, which takes maximum transport volume as the objective and meeting the requirement of transport time and convenience as constraints. In Particular the transport convenience constraint is realized by making the running frequency of express freight trains more than the desired service frequency of shippers. In addition, constraints in the number of marshalling cars and station capacity, as well as section capacity are also considered.

The operation plan of express freight trains is a complex integrated optimization problem, and the following assumptions are made to reduce the difficulty in establishing the model.(1)The stations being considered in this paper are only the organizing stations and handling stations of express freight, which have favorable distribution conditions, and can meet the requirement of departure and arrival for the whole train.(2)The classification and transportation conditions of goods are not considered, while supposing the grades of all the express freight trains are the same.(3)The loading capacity of each car is identical, indicating the freight volume loaded on every car is the same. Furthermore, freight demands are converted into car flows of each day, and the traction tonnages of each section are also denoted by the traction cars.(4)The candidate paths of each express freight demand are determined, and the running path of the same demand is consistent.

2.2. Definitions and Notations

We define the following notations to describe the proposed model:: railway physical network;: set of station in , and we denote a station by ;: set of edge in , and we denote an edge by ;: set of express freight demand , and we denote a demand by ;: origin station set of ;: destination station set of ;: freight volume of , and we transfer it into number of cars;: desired service frequency of ;: desired transit time of , including the overall time from origin to destination;: set of path for ; we denote a path by , which can be expressed by a serial set of stations, and the first element is the original station of the path, while the final element is the destination station;: set of all paths, and ;  : transit time by path ;: service frequency on path , and it is expressed by the number of trains operating on path every day, while its value is within a range of nonnegative integers;: departure and arrival capacity of station , ;: carrying capacity of edge , .

We define two decision variables as follows.: binary variable that denotes the choice of path for demand ;   equals to 1 if freight was distributed to path , indicating express freight trains are operated on path , while 0 otherwise.: number of marshalling cars on path , , if ; then , otherwise if , then .

2.3. Objective Function

This paper takes maximum transport volume as the objective function, so that the operation plan can transport freights as much as possible to satisfy shipper demands. The objective function can be expressed as follows.

2.4. Constraint Conditions
2.4.1. Service Frequency Constraint

The service frequency of express freight trains should not be less than the minimum desired frequency of shippers. The service frequency of demand on path can be expressed by ; thus, for , the constraint is expressed by the following inequality:

Only if path was selected to transport freight, there will be trains operating on this path, and the service frequency belongs to a range of positive integers which are bigger than . Otherwise, equals 0. Consequently, the following formula is obtained:

2.4.2. Transit Time Constraint

Due to the high timeliness of express freight, the transit time should be within the requirement time range in the process of express freight transportation. The expression is as follows:

2.4.3. Number of Marshalling Cars

The number of marshalling cars for express trains will be equal to 0 if . Otherwise, if , the number will be within a range of positive integers, of which the upper limit value is the minimal traction cars of each section on the path and the lower limit value should ensure the benefit of railway enterprise. As a result, the number of marshalling cars for express freight trains can be expressed by the following formula: where and , respectively, denote the minimum number and the maximum number of marshalling cars for express freight trains on path , .

2.4.4. The Relationship between Transport Volume and Demand

For , the overall volume transported by all paths should not exceed the amount of transportation demand, which can be expressed as follows:

2.4.5. Car Flow Constraint

According to the fourth assumption, one group car flow can only be allocated to one path then, for , we can get the following inequality: When , the car flow of is distributed to a path , indicating is transported by trains operating on path . If , then is not distributed to any path, indicating it is not transported.

2.4.6. Carrying Capacity Constraint of Each Section

The number of running trains on each section should not exceed its carrying capacity. Set as an auxiliary binary variable; takes value 1 if and 0 otherwise; then, the constraint of carrying capacity can be expressed as follows:

2.4.7. Departure and Arrival Capacity Constraint

The total number of trains departing from station and arriving at it could not exceed its departure and arrival capacity, which can be expressed by the following formula: where for , incidence vector takes value 1 if and 0 otherwise.

3. Algorithm Design

The proposed model is a nonlinear integer programming model, which belongs to NP problem. It is difficult to solve by traditional exact solving methods and commercial solver, especially when the network scale is large, getting the solution is nearly impossible [16]. Thus, we design a heuristic genetic algorithm for the problem to get a satisfying solution within a tolerable time range.

3.1. Coding Approach

Aiming at the two-group decision variables of the model, a bilayer coding structure [17, 18] is adopted in this paper. A binary number embedded with the upper layer coding denotes the choices of paths, where the value 1 indicates the path being selected and 0 otherwise. A nonnegative integer embedded with the lower layer coding indicates the number of marshalling cars for express freight train; if a path is chosen, then the integer is within [, ]; otherwise, the integer is zero. The length of chromosome equals the total number of candidate paths .

Figure 2 illustrates a bi-layer coding chromosome, the length of which is 12. The number range of marshalling cars is , and six paths are chosen to operate express freight trains, whose numbers of marshalling cars are, respectively, 20, 25, 22, 30, 24, and 20.

Figure 2: Illustration of chromosome coding approach.
3.2. Initialization of Group

Get the value of the upper layer gene by generating a binary array randomly with the length of and then corresponding gene value of the lower layer is formatted in view of the binary array. Supposing the population size is , the initial population can be obtained by the above mentioned way. All chromosomes have to be tested according to the constraints. If an individual is infeasible, necessary adjustment will be carried out. Particularly, the total number of chosen paths for any demand should not exceed 1; in order to enhance the solving efficiency, we let the initial number equal 1. The taking value 1 associated with demand should be reduced by 1 with descending order if the total number of chosen paths exceeds 1, until the condition is satisfied. Contrarily, if the total number of chosen paths for demand equals 0, then choose a candidate path randomly associated with . The number of marshalling cars for each path should be adjusted with the change of . As showed in Figure 3, the values enclosed in each couple curly braces represent the choice of each demand, and a new chromosome can be obtained after the adjustment of the original one if the values of and are 20 and 30, respectively. Moreover, chromosomes should also be tested and adjusted to ensure their feasibility after any genetic operation.

Figure 3: Adjustment of unfeasible chromosome.
3.3. Fitness Function

For the proposed model, the objective function is a maximum problem, while the function value of which is nonnegative, so the objective function of the proposed model is taken as the fitness function.

3.4. Selection Operator

Roulette selection method is adopted in this paper. In each round, a uniform random number between zero and one is generated as the selection finger to determine the candidate individuals. The best individual preservation strategy is also applied to ensure the present best individual not being destroyed by genetic operation.

3.5. Crossover Operator

In view of the bi-layer coding mode, a synchronous crossover approach of the upper layer gene string and the lower layer gene string is adopted to guarantee the feasibility of offsprings. Meanwhile, single-point and two-point crossover methods are comprehensively applied. The procedure of the crossover operation is as follows.

Step 1. Set the crossover probability and generate a random number of uniform distribution within to be the judgment criterion.

Step 2. Do crossover operation if , where if ; then select a crossover point randomly and exchange the gene strings associated with both the upper layer and the lower layer beside the crossover point of parental chromosomes to get two offspring chromosomes. If , two crossover points are selected randomly, and the gene strings between the two crossover points of parental chromosomes are exchanged to obtain offspring chromosomes.

Figure 4 gives an illustration of single-point crossover operation and two-point crossover operation.

Figure 4: Illustration of crossover operation.
3.6. Mutation Operator

Due to the fact that the number of marshalling cars is influenced by the choice of the path, which means that the values of the lower layer gene string are influenced by the values of the upper layer gene string, the following algorithm is designed.

Step 1. Mutation probability is set, and a random number of uniform distribution at is generated to be the judgment criterion.

Step 2. One mutation point is selected randomly to be the mutation position of the upper layer gene and the lower layer gene.

Step 3. Do mutation operation if . Firstly, mutation is operated on the upper layer chromosome, and then the value of the lower layer gene is adjusted according to the upper layer. If the value of the upper layer gene changes from 1 to 0, then the value of the corresponding lower layer gene turns from a positive integer to 0. Inversely, if the value of the upper layer gene changes from 0 to 1, then the value of the corresponding lower layer gene turns from zero to a positive integer.

The illustration of the mutation operation is shown in Figure 5.

Figure 5: Illustration of mutation operation.

4. Numerical Example

The railway physical network shown as Figure 6 is structured to verify the proposed model and the algorithm. In this figure, the circles indicate the railway stations that deal with the services of express freight trains, while the edges indicate the sections. Relative parameter values are shown in Tables 1 and 2. The information of express freight demand , demand volume, desired minimum service frequency, and maximum transit time of shippers, as well as candidate paths of each demand is included in Table 1. In Table 2, the connected stations of each section, running time, carrying capacity, and maximum and minimum number of marshalling cars in each section are given. With regard to the running time in each section, the operation time in the connected stations is taken into account and that of the two directions is consistent. As for the carrying capacity of each section, it just means the allowed capacity taken up by express freight trains. Supposing the time of original departure and final arrival is 4 hours, the transit time of each demand can be obtained by summing up the running time on all the sections in the candidate path, the original departure, and the final arrival time. Furthermore, the maximum departure and arrival capacity of all the stations are 5 trains.

Table 1: Freight demands and their candidate paths.
Table 2: Running time, carrying capacity, and requirement number of train marshalling cars of each section.
Figure 6: Structure of railway physical network.

The proposed method is applied to solve the numerical example. The size of the population is 30 and the number of total iteration is 200. The crossover probability is 0.95 and the mutation probability is 0.15. After iterating 116 generations, the satisfactory solution was obtained. The objective function value is 363, which means that 363 cars of freight are transported and the satisfied degree of shippers’ transport volume demand is up to 99.73 percent. For clarity, Table 3 is adopted to denote the operation plan of express freight trains, including origin and destination stations, running path, number of marshalling cars, and the service frequency of each train.

Table 3: Operation plan of express freight trains.

The test result shows that there are 8 origin and destination pairs to run express trains, the service frequency of which are from 1 to 3, and fourteen express freight trains are operated to transport the demands. The number of marshalling cars for these trains is between 23 and 30. Although some car flows do not choose the shortest path according to the running time, shipper demands on service frequency and transit time are ensured; meanwhile, all capacity constraints are also met.

5. Conclusion

Organizing railway express freight transportation according to shipper demands has great significance for improving the market competence of railway freight transportation, as well as promoting the rational division of transportation modes. This paper proposed an optimization method for the operation plan of express freight trains based on shipper demands. An integer programming model considering shipper demands on transport volume, service frequency, and transit time was established under flexible marshalling condition. A heuristic genetic algorithm with bi-layer coding method that can respond to the characteristics of the model and suit the problem of large scale network was designed. Finally, a numerical example was applied to verify the effectiveness of the model and the algorithm. The result showed that the proposed method can solve the operation plan of single group express freight trains, while the solving time can satisfy the requirement of railway operation. As a matter of fact, multigroup express freight trains are also in operation; thus, the operation problems of these trains will also be studied. Moreover, operation optimization of express freight trains for different kinds of goods and several grades of trains will also be considered to expand the scope of application.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.


This work was supported by National Natural Science Foundation Project of China under Grant nos. 61263027 and 61104175 and Young Scholars Science Foundation of Lanzhou Jiaotong University under Grant no. 2012031.


  1. E. Savesberg, Innovation in European Freight Transportation: Basics, Methodology and Case Studies for European Markets, Springer, Berlin, Germany, 2008.
  2. J. A. Pazour, R. D. Meller, and L. M. Pohl, “A model to design a national high-speed rail network for freight distribution,” Transportation Research A, vol. 44, no. 3, pp. 119–135, 2010. View at Publisher · View at Google Scholar · View at Scopus
  3. B. L. Lin, S. N. Zhu, and S. W. He, “The optimal model of the direct train formation plan for loading area,” China Railway Science, vol. 16, no. 2, pp. 117–120, 1995. View at Google Scholar
  4. T. Crainic, J. Ferland, and J. Rousseau, “A tactical planning model for rail freight transportation,” Transportation Science, vol. 18, no. 2, pp. 165–184, 1984. View at Publisher · View at Google Scholar · View at Scopus
  5. A. Marín and J. Salmerón, “Tactical design of rail freight networks, part I: exact and heuristic methods,” European Journal of Operational Research, vol. 90, no. 1, pp. 26–44, 1996. View at Publisher · View at Google Scholar · View at Scopus
  6. M. Yaghini, M. Seyedabadi, and M. M. Khoshraftar, “A population-based algorithm for the railroad blocking problem,” Journal of Industrial Engineering International, vol. 8, pp. 1–11, 2012. View at Publisher · View at Google Scholar
  7. D. R. Martinelli and H. Teng, “Optimization of railway operations using neural networks,” Transportation Research C, vol. 4, no. 1, pp. 33–49, 1996. View at Publisher · View at Google Scholar · View at Scopus
  8. T. G. Crainic, “Service network design in freight transportation,” European Journal of Operational Research, vol. 122, no. 2, pp. 272–288, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus
  9. C. Lin and S. Chen, “The hierarchical network design problem for time-definite express common carriers,” Transportation Research B, vol. 38, no. 3, pp. 271–283, 2004. View at Publisher · View at Google Scholar · View at Scopus
  10. A. Ceselli, M. Gatto, M. E. Lübbecke, M. Nunkesser, and H. Schilling, “Optimizing the Cargo Express service of Swiss Federal Railways,” Transportation Science, vol. 42, no. 4, pp. 450–465, 2008. View at Publisher · View at Google Scholar · View at Scopus
  11. A. Ben-Tal, A. Nemirovski, and M. F. Gorman, “Santa Fe railway uses an operating-plan model to improve its service design,” Interfaces, vol. 28, no. 4, pp. 1–12, 1998. View at Google Scholar · View at Scopus
  12. Y. Wang and J. Liu, “Research on the optimization method of railway parcel express trains plan,” Jounal of Transportation System Engineering Information Technology, vol. 7, no. 3, pp. 125–129, 2007. View at Google Scholar
  13. C. A. Yano and A. M. Newman, “Scheduling trains and containers with due dates and dynamic arrivals,” Transportation Science, vol. 35, no. 2, pp. 181–191, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus
  14. B. Crevier, J. Cordeau, and G. Savard, “Integrated operations planning and revenue management for rail freight transportation,” Transportation Research B, vol. 46, no. 1, pp. 100–119, 2012. View at Publisher · View at Google Scholar · View at Scopus
  15. Y. Guo, S. He, and B. Wang, “Research on optimization of scheduled transit train operating plan,” Journal of the China Railway Society, vol. 33, no. 5, pp. 8–13, 2011. View at Publisher · View at Google Scholar · View at Scopus
  16. M. Gen and R. Cheng, Genetic Algorithms and Engineering Optimization, John Wiley & Sons, New York, NY, USA, 2000.
  17. H. M. Niu and X. S. Zhou, “Optimizing urban rail timetable under time-dependent demand and oversaturated conditions,” Transportation Research C, vol. 36, pp. 212–230, 2013. View at Publisher · View at Google Scholar
  18. H. M. Niu and M. H. Zhang, “An optimization to schedule train operations with phase-regular framework for intercity rail lines,” Discrete Dynamics in Nature and Society, vol. 2012, Article ID 549374, 13 pages, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH