Abstract

In order to improve the transshipment efficiency of transit containers in the port or the port-type railway network container freight station (PRNCS) with the condition that each transit container matches a railway flat-car, this paper studied the optimization of operation path of the rail mounted gantry crane (RMG) in the loading and unloading track for containers transshipped directly from highway to railway. Based on the basic model of TSP, the paper constructed the optimization model for the operation path of RMG, and designed the Ant Colony Algorithm (ACA) to solve it, and then obtained the operation scheme of RMG having the highest efficiency. Finally, the validity and correctness of the model and algorithm were verified by a case.

1. Introduction

As the key node of transportation network for international containers, PRNCS is not only the hub for distribution of containers, but also the junction of various transportation modes for the multimodal transport of containers. Its operational efficiency not only affects the benefit and service level of the station itself, but also plays a key role in the efficient operation for the entire transportation network. At present, the main factor which restricts the transshipment efficiency of containers is that the time of “Second Customs Declaration” is too long. After all containers are loaded on a train, the manifest should be submitted to the customs. And the train could depart from the station, only when the manifest is approved by the customs. That is, the fully loaded train needs waiting for a long time in the station before departure, which seriously restricts the transportation efficiency of containers. Based on this, in the actual operation of some station, the dispatcher of PRNCS will make the “pre-manifest”, after the “First Customs Declaration” is completed. The pre-manifest determines the matching relationship of containers and flat-cars in advance, that is, each transit container arriving by sea matches a railway flat-car. And then, organizing the loading operation of containers according to the matching relationship of containers and flat-car determined by the pre-manifest. At the same time, submitting the pre-manifest to the customs for the “Second Customs Declaration”. Thereby, the loading operation and the “Second Customs Declaration” are performed in parallel, which can shorten the waiting time of containers in the station. Taken the directly transshipment of containers from highway to railway as the research background, this paper studies the optimization of transshipment operation for the RMG, under the condition that each container matches a railway flat-car. This paper constructed the optimization model based on the TSP theory, and then obtained the optimal operation scheme of RMG.

In recent years, domestic and foreign scholars have conducted a lot of research on the optimization of gantry crane operations. Zhu [1] studied the task assignment between multiple loading and unloading equipment (gantry cranes and front carriers), according to the punctual and late running of trains. Xu [2] studied the optimal assignment of gantry cranes’ task of loading and relocating the container. Briskorn [3] treats the crane scheduling in a container port where two cooperative gantry cranes (denoted as twin cranes) jointly store import containers arriving from the seaside in a storage yard. Jaehn [4] consider the problem of scheduling two identical rail mounted gantry cranes (twin cranes) working within a single storage area (block) at a seaport. And the cranes cannot pass each other. The focus is minimizing the dwell times of vessels at the berth. Chen [5] classified the task of gantry cranes into stage tasks and sub-tasks within the phase, and constructing the optimization model, in order to optimize the gantry cranes’ operation path among the storage blocks. Li [6] consider single-crane scheduling at rail transshipment yards, in which gantry cranes move containers between trains, trucks and a storage area. And the objective is minimizing the train dwell time in the yard. Heshmatia [7] studied the Crane-operated Warehouse Scheduling Problem (CWSP), concerns the location assignment of input products and the scheduling of cranes for product movement in such warehouses. Al-Dhaheri [8] studied the quay cranes scheduling problem, with the objective minimizing vessel handling time while considering the entire container handling process involving both seaside operations and container transfer operations, taking place between the quay and the stacking yard. Diabat [9] studied the optimal unloading scheme of Quay Cranes, through the way balancing the workload of each Quay Crane. Kress [10] consider a scheduling problem for two gantry cranes moving on the same rails at a single storage block. And the objective considered in this article is to minimize the makespan of seaside container processing while considering non-crossing constraints among cranes. Taking the receiving and delivery operations of outside trucks as the research object, Böck [11] proposes different methods for generating a trajectory for the load based on a geometric path connecting the loading and unloading position. And the overall goal is to traverse the geometric path as fast as possible under the consideration of constraints for the gantry crane system.

