#### Abstract

Train trip package transportation is an advanced form of railway freight transportation, realized by a specialized train which has fixed stations, fixed time, and fixed path. Train trip package transportation has lots of advantages, such as large volume, long distance, high speed, simple forms of organization, and high margin, so it has become the main way of railway freight transportation. This paper firstly analyzes the related factors of train trip package transportation from its organizational forms and characteristics. Then an optimization model for train trip package transportation is established to provide optimum operation schemes. The proposed model is solved by the genetic algorithm. At last, the paper tests the model on the basis of the data of 8 regions. The results show that the proposed method is feasible for solving operation scheme issues of train trip package.

#### 1. Introduction

Railway transportation is one of the main types of modern transportation. Railway transportation has the features of fast speed, low costs, environmental friendship, high reliability, accuracy, and continuity. Before the completion of high-speed railway network, railway transportation in China heavily focused on passenger transport. For this reason, railway freight transportation was always restricted by the problem of insufficient capacity. With the operation of motor trains and high-speed railway in recent years, a large number of railway capacities have been released and applied to freight transportation. As the main form of railway freight transportation, train trip package transportation is becoming increasingly important. Meanwhile, it is also becoming more complex due to increased railway transport resources.

Train trip package transportation provides luggage and parcel transportation, fast freight, and joint logistics services. Train trip package transportation is based on the existing railway network and uses passenger baggage cars, train trip packages, and mail train lines as the carrier. With the rapid development of social economy and the growing requirement of perfecting transportation service, railway package transportation has been improving its level of service and has become the main body of rapid railway freight transportation. There are two main types of railway freight transportation: one is the package marshaled in the passenger train; the other is transport by a specialized train which consists of a certain number of baggage compartments and has fixed stations, fixed time, and fixed path. The second type is normally called the train trip package transportation. In the near future, train trip package transportation will become the main form of package transportation. Therefore, a reasonable train trip package operation scheme can help to improve the level of train trip package organization and the quality of service.

Most of the current researches have focused on the passenger train operation scheme, but few focused on train trip package operation scheme [1–10]. Crainic [11] summarized the transportation services network issues. Barnhart et al. [12] regarded railway marshaling issues as network design problems, where the network nodes represented marshaling yard, and the arc segments represented marshaling train. Chang et al. [13] used fuzzy mathematical programming to study Taiwan high-speed railway train operation plan. Crainic and Rousseau [14] used the heuristic algorithm based on decomposition method and the column generation method to solve railway freight service network design problem with no capacity limits. Bussieck et al. [15] discussed the operation plan optimization problem with periodic timetable. Yu et al. [16] proposed a transit operation for passengers transportaion, which considered passenger attraction from canidate nodes to destination nodes. It is a novelty method to the best of our knowledge. Newton et al. [17] established a path-based model without considering the associated fixed costs of trains but adding capacity constraints to restrict the number of trains which could be marshaled and the freight amount which could be handled. Due to some similar features of “passenger train” and train trip package, the train trip package operation scheme optimization can refer to existing research of passenger train operation scheme.

In this paper, the existing research results and experiences of passenger train operation scheme are studied. Then the related factors of train trip package operation scheme are analyzed from its organizational characteristics. A mathematical model is developed to optimize the train trip package operation scheme for practical situation. At the end, the proposed model is verified through an example, and some conclusions are obtained from the experiment.

#### 2. Problem Description

The whole process of package transportation can be divided into three operational phases: reception and delivery in the stations of two ends and long-distance rail transportation between the stations. The whole process of package transportation and the relationship among the operational phases are shown in Figure 1. In this paper, we only consider long-distance railway transport between stations and develop a reasonable operation scheme.

In train trip package transportation, the train marshaling is composed of package trains with the same final station (single set of trains) or package trains whose final stations are in the same running path (grouped trains). The operation process of grouped trains is shown in Figure 2. Grouped trains start from the originating base station and will gradually turn into a single set of trains after rejection and hanging for once or several times along the way. When grouped trains reach the rejection and hanging stations before the final station, they are required for rejection and hanging operations.

#### 3. Model

##### 3.1. Model Assumption

Through the analysis of organizational characteristics of train trip package transportation, we first make the following assumptions before establishing the optimization model of train trip package operation scheme.(1)The path of train trip package has been already predetermined.(2)The transport capacity of train trip package is not restricted and the ability to receive and send trains of each package station can satisfy any traffic intensity; each path can satisfy any traffic intensity.(3)Operation details and operation process inside stations are not considered, because the operation of train trip package only reflects the influence on the operation scheme in some important links, such as loading costs, rejection, and hanging operations costs.(4)The operation of train trip package depends on the traffic situation and does not consider the constraints of facing operation.