TSP is widely researched and used in the transportation field. Benavent [12] approaches a pickup-and-delivery single-vehicle routing problem where there is susceptibility to uncertainty in customer requests. Taking the route choosing of container liner as the research object, Miranda [13] introduces and studies the bi-objective insular traveling salesman problem, where a set of rural islands must be served using a single barge following a single route. And two objective functions are aimed to be minimized: maritime and ground transportation costs. Li [14] studied the cargo distribution problem of the logistics center, constructed the optimization model with the shortest route and minimized time base on the theory of TSP.

In summary, researches on scheduling optimization of the gantry crane at present are mainly for the container yard of ports. While for the railway network container freight station, the research mainly focuses on two aspects, task allocation among loading and unloading equipment, relocating containers. The application of TSP theory in transportation field mainly focuses on route selection of carrying tools.

At present, there are no scholars have used the TSP theory to solve the problem of scheduling optimization of gantry cranes, under the condition that each container matches a railway flat-car, in the loading-unloading track.

Therefore, this paper constructed an improved TSP model, and uses it to study scheduling optimization of gantry cranes, for containers transshipping from highway to railway, under the condition that each container matches a railway flat-car.

2. Problem Description

The Carrier organizes container trucks coming to the loading-unloading zone, according to the arrival time of the container train. And then, these containers on trucks are loaded onto the flat-car directly by gantry cranes. However, due to the noncomplete sharing of transportation information, and the randomness of arrival for container trucks, the container truck cannot accurately align with the flat-car according to the matching relationship of containers and flat-cars.

As shown in Figure 1, the loading-unloading track is divided into two areas, and each area has only one gantry crane. In the figure, is the containers arriving at by railway, or RC for short; is the container arriving at by highway, or HC for short. Arrows in Figure 1 represent the matching relationship of containers and flat-cars determined by the pre-manifest. Therefore, in order to complete the transshipment task of containers by the shortest operation time and minimize the number of containers that were unloaded to the ground as well, it is necessary to optimize the operation path of gantry cranes. The operation process of gantry cranes for the directly transshipment operation of containers from highway to railway, under the condition of matching relationship of containers and flat-cars, is as follows.

Step 1. The gantry crane selects a HC randomly (, ), and then unloads it to the ground (). As a result, a container vacancy will be created on the container trucks, denoted as SE.

Step 2. The gantry crane selects a RC randomly (, ), and then unloads it to SE. As a result, a container vacancy will be created on the railway flat-cars, denoted as RE.

Step 3. The gantry crane selects the HC matched with RE, denoted as , and then transfers it to RE. Whether all containers have been operated? If yes, the operation of the gantry crane ends; otherwise, is ? If yes, go to Step 1; otherwise, a SE will be generated, and go to Step 2.

The operation process of gantry cranes is shown in Figure 2.

3. GC-TSP

3.1. Traveling Salesperson Problem

Traveling Salesperson Problem (TSP) is a famous problem in the operational research. In graph theory, TSP appears as a closed loop that traverses all nodes in the network graph. For the network graph , is the set of nodes, is the set of arcs, is the length of various arcs. Then the classic mathematical programming model of TSP is as follows.

where, is the 0-1 decision variable, and means that the arc() is included in the TSP loop, and vice versa, not in the TSP loop. The Equation (2) means that there is one and only one arc starting from each node in the network graph. Equation (3) indicates that there is one and only one arc reaches each node. That is, the TSP loop pass through and pass through each node in the network graph only once.

3.2. GC-TSP

Under the condition that each transit container (HC) matches a railway flat-car, the efficiency of transshipment is reflected by the following two aspects, the total time of transshipment and the ratio of directly transshipment between highway and railway for containers. According to the basic theory of TSP, this paper transforms the optimization problem of operation path for RMG into an improved Traveling Salesperson Problem, called GC-TSP (Gantry Crane-TSP). Designing the network diagram of operation path for gantry cranes, as shown in Figure 3. Find a shortest path of gantry cranes in the network diagram, with the objective that the total time of transshipment and the number of containers unloaded to the ground both are minimum, and that is the optimal operation plan of gantry cranes.

3.2.1. Network Diagram for Gantry Cranes

Taking a certain area of the loading and unloading line as an example, constructing the network diagram for the path of gantry cranes, as shown in Figure 3. The network diagram consists of nodes and arcs, and the type node denotes RCs, and the type node denotes HCs, and the type node denotes the container unloaded to the ground, and arcs in the figure denote the process of transshipment operation for gantry cranes.

According to the nature of container transshipment, the operation of gantry cranes can be divided into the following three categories: (1) the gantry crane transfers HCs to the railway flat-car matched with it; (2) the gantry crane transfer RCs to any empty container truck; (3) the gantry crane randomly selects a HC and unloads it to the ground. Correspondingly, arcs in the figure can be divided into following three categories.(1)Specified Arcs. The gantry crane transfer HCs to the railway flat-car. Because that the pre-manifest has determined the matching relationship between HCs and flat-cars, a HC can only be transferred to the railway flat-car matched with it by the gantry crane. As shown in Figure 3, the gantry crane can only reach the node from node , indicating that the container (HC) can only be transferred to the flat-car locating at .(2)Random Arcs. The gantry crane transfer HCs to any empty container truck. It should be emphasized that any container truck can be used by a RC as long as it is empty. In the Figure 3, which appears as that the type node can reach all of type nodes. Similarly, the type node can reach all of type nodes as well in the network diagram.(3) Transfer Arcs. According to the matching relationship of transit containers and railway flat-cars determined by the pre-manifest, if the HC selected by the gantry crane is the container that has been unloaded to the ground, after the transshipment operation is completed, the gantry crane needs to move to the position of any un-transshipped HC, and unloads this container to the ground for generating a new container vacancy. The process of selecting the un-transshipped HC is the transfer arc in the network diagram.

3.2.2. Dynamic Nature of GC-TSP

Figure 4 is an operation path of the gantry crane, if adding, from the end node to the start node , a virtual arc whose operation time is zero, and deleting all of unvisited virtual nodes, therefore, converting the problem of optimizing the operation path of gantry cranes into the GC-TSP, as shown in Figure 5. Note that if a virtual node is not reached, it means that the corresponding container of the node was not unloaded to the ground.

Compared with TSP, GC-TSP has the following characteristics [15]:(1) In the network diagram, there is not necessarily an arc between any two nodes. The matching relationship of transit containers and flat-cars determined by the pre-manifest makes a HC can only be loaded to the railway flat-car matched with it. In the network diagram, it appears as that the type node can only reach the specified type node matched with it. As shown in Figure 3, the node can only reach the node . In addition, the transshipment operation cannot occur between any two RCs, which appears as that there is no arcs between any two type nodes in the network diagram. Similarly, there is no arcs between any two type nodes and type nodes as well.(2) The number of nodes in the network diagram is uncertain, which changes dynamically with the advancement of the optimization process. The uncertainty of the number of containers unloaded to the ground leads to the uncertainty of the number of nodes in the network diagram.(3) The time of arcs in the network diagram is uncertain, which changes dynamically with the advancement of the optimization process. Taking the arc () in the Figure 4 as an example, the operation process of the arc is that the gantry crane move to , picking up container , and then move to , and then unload container to the railway flat-car . Therefore, the end point of transshipment operation of arc () is , and then, the start point of next arc () in the loop is . Therefore, the time of arcs in the network diagram is related with the working path of the gantry crane. And the dynamic nature of working path leads to the dynamicity of time for each arc.

Based on the dynamic nature of the number of nodes and the time of arcs, the GC-TSP can be called “Dynamic TSP”.

4. Model Construction