##### 3.2. Parameter Setting

represents the cost per vehicle kilometer in train trip package transportation; is the rejection and hanging costs for a train; is the train flow leading from region to region ; represents the collection of links that are passed by train trip package between regions and ; is the transport distance between regions and s; represents the train flow between regions and which are in the path from region to region ; is 0-1 variable, if the railway freight flows between regions and are carried by train trip packages from region to region , ; otherwise, ; represents the number of trains that can be marshaled in a set of grouped trains; is the number of train trip packages between regions and ; represents infinity.

##### 3.3. Modeling

All the expenses in the service process of train trip package are shown in Figure 3.

###### 3.3.1. Loading Cost

Train trip package transport is a kind of contractual transport and the contractors are obligated to organize shipments. In principle, the contractors of train trip package need to load and unload packages by themselves. Therefore, the cost of train trip package in loading place is considered as a constant which is denoted by the average loading cost.

###### 3.3.2. Rejection and Hanging Cost

A single set of trains do not need rejection and hanging operations in the middle station. Grouped trains need rejection and hanging operations in the operation stations along the way but do not need loading, unloading, and modifying marshaling operations. Therefore, the rejection and hanging cost only existed in the grouped trains and can be considered as a fixed value.

In the model established in this paper, the total cost of train trip package transportation consists of two parts: one is in-transit cost such as locomotive traction cost and line usage cost which are decided by the cost per vehicle kilometer; the other is the rejection and hanging cost which is decided by the rejection and hanging costs for a train. Because the loading cost of train trip package can be considered as fixed, loading cost is not reflected in the model.

The optimization model of train trip package operation isThe purpose of objective function (1) is to minimize the total operation cost of all train trip packages.

Constraint (2) is the flow conservation constraint, ensuring that train trip package operation scheme meets the transport demand between each OD pair.

Constraint (3) ensures that the railway freight flows carried by train trip packages are assigned to feasible path.

Constraint (4) ensures that the number of train flows in each service interval does not exceed the carrying capacity the train service can provide.

Constraints (5) and (6) are nonnegative constraints of the decision variables and constraint (6) requires the number of train trip packages to be integers.

##### 3.4. Genetic Algorithm

Because the formulation of train trip package operation scheme is a linear discrete optimization problem, the traditional method is difficult to get the optimal solution to the problem. Many literatures suggested that heuristic algorithm was often the first choice to solve this kind of complicated transportation optimization problems [18–21]. Among heuristic algorithms, genetic algorithm (GA) is a probabilistic search algorithm for global optimization. The genetic algorithm is formed by simulating biological genetic and evolutionary processes in the natural world. Genetic algorithm has good global search capability and fast calculation speed. It can quickly find an optimal solution from the entire solution space and will seldom fall into the local optimal solution. Currently, genetic algorithm has achieved good application in the path optimization, site selection, and other aspects which has been applied to solve lots of complicated problems [22–25]. Therefore, the genetic algorithm is used in this paper to solve the problem.

*Step 1 (coding). *The decimal coding is employed to generate an array of numbers, namely, a chromosome. Each chromosome represents an operation sequence of train trip package (Figure 4). A gene in a chromosome represents a station that train trip packages pass by; for example, 1–3–5–8 represents that train trip packages start from station 1 and finally get to station 8, passing by station 3 and station 5.

*Step 2 (generating initial populations). *According to OD flows between package stations, we successively select each OD pair and find a path between stations to produce a feasible chromosome. Repeat the process until feasible chromosomes between each OD pair have been produced.

*Step 3 (calculation of fitness value). *Clearly, some chromosomes may not satisfy all of the constraints in the model. Therefore, it is necessary to construct the fitness function. Adaptation function indicates the superiority of chromosomes. For the minimum value problem in this paper, the fitness function isIn the formula, the value of will be determined according to the size of the problem, to ensure .

*Step 4 (selection and crossover (Figure 5)). *Roulette method is used as a selection mechanism. In the roulette method, chromosomes will be selected for reproducing a new generation with certain probability. The selection probability of a chromosome is related to its fitness. Generally, the higher the fitness value, the bigger the selection probability. Meanwhile, the elite strategy is also implemented, which means the chromosome with the maximum fitness value in each generation of populations will be copied to the next generation. The optimal policy makes the next generation not worse than the parent generation.