4.1. Assumption
(1) There is only one gantry crane in each working area.(2) According to China Railway Express, all of containers in this paper are 40 feet.(3) Each railway flat-car and container truck load with only one 40 feet container.(4) The cart running gear and hoisting mechanism of the gantry crane cannot move at the same time.(5) The operating speed of gantry cranes is constant.(6) Only the HC can be unloaded to the ground by gantry cranes.
4.2. Parameters and Variables
(1)Basic Paramters—the operation time of transshipping one container by the hoisting mechanism, Unit: min.—the speed of the cart running gear, Unit: m/min.—the length occupied by one container in the loading and unloading line, Unit: m.—the number of railway flat-cars.—the number of gantry cranes.(2)Decision Variables—if the gantry crane transships the container to the truck located at , it equals 1; otherwise, 0. (Random Arcs.)—if the gantry crane transships the container to the truck located at , it equals 1; otherwise, 0. (Random Arcs.)—if the gantry crane transships the container to the truck located at , it equals 1; otherwise, 0. (Specified Arcs.)—if the gantry crane unloads the container to the ground, it equals 1, otherwise, 0.—in order to generated a new container vacancy, if the gantry crane selects the container , it equals 1; otherwise, 0. (Transfer Arcs.)—the variable for indexing a gantry crane, .—the total operation time of the gantry crane .—the operation efficiency of gantry crane .—taking the shortest operation time as the single objective, the optimal time of gantry crane .—taking the minimum number of containers unloaded to the ground as the single objective, the optimal value of gantry crane .—the optimal operation efficiency of gantry crane .(3)Collection Variables—the collection of HCs.—the collection of RCs.—the collection of containers that were unloaded to the ground.—the matching relationship of containers and flat-cars.—the collection of variables corresponding to the specified arcs,.—the collection of location where the gantry crane moves, and numbering sequentially from one end of the loading and unloading line. For example, the serial number of the container and is , .—the collection of location of working area in the loading and unloading line, .—the number of elements in .—the sequence table of containers that were operated by the gantry crane , .—the sequence table of location for the transshipment operation of the gantry crane , .—the number of elements in .—the noninferior solution for the optimal operation of the gantry crane , and, .(4)Location Variables—the order of the starting point for the arc in .—the order of the starting point for the arc in .—the order of the starting point for the arc in .—the order of the starting point for the arc in .(5)Time Parameters—the operation time of the gantry crane for the arc , , .—the operation time of the gantry crane for the arc , , .—the operation time of the gantry crane for the arc , , .—the operation time of the gantry crane for the arc , , , and .—the operation time of the virtual arc in working path of the gantry crane.
4.3. GC-TSP Model

The formula (5) means that the total operation time of the gantry crane is minimum. The formula (6) means that the number of containers that were unloaded to the ground is minimum. The formulas (7) and (8) are the operation time of random arcs. The formula (9) is the operation time of specified arcs. The formula (10) is the operation time of transfer arcs. The formula (11) means that only one arc reaches the node . The formula (12) means that only one arc starts from the node . The formula (13) means that only one arc starts from the node . The formula (14) means that only one arc will start from the node if the container is unloaded to the ground, otherwise, there will be no arcs starting from the node . The formula (15) means that only one arc reaches the node . The formula (16) means that only one arc will reach the node if the container is unloaded to the ground, otherwise, there will be no arcs reaching the node . The formula (17) means that the gantry crane will return to the starting point after the transshipment task is completed. The formula (18) means that the working time of the virtual arc from the end point to the starting point is 0. The formula (19) is the 0-1 constraint on variables.

4.4. Converting the Multi-Objective to the Single-Objective

From Section 4.3, the GC-TSP is a multi-objective optimization model. And solution of the multi-objective model is a collection of noninferior solutions. Because each noninferior solution in the collection has the optimal degree, it is difficult for decision makers to make the only optimal decision. Therefore, this paper converts the multi-objective to a single-objective with linear weighting method, and then finds the unique solution under different weights. It should be noted that it is necessary to correct the weights if there is a correlation between the optimization objectives. In addition, since that measurement methods of the operation time and containers unloaded to the ground are different, it is necessary to eliminate the difference of their dimension.

Obviously, , , and then, , . And the value of and are closer to 1, the better of the result. Therefore, this paper proposes that taking the transshipment efficiency as the unique indicator measuring the degree of optimization. The calculation of transshipment efficiency is shown as formula (20), where . And the transshipment efficiency is higher, if is closer to 1.

where, α—the coefficient of the weight for “operation time”, and , .

—the coefficient of the weight for the “proportion of containers that are transshipped directly”. Here, the meaning of “transshipped directly” is that containers are not being unloaded to the ground. And this paper considers that “the proportion of containers that are transshipped directly” and “the number of containers unloaded to the ground” have the same effect. And , .

—the correction coefficient of weights, and .

5. Algorithm Design

TSP is a NP-hard problem, it is suitable to use the heuristic algorithm to resolve it. This paper designs the Ant Colony Algorithm and the Genetic Algorithm respectively to resolve the GC-TSP model.

5.1. The Ant Colony Algorithm
(1)Symbol Variablesiter—the number of iterations, and initialize it with 0.iter_max—the maximum of iter, and iter_max = 100.—the collection of the node .—the collection of the node .Table—the record table of path.Table(end)—the node where ants are located now.—the latest in the path.IP—the sign triggering the transfer arc, IP = {0,1}, and the ant reaches next node through the transfer arc if IP = 1.(2)Algorithm FlowThe flow of Ant Colony Algorithm is shown in Figure 6.
5.2. The Genetic Algorithm
(1)Symbol Variablesiter—the evolutionary algebra.iter_max—the maximum of iter, and iter_max=1000.geneRS—the gene coding, representing the order of the Specified Arcs in the operation sequence.—the gene coding, representing the order of the Transfer Arcs in the operation sequence.—the number of individuals in the population, and .(2)Algorithm FlowThe flow of Genetic Algorithm is shown in Figure 7.

6. Example Analysis

In order to verify the correctness and effectiveness of the GC-TSP model and its algorithm, this paper takes one working area of the loading and unloading line as the example and studies the optimization of working path of gantry cranes. There is 40 HCs in the working area, and the matching relationship of containers and flat-cars determined by pre-manifest is shown in Table 1.

In the Table 1, numbering HCs according the order of arriving the loading and unloading line, and the railway flat-car are numbered sequentially from one end of the loading and unloading line. Table 2 contains the basic parameter.

6.1. The Optimal Solution by ACA

Resolve the GC-TSP model with ACA, and get non-inferior solutions of the multi-objective optimization, that is the optimal operation time and the optimal number of containers unloaded to the ground, as shown in Table 3. And the optimal result of each single-objective are as follow,  = 281.1077 minutes, . And the result of nondimensional process are contained in the Table 3 as well.

6.1.1. Calculating the Correction Coefficient

As can be seen in Table 3, the operation time gradually decrease as the number of containers unloaded to the ground increases, which proves the existence of correlation.

Taking and as the independent variable and dependent variable respectively, perform a polynomial fitting, and the curve fitting is shown as Figure 8.

In Figure 8, the pink lines is the tangent of the fitted curve at each discrete point, and the number next to it is the slope, represented by , of each tangent. As can be seen in Figure 8, the absolute value of slop shows a decreasing trend as the increasing of the number of containers unloaded to the ground, in the other word, the impact of the number of containers unloaded to the ground on the operation time reduces gradually. This paper introduces the Local Impact Factor to measure the degree that the number of containers unloaded to the ground impacts the operation time. The value range of is (0,1], and the larger value, the greater impact. In addition, the correlation coefficient obtained by calculation is −0.8466, and taking as the Overall Impact Factor. And the calculating of correction coefficients for weights is shown as formula (21).