Crossover introduces random changes to the selected chromosomes by crossing two parent individuals to produce offspring individuals with a user-specified probability called crossover rate. In this paper, the single-point crossover is implemented.

*Step 5 (mutation). *Mutation introduces random changes to the chromosomes by altering the value of a gene with a user-specified probability called mutation rate (Figure 6).

*Step 6 (stopping criterion). *To compare the computation efficiency of different algorithms, different stopping times are set as the stopping criteria. When getting to the predetermined stopping time, the algorithm ends.

#### 4. Numerical Test

Based on “three vertical and four horizontal” train transportation physical network of China, eight package stations are chosen to build a spatial network graph of package transportation regions (as shown in Figure 7); then design a service network of train trip package. The purpose is to determine the organization form, the running paths, and the operation number of trains.

##### 4.1. Data Preparation

###### 4.1.1. Data of Interregional Distance

As the spatial network graph of package transportation regions shown in Figure 7, the actual length of the links between each node pair can be considered as the distance between center cities of each region. Specific distance data are shown in Table 1.

###### 4.1.2. Data of OD Flows

According to the statistics of China railway transportation, Table 2 shows OD flows by package between 8 package regions, in units of tons per year.

In this paper, assume that the length of the design cycle is one day and the OD flows for each period are constant. It is known that the OD flows in Table 2 are represented in units of tons per year, so a conversion coefficient is introduced here to obtain daily OD flows in units of trains/day.

Since the volume of packages is difficult to accurately grasp in the actual operation, the deadweight constraint of package trains is considered as an alternative. The deadweight capacity of a package train is averagely 15 tons according to our survey and a year is calculated as 365 days. The result of the conversion is shown in Table 3. Note that the numbers of package trains have to be integer value, so the final conversed values are rounded off.

###### 4.1.3. Cost Data

The average operating cost is set to 90 per vehicle kilometer () and the rejection and hanging operating costs are set to 1000 per train ().

###### 4.1.4. Other Data

According to the regulation of the number of marshaling train trip packages, .

##### 4.2. The Results

Based on the above model parameters, the genetic algorithm is used to calculate model through C++ programming. The crossover probability of GA is set as 0.8 and the mutation probability is set as 0.05. The maximum evolution generation of GA is set as 100. The specific results are shown in Table 4.

As shown in Table 4, parts of OD flows between stations are transported directly from the start station to the final station, without any transit operations. The other parts of OD flows are required to stop at middle stations for rejection and hanging.

##### 4.3. Test Results Discussion

Figure 8 depicts the convergence of the calculation. The results of computational tests show that the algorithm of this paper can achieve convergence within 100 generations, indicating a good convergence and a good adaptability to solve the proposed model.

It is known that the initial operation scheme consists of 48 single sets of trains. All OD flows are transported directly from the start station to the final station, without any operation in transit. Target cost of initial operation scheme is 9.8574 million yuan.

After optimization, the sample train transport service network consists of 26 kinds of train trip package transport services. In the optimized operation scheme, there are 52 operations within a day, including 45 operations of single set of trains and 7 of grouped trains. Compared with the initial scheme, the optimized scheme reduces the operation number of single set of trains in long distance and yet increases the operation number of both single set of trains and group trains in short/middle distance, thus reducing the total cost of train transportation. The total cost of the optimized scheme is 7.2561 million yuan, reduced by 26.4% compared with the initial one.

To evaluate the performance of the proposed scheme, the results of initial operation scheme and optimized scheme can be showed in Figure 9. It can be found that the optimized scheme can greatly reduce the total cost. Thus, the proposed optimized scheme is an effective method for train trip package optimization.

#### 5. Conclusions

This paper focuses on how to arrange the train trip package operation scheme to lower the transportation cost. An optimization model is established based on the analysis of the organizational forms and characteristics of the train trip package transport, as well as the existing research results and experiences of passenger train plan. Computational tests show that the proposed model can effectively reduce the cost of transportation. The model can also optimize the operation number of train trip packages in the experiment, indicating that it has better applicability.

An issue of future research is the consideration of more constraints, such as the inconsistent loading cost between single set of trains and group trains and the constraints of facing operation. In further studies, these constraints will be considered in order to get closer to the actual situation.

#### Conflict of Interests

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

#### Acknowledgments

This research is supported by Railway Ministry Science and Technology Management Project (2013X014-C), China Railway Corporation Project (2014X010-A), and Fundamental Research Funds for the Central Universities (Beijing Jiaotong University) under Grant no. 2014JBZ008.