The correction coefficient of weights for noninferior solutions is shown in Table 4.

And then, weights that were corrected are shown in Table 5.

6.1.2. Calculating the Transshipment Efficiency

The transshipment efficiency of noninferior solutions can be obtained by formula (20), as shown in Table 6.

As can be seen in Table 6, the transshipment efficiency decreases gradually as the importance degree of the number of containers unloaded to the ground increases. The optimal solutions under different weights are as follows: if , the optimal solution is I; the optimal solution is III, if . In the other word, if the decision maker thinks that the operation time is more important, then I is chosen as the optimal solution. While if the decision maker thinks that the proportion of containers that are transshipped directly is more important, then III is chosen as the optimal solution.

The working path for solution I is shown in Figure 9. In this figure, the pink line denotes the “specified arc”, green line denotes the “random arc”, and red line denotes the “transfer arc”.

The transshipment sequence for containers in solution I is shown in Table 7.

The working path for solution III is shown in Figure 10.

The transshipment sequence for containers in solution III is shown in Table 8.

From the above, there are 7 containers were unloaded to the ground in solution I, and the proportion of containers that were transshipped directly is 91.25%. There are 5 containers were unloaded to the ground in solution III, and the proportion of containers that were transshipped directly is 93.75%. The total operation time of solution I is 284.87 minutes, and the average operation time per container is 3.56 minutes. The total operation time of solution III is 287.45 minutes, and the average operation time per container is 3.59 minutes.

6.2. The Optimal Solution by GA

Resolve the GC-TSP model with GA, and get non-inferior solutions of the multi-objective optimization, that is the optimal operation time and the optimal number of containers unloaded to the ground, as shown in Table 9. And the optimal result of each single-objective are as follow,  = 288.2201 minutes, . And the result of nondimensional process are contained in the as well.

The transshipment efficiency of noninferior solutions can be obtained by formula (20), as shown in Table 10.

As can be seen in Table 10, the optimal solutions under different weights are as follows: if , the optimal solution is I; the optimal solution is III, if . In the other word, if the decision maker thinks that the operation time is more important, then I is chosen as the optimal solution. While if the decision maker thinks that the proportion of containers that are transshipped directly is more important, then III is chosen as the optimal solution.

The total operation time of solution I is 298.3772 minutes, and the average operation time per container is 3.73 minutes. The total operation time of solution III is 301.0012 minutes, and the average operation time per container is 3.76 minutes.

6.3. The Comparison of Results from ACA and GA

Comparing the Tables 6 and 10, the optimal solutions obtained by the two algorithms both are non-inferior solutions I and III, and the proportion of containers that were transshipped directly is the same. The difference is: (1) if takes 0.8, the optimal solution obtained by ACA is I, while the optimal solution obtained by GA is III; (2) the transshipment efficiency for ACA is higher than GA; (3) for the average operation time per container, the result of ACA is 3.6 minutes, while the result of GA is 3.7 minutes.

The average operation time per container from ACA and GA are basically consistent, which verifies the correctness and effectiveness of the GC-TSP model and its algorithm. And ACA is superior to GA.

7. Conclusion

This paper proposes a method of optimizing the working path of gantry cranes for the problem that containers are transshipped directly under the matching relationship. This paper converts the optimization problem to a TSP problem, constructs the GC-TSP model. And then, the paper designs ACA and GA respectively to solve the GC-TSP model.

The result shows that the proportion of containers that were transshipped directly is 90 percent or more. And the average operation time per container calculated by the two algorithms are basically consistent, which verifies the correctness and effectiveness of the GC-TSP model and its algorithms.

Data Availability

Major part of the data used to support the findings of this study are included within the article. Further information can be obtained from author Mr. Dong.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

These positions are funded by 2016 China’s National Key Research and Strategic International Science and Technology Innovation Cooperation Project, which is titled “‘the Belt and Road’ Land Transport International Intermodal Research and Exchange Centre” under Grant [2016YFE0201700].