Allocation and Scheduling of Handling Resources in the Railway Container Terminal Based on Crossing Crane Area

: The integrated allocation and scheduling of handling resources are crucial problems in the railway container terminal (RCT). We investigate the integrated optimization problem for handling resources of the crane area, dual-gantry crane (GC), and internal trucks (ITs). A creative handling scheme is proposed to reduce the long-distance, full-loaded movement of GCs by making use of the advantages of ITs. Based on this scheme, we propose a ﬂexible crossing crane area to balance the workload of dual-GC. Decomposing the integrated problem into four sub-problems, a multi-objective mixed-integer programming model (MIP) is developed. By analyzing the characteristic of the integrated problem, a three-layer hybrid heuristic algorithm (TLHHA) incorporating heuristic rule (HR), elite co-evolution genetic algorithm (ECEGA), greedy rule (GR), and simulated annealing (SA) is designed for solving the problem. Numerical experiments were conducted to verify the effectiveness of the proposed model and algorithm. The results show that the proposed algorithm has excellent searching ability, and the simultaneous optimization scheme could ensure the requirements for efﬁciency, effectiveness, and energy-saving, as well as the balance rate of dual-GC.


Introduction
With the implementation of the "One Belt and Road" strategy and the increasing awareness of global environmental protection, railway container transportation has gradually become increasingly significant in comprehensive transportation system due to its integration advantages of container transportation and railway transportation, including safety, environmental protection, energy-saving, convenience, wide-coverage, and low freight rates. RCT is a vital support platform for railway container transportation. In the Eleventh Five-Year period, the Ministry of Transport of the People's Republic of China and the Ministry of Railways of the People's Republic of China jointly formulated "the midlong term planning for China's railway network". The program proposed that eighteen large RCTs would be constructed in coastal and inland areas of China, including Dalian, Qingdao, and Chongqing. Now, twelve have been built and put into use. A transportation network of railway containers covering the whole country has been initially formed in China. The layout of the RCT is shown in Figure 1, e.g. Dalian Railway Container Terminal (DRCT), including four major sections, namely the main operation area, auxiliary operation area, service area, and gate. The main operation area of the RCT is responsible for storing, handling, collecting, and distributing containers. Owing to the high cost of handling resources, the RCT has difficulty purchasing additional equipment to improve operational performance. Therefore, the reasonable scheduling of its internal handling resources in the main operation area affects the service level, handling quality, and operation ability of the RCT.
Interrelation between handling resources scheduling and yard partition is complicated and challenging. Based on static disjunctive crane areas given in previous studies [30][31][32], Fedtke and Boysen [36,37] proposed optimization of the multiple GCs and shuttle car scheduling supported by the sorting system in rail-rail terminal. Wang et al. [38,39] developed a bi-layer optimization model to determine dynamic disjunctive crane area and schedule handling equipment included ITs and GCs, and a hybrid algorithm was designed to solve the model.
Recent studies mainly concentrate on the independent scheduling of GC and rarely consider the coordination between GCs and ITs at RCT. Existing literature on determining crane area is mostly the static, disjunctive, and equal principle. Most studies measure the performance of GC based on the task number, which is difficult to accurately reflect the management loss of equipment. Besides, several papers discuss the scheduling problem of handling equipment under the static crane area, ignoring the adverse effect of handling mode, scheduling plan, and container location on the decision of the crane area. In this paper, we solve the integrated allocation and scheduling problem of handling resources in the RCT based on the crossing crane area. The contributions are five aspects as follows: • We determine the crossing crane area of dual-GC considering handling mode, scheduling plan, and container position instead of fixed, static, and disjunctive crane area, which increases the flexibility of GCs while avoiding interference. • We balance the workload of dual-GC considering the full-loaded and empty-loaded distance, which can better reflect the operational performance. • We discuss coordinated scheduling of GCs and ITs considering no-cross constraint and crossing area based on the "GCs-ITs" handling scheme. The scheme takes advantage of IT with higher flexibility, lower energy consumption, and lower operating costs to make up for the shortcomings of GC with lower mobility, higher energy consumption, and higher operating costs. • We design TLHHA incorporating HR, ECEGA, GR, and SA to solve the multi-level, multi-stage, and two-way correlation optimization problem. • We seek the best allocation and scheduling plan for the handling equipment of RCT.
We develop an optimization model with multi-objectives, including maximizing the balance rate of dual-GC, minimizing the makespan, minimizing the handling cost, and minimizing energy consumption. The four objectives represent the four perspectives of performance, efficiency, effectiveness, and energy-saving. Our study provides theoretical support for the actual operation and management of the RCT.
The remainder of this paper is structured as follows. We describe the problem and develop a MIP model considering multi-objective in Section 2. In Section 3, we propose a TLHHA integrating HR, SA, ECEGA, and GR to solve the problem. Section 4 provides computational experiments to verify the correctness and validity of the proposed model and algorithm. In Section 5, we conclude this paper and propose future works.

Problem Description
When the train arrives at the RCT for handling operations, there are two handling modes under the "GCs-ITs" scheme, as depicted in Figure 3. Taking the outbound containers as an example, the GC loads the containers from the start position at the storage yard to the target position at the railcar. One is the direct move if both positions are located in the same crane area. The other is the split move if both positions lie in different crane areas. For that, one GC first picks up the container from the yard to the IT, then the IT transports it to the railcar, and finally it is picked up to the target position by another GC. The latter mode includes two sub-operations, namely unloading split move and loading split move. Whenever the target position is located far away from the start position, a reasonable combination of direct move and split move can effectively reduce the handling cost and improve the level of operational management of the RCT. However, it should be noted that the split move will cause twice the picking up and dropping process respectively of crane's hoist.  Along the track, the positive direction is defined as the front to the rear of the train. The bay and row of storage, railcar, and GC are numbered as described in Figure 3. For ease of description, we introduce the unit of the crane area as slot [30][31][32]. The length of a slot is equal to the length of the unit bay or the railcar. The number of slots S is the maximum value between bay number B and railcar number A, that is S = max(A, B). The driving carriageway in Figure 3 are dual and unidirectional to ensure operational safety and avoid collisions. ITs cannot turn round in the lane.
The decision problem is to optimize the allocation and scheduling of handling resources in the main operation area of the RCT. To more clearly understand the complicated and integrated problem, we subdivide it into four sub-problems. For outbound containers example, we study the integration of the four sub-problems considering the interaction between them.
• Yard partition problem (Q1): The working area of the track is divided for each GC.
In independent crane areas, adjacent GCs work independently without interfering with each other. However, in the crossing areas, the non-cross constraints should be considered in real-time. • Crane assignment (Q2): For containers that need to be operated, this sub-problem decides the handling mode according to the crane area, namely direct move or split move. • Crane scheduling (Q3): The handling sequence of each GC is to be determined. • IT scheduling (Q4): The IT participates in the handling operation only when the container adopts the split move. We assign the task and determine the transportation sequence for each IT.

Assumptions
The following are several assumptions for the mathematical formulation: • All containers waiting for loading to the train are 40-feet equivalent unit (FEU). • The start slot at the yard and target slot at the railcar of containers are assumed to be known in advance. • Each container needed to be handled is regarded as a task. • Each GC and IT has a virtual start and end task denoted as 0, and both virtual tasks are located at the initial position known in advance.

Notations and Variables
(1) Sets and parameters I: the set of tasks, i, j ∈ I G: the set of GCs, g, g ∈ G = {1, 2} S: the set of slots, s, s ∈ S K: the set of ITs, k, k ∈ K P 1 i : the start slot of task i P 2 i : the target slot of task i r i : the row of task i at the yard B: the number of bays at the yard R: the number of rows at the yard d: the distance between yard and track (unit:m) d 1 : the length of unit bay (unit:m) d 2 : the length of unit row (unit:m) Γ: the pickup or drop time of GC (unit:s) v 1 : the average cart speed of GC (unit:m/s) v 2 : the average trolley speed of GC (unit:m/s) v 3 : the average speed of full-loaded IT (unit:m/s) v 4 : the average speed of empty-loaded IT (unit:m/s) c 1 : the unit moving cost of full-loaded GC (unit:yuan/m) c 2 : the unit moving cost of empty-loaded GC (unit:yuan/m) c 3 : the unit transportation cost of IT (unit:yuan/m) C 1 : the moving energy consumption of full-loaded GC unit distance (unit:kg/m) C 2 : the moving energy consumption of empty-loaded GC unit distance (unit:kg/m) C 3 : the waiting energy consumption for GC waited for IT unit second (unit:kg/s) C 4 : the moving energy consumption of full-loaded IT unit distance (unit:kg/m) C 5 : the moving energy consumption of empty-loaded IT unit distance (unit:kg/m) C 6 : the waiting energy consumption of IT waited for GC unit second (unit:kg/s) M: a sufficiently positive integer ω: a weight coefficient transferring full-loaded distance to empty-loaded distance (2) Decision variables l g , r g : the crane area of GC g, where l g is left border and r g is right border X ig : if task i is operated by GC g using direct move, X ig = 1; otherwise, X ig = 0 X ul ig : if task i is unloaded by GC g using split move, X ul ig = 1; otherwise, X ul ig = 0 X l ig : if task i is loaded by GC g using split move, X l ig = 1; otherwise, X l ig = 0 x ik : if task i is transported by IT k, x ik = 1; otherwise, x ik = 0 y ij : if task i and j are operated by same GC, and i is immediate task for j, y ij = 1; otherwise, y ij = 0 z k ij : if task i and j are operated by same IT k, and i is immediate task for j, z k ij = 1; otherwise, z k ij = 0 ψ ij : if task i is executed before j, ψ ij = 1; otherwise, aψ ij = 0 (3) Derived variables π: if crane area of dual-GC is crossing, namely l 1 ≤ l 2 ≤ r 1 , π = 1; otherwise, π = 0 l 1 g , r 1 g : the independent area of GC g, where l 1 g is left border and r 1 g is right border l 2 , r 2 : the crossing area of dual-GC, where l 2 is left border and r 2 is right border µ 1 ig : if the start slot of task i is within the independent area of GC g, namely, l 1 g ≤ P 1 i ≤ r 1 g , µ 1 ig = 1; otherwise, µ 1 ig = 0 χ 1 ig : if the target slot of task i is within the independent area of GC g, namely, l 1 g ≤ P 2 i ≤ r 1 g , χ 1 ig = 1; otherwise, χ 1 ig = 0 µ 2 i : if the start slot of task i is within the crossing area of dual-GC, namely, l 2 ≤ P 1 i ≤ r 2 , µ 2 i = 1; otherwise, µ 2 i = 0 χ 2 i : if the target slot of task i is within the crossing area of dual-GC, namely, l 2 ≤ P 2 i ≤ r 2 , χ 2 i = 1; otherwise, χ 2 i = 0 I d g : the task set of direct move operated by GC g I ul g : the task set of unloading split move operated by GC g I l g : the task set of loading split move operated by GC g I g : the task set handled by GC g, I g = I d g ∨ I ul g ∨ I l g D 1 gi : the cart moving distance of full-loaded GC g D 2 gi : the trolly moving distance of full-loaded GC g E g ij : the cart moving distance of empty-loaded GC g e g ij : the trolley moving distance of empty-loaded GC g D g : the total distance of GC g after completing all task belong to it O gi : the beginning time of task i operated by GC g F gi : the finish time of task i operated by GC g W gk i : the waiting time of GC g waited for IT k when operating task i o ki : the beginning time of task i operated by IT k f ki : the finish time of task i operated by IT k w kg i : the waiting time of IT k waited for GC g when operating task i τ ki : the full-loaded moving time of IT k ξ k ij : the empty-loaded moving time of IT k σ 1 ki : the time when the IT k arrives at the start slot of task i σ 2 ki : the time when the IT k arrives at the target slot of task i

Objectives
We formulate the optimization model with multi-objective as expressed in Equations (1)-(4). Objective 1 is to maximize the balance rate of dual-GC expressed by the ratio of the smallest moving distance to the largest. Objective 2 is to minimize the makespan of the handling operation. Objective 3 seeks to minimize the handling cost, including the full-loaded and empty-loaded moving cost of dual-GC and the transportation cost of ITs. Objective 4 is to minimize the energy consumption of ITs and GCs.

Constraints
In Section 2.2.4, we express the corresponding constraints on the integrated allocation and scheduling of handling resources in the RCT. Equations l 1 1 = 1, l 1 2 = r 1 + 1 (8) Equations (5) and (6) indicate the right border and the left border of GC g. Equation (7) defines the left and right board of the crossing crane area of dual-GC. Equations (8) and (9) define the left and right board of the independent crane area of each GC.
Equations (10)- (14) assign the handling mode of all tasks to dual-GC according to the crane area. For task i, direct move must be adopted if the start and target slot are within the independent area of GC g, whereas split move must be used if both slots are located in the different independent areas of dual-GC as represented in Equations (10) and (11). Equations (12)-(14) indicate either direct move or split move if one slot lies in the independent area and the other slot lies in the crossing area, or both slots are within the crossing area. Equations (15)-(17) define the task set operated by each GC. Equation (18) means any task should be conducted by at least one GC and at most two GCs.
Equations (19) and (20) define the job sequence of GCs, indicating each task for GC has only one task as an immediate predecessor and one task as an immediate follower. Equation (21) defines the relationship of decision variables between crane assignment and crane scheduling. Equation (22) avoids the sub-circuit of each GC operation.
Equation (23) ensures that each task of the split move is operated by an IT. For each IT, Equations (24) and (25) indicate each task has only one task as an immediate predecessor and one task as an immediate follower. Equation (26) defines the relationship between IT assignment and IT scheduling. Equation (27) avoids the sub-circuit of each IT operation.
Equations (28) and (29) define the cohesion of single GC. Equation (28) expresses the relationship between the finish time and the start time of a task operated by a GC. Equation (29) indicates that the time constraint of two consecutive tasks for a GC. For split move, Equation (30) indicates the cohesion between two different GCs that the start time of the loading move must later than the finish time of the unloading move. Equations (31)- (34) define the cohesion of time between GCs and ITs. For split move, Equations (31) and (32) indicate the connection between the start time of the GC and the arrival time of the IT; Equation (33) is the cohesion between the start time of the IT and the finish time of the GC; and Equation (34) is the cohesion between the finish time of the IT and the start time of the GC. Equations (35)- (38) define the cohesion of single IT. Equations (35) and (36) express the arrival time of the IT at the yard or railcar. Equation (37) expresses the relationship between the finish time and the start time of a task operated by an IT. Equation (38) indicates the time constraint of two consecutive tasks for an IT.

Calculation of Movement Distance and Time of Handling Resources
1. Calculation of full-loaded movement distance of GC In the "GCs-ITs" handling scheme, the cart movement distance of full-loaded GC only occurs when the task is handled by direct mode, as represented in Equation (45).
The trolley moving distance of full-load GC is related to handling mode as shown in Equation (46).
We measure the performance of the GC by the total moving distance D g in objective 1. We adopt the parameter ω to balance the full-loaded and empty-loaded moving distance by converting the former to the latter, as shown in Equation (47).
2. Calculation of empty-loaded movement distance of GC The empty-loaded movement of GC is represented in Equations (48) and (49) when handling two consecutive tasks, including four situations: yard to yard, railcar to railcar, yard to railcar, and railcar to yard.
3. Calculation of traveling time of IT The IT lanes are unidirectional, so the traveling time of IT is related to the start and target slot of the task, as in Equations (50) and (51).
4. The waiting time of handling equipment For split move, waiting time refers to the failing cohesion between the GC and IT. The waiting time of the GC waited for the IT and the IT waited for GC can be presented as Equations (52) and (53).

Overall Framework
The integrated scheduling problem of RCT resources is a multi-level, multi-stage, and two-way correlation optimization problem, including four sub-problems whose relationship is shown in Figure 4. Q1 is the basis for Q2 to make decision, and the result of Q2 influences Q3. There is a two-way relationship between Q3 and Q4. Besides, Q3 has a counter-effect to Q1, so they are two-level planning problems, while Q2, Q3, and Q4 are three-stage optimization problems. Q1 and Q2 have been proved to be NP-hard problems [18,[30][31][32], and the scientific basis of Q3 and Q4 are both m-TSP classified as NP-hard problems. Therefore, the integrated scheduling problem is a complicated NP-hard problem. It is difficult to obtain the optimal solution in a reasonable time by using an accurate algorithm or commercial solvers. We propose TLHHA considering the characteristics of the model and problem to obtain the solution. The overall framework of TLHHA is shown in Figure 4. The first layer adopts HR to solve Q1 and the satisfying balance rate is set as the termination condition. The second layer uses SA to decide Q2, and the termination condition is the end temperature. The three-layer fusion of ECEGA and GR is used to solve the coordinated optimization Q3 and Q4, and the termination condition is the maximum iterations.
Specifically, firstly, the crossing crane area is initialized based on trisection as represented A 1 , A 2 , A 3 . The independent crane area of two GCs are A 1 + A 2 and A 2 + A3 separately, and the crossing area is A 2 . Based on the assignment of the crane area, the task assignment is initialized. Then, perform the down-top iteration. In particular, the scheduling sequences of dual-GC are obtained by ECEGA, and the IT scheduling plan is solved by GR. Return the scheduling result of dual-GC to the second layer to obtain the best task allocation. Finally, after returning the results of the following two layers to the first layer, HR is used to adjust the crane area. After adjusting, perform top-down iteration. The flowchart of this procedure is shown in Figure 5, where gen is the the current generation; max_gen represents the maximum iteration, L expresses the length of the Metropolis chain, l is the current chain, T 0 and Tend are the initial and termination temperature apart, T is the current temperature, and q is the cooling rate. The objective Z is defined in Equation (55).

Encoding and Decoding Strategy for Task Allocation of Dual-GC
For each task, there are four possible operating modes: the direct move by GC 1, the direct move by GC 2, unloaded by GC 1 and loaded by GC 2 of the split move, and unloaded by GC 2 and loaded by GC 1 of the split move. Based on the crane area, the possible operating modes L of each task can be determined, as shown in Figure 6. For each task, select an operating mode to compose S1, that is, in every four columns of L, there is only one sequence of 1. Furthermore, there is 0 in L, which must be 0 in S1.
In ECEGA, the problem of dual-GC scheduling is represented as a three-dimensional chromosome by the sequence encoding method, as shown in Figure 7. Line 1 represents the operation sequence of dual-GC. Line 2 is the GC operating the corresponding task. Line 3 expresses the operating mode of dual-GC, where 0 is direct move, 1 is loading split move, and −1 is unloading split move. Figure 7. Encoding representation for dual-GC sequence.

Strategy of Repair and Penalty for Unfeasible Chromosome
There may be unfeasible solutions for randomly generated initial populations and offspring of dual-GC scheduling. The unfeasible solutions chiefly include the following three scenarios. For the first two scenarios, we design the gene repair procedure to repair unfeasible chromosomes, and for the third scenario, the penalty strategy is used to dispose of unfeasible chromosomes.
Scenario 1: Operating modes of the first task performed by both GCs are 1, which would cause them to wait for each other, and neither can start the operation. The principle of gene repair is to only change the operating sequence of conflicting tasks. Find out if there is a direct move in GC 1. If so, change the operation sequence between the task and the first loading task of the split move. If not, use the same method to find the GC 2, as shown in Figure 8. Scenario 2: If one GC operates two tasks by loading and unloading of split move successively, corresponding to these two tasks operated in the opposite sequence by the split move for the other GC, so that two GCs would wait for each other and could not continue the operation. The principle of gene repair is to change the operating sequence of two conflicting tasks in GC 1, as shown in Figure 9.  Figure 10, the unfeasible solution appears. For that, the fitness function is 0, so that the individual is eliminated in the genetic loop operation.

IT Allocation and Scheduling Strategy
IT is not a critical bottleneck resource for RCT. Considering Objectives 2-4 and using a minimum number of ITs, the GR is adopted to optimize Q4. According to the operation sequence of dual-GC, the first IT that arrives at the start slot of the current unloading task operated by the split move is selected to perform the horizontal transportation operation.

Genetic Operators of ECEGA
The affinity between the elite individual and the global optimal solution is greater than between other individuals and the latter. The elite individuals play an important role in evolution. Therefore, the traditional genetic algorithm (GA) using the elite strategy can quickly converge to the global optimal solution. Co-evolution genetic algorithm (CEGA) emphasizes the mutual influence and co-evolution of multiple populations, which can effectively avoid premature convergence and local optimization brought by GA. Therefore, to speed up the algorithm convergence, while ensuring the diversity of the population and avoiding the algorithm's premature maturity, we propose ECEGA to solve Q3.
1. Parent selection strategy The GA usually uses the roulette wheel selection operator. With the increase of evolutionary iteration, the fitness of the individual and the homogeneity of the population gradually increased. It is easy to cause the algorithm to mature prematurely and fall into the local optimum. To solve this problem, considering the global convergence and population diversity of the algorithm comprehensively, individuals with higher fitness values and larger chromosomal differences are selected to form two subpopulations. The calculation formula for the difference between individuals is as follows: where i and j are individuals, l is the gene, is the length of gene, and ch il represents the value of individual i of gene l. The difference between the two chromosomes δ ij is the mean value of the gene difference across the genes. The selection strategy is as follows: supposing the population size is N and the tth population is pop t , we find the elite individual El(t). Divide the population into two subgroups. First, we select N/4 individuals to form one sub-group pop 1 (t) according to the roulette wheel selection operator. Then, we calculate the difference between each individual and El(t). Using the idea of the roulette wheel selection operator by regarding δ ij as a fitness function, select individuals to form the other subgroup pop 2 (t).
2. Order crossover operator and swap mutation operator The encoding of dual-GC scheduling problem is more complicated. To reduce the complexity of the genetic operation and the infeasibility of solutions, the order crossover operator and swap mutation operator are adopted [16,25]. For the swap mutation operator, two mutation points should be randomly selected in the operation sequence of same GC.
3. Co-evolution strategy to generate new populations We adopt co-evolution technology to generate new populations. First, for the subgroups pop 1 (t) and pop 2 (t) of each generation, cross and mutate them with elite individuals El(t) to produce N/2 offspring separately. Then, for the subgroup pop 1 (t), cross and mutate them in pairs randomly to produce N/4 offspring. For 5N/4 individuals, repair and dispose of the unfeasible solution. Calculate and sort the fitness of the individual in ascending order, select the first N − 1 individuals and El(t) to form a new generation of the population.

Fitness Function
According to prior experiments, the relationship between objectives 2 and 3 is 2Z 3 ≤ Z 2 ≤ 3Z 3 and between objectives 2 and 4 is 15Z 4 ≤ Z 2 ≤ 20Z 4 . Therefore, for ECEGA, to keep the magnitude of each objective consistent, the fitness function shows as Equation (55) to find the optimal scheduling method for dual-GCs and ITs, where γ is the weight of objective j.

Neighborhood Search for SA
For neighborhood search for SA, the current solution S 1 is randomly disturbed to produce a new solution S 2 . Two points are randomly generated, for example, r 1 = 2 and r 2 = 4, that is Tasks 2-4. At the same time, if the sequence of L is 0, the new solution S 2 is still 0. An operating move is randomly generated for selected tasks so that one code is 1 and the others are all 0. If there is only one operating move of the task in L, its code remains unchanged. In Figure 11, Task 4 has only one operating move; the randomly generated position of Tasks 2 and 3 are 4 and 2, respectively; and the new solution S 2 is produced.

Adjustment Strategy for Crane Area
HR is applied to adjust the crane area. Equation (56) calculates the number of slots ∆ needed to be adjusted. Based on ∆, there are three types of adjustment strategies as follows. The final selected strategy is to make Objective 1 greater than the satisfying balance rate, while Objectives 2-4 are minimizing.
Strategy 1: Increase the crane area ∆ of GC whose moving distance is less than the average value.
Strategy 2: Decrease the crane area ∆ of GC whose moving distance is greater than the average value. Strategy 3: Take Strategies 1 and 2 at the same time.

Computational Experiments
Some computation experiments were conducted to test the effectiveness of the proposed optimization model and TLHHA. Firstly, some initial settings were introduced. Secondly, some experiments were conducted with different division rules for crane areas to evaluate the performance of our solution. Besides, we compared the computational time and solution quality of four methods: HR-ECEGA-SA, HR-CEGA -SA (designed by Wang et al. [38]), HR-GA-SA, and CPLEX. Thirdly, sensitivity analyses were performed to demonstrate the varieties of each objective with varied stopping position of the train and number of ITs. All experiments were run on a PC with Intel(R) Core(TM) i7-7700 CPU @ 3.60 GHz processors and 8 GB RAM.

Experiment Results
Calculating the test expressed in Table 2, the CPU time of TLHHA is 328.85 s. The best crane area of dual-GC is slot 1-slot 32 and slot 14-slot 45. Therefore, the independent crane areas of GC 1 and GC 2 are slot 1-slot 13 and slot 33-slot 45, respectively, and the crossing crane area is slot 14-slot 32. The balanced rate of dual-GC is 100%. The total moving distance of two GCs after balancing is 1683.5 m. The makespan, handling cost, and energy consumption are 3289.17 s, 1383.77 yuan, and 214.39 kg, respectively. The optimal scheduling scheme is shown in Table 3. Twenty-two tasks need to be operated by the direct move and eight tasks by the split move. Figure 12a,b shows the moving time and moving distance of dual-GC apart. The empty-loaded moving time and distance of each GC are greater than the full-loaded. Therefore, we comprehensively consider the empty-loaded and full-loaded movement of GCs to optimize the balance rate, which has theoretical and practical significance. Table 3. Scheduling scheme of dual-GC and three ITs.

Equipments
Number of Tasks Scheduling Sequence

Performance Analysis of the Model and Algorithm
To verify the availability and universality of the proposed model and algorithm, we conducted numerical experiments. Each experiment was operated 10 times to eliminate potential error rooted in the randomness of every single experiment, and the results are the average values of the results of 10 group instances.

Verification of Model Correctness and Algorithm Validity
To test the model correctness and algorithm validity, we compared three TLHHA based on genetic algorithm and CPLEX in terms of solution quality and efficiency. Tables 4 and 5 show the results of different task numbers. We can obtain the best solution with the CPLEX solver of small-and medium-size instances within 1 h. Therefore, the validity of our model can be verified. For each instance solved by each method, the balance rate is greater than the satisfactory value of 90%, so the crossing crane area can balance the workload of dual-GC. As to the CPU time of the four methods, HR-GA-SA is the smallest. Elite strategy and co-evolution technology lead to the first two algorithms being slightly more complicated. However, the CPU differences of the first three TLHHA are very tiny in general. The complexity of the problem increases as the task size increases. The CPU time of CPLEX increases sharply. When the number of tasks is greater than 35, CPLEX cannot find an accurate solution in a limited time of 1 h. Therefore, we can prove that HR-ECEGA-SA has good optimization ability.
Gap is introduced to evaluate the difference among four algorithms, as shown in Figure 13. The calculation of gap for objectives is shown in Equation (57). The average gaps of Objectives 2-4 obtained from HR-ECEGA-SA and CPLEX are very small: 1.18%, 1.51%, and 1.73%, respectively. The average gaps of Objectives 2-4 obtained from HR-ECEGA-SA and HR-GA-SA are the largest: 8.29%, 10.18%, and 11.31% respectively. Compared to CEGA, EGECA makes full use of the elite individual to improve the average performance of solutions by 2.52%, 3.11%, and 4.23%, respectively. Therefore, the validity of HR-ECEGE-SA is verified.
where Φ 1 ij means Z i , that is, the value of objective i for algorithm j. If the algorithm is HR-ECEGA-SA, j = 1; if the algorithm is HR-CEGA-SA, j = 2; if the algorithm is HR-GA-SA, j = 3; and if the algorithm is CPLEX, j = 4.

Numerical Experiments with Different Division Rules of Crane Area
To verify the superiority and universality of the crossing crane area, we compared the results of four division strategies at different task numbers: the dynamic crossing crane area (DM1) that we propose, three-equivalent cross crane area (DM2) used for the initialization described in Section 3.1, disjunctive crane area equally (DM3) [7,8], and static disjunctive crane area (DM4) [30][31][32]36]. In Figure 14, the gaps are the objective differences between the DM1 and DM2, as well as between DM3, and DM4.  In Figure 14, firstly, the balance rates of DM1 of each instance are greater than 90%, and the maximum average value is 97.48%. However, the balance rates of three traditional strategies, that is DM2, DM2, and DM4, do not have satisfactory values. Gap is introduced to evaluate the difference among the four division rules, which is calculation using Equation (58). The gap of four division rules can be observed in Figure 14. Compared to other division rules, the average gaps of Objective 1 obtained from DM1 are 17.05%, 37.25%, and 37.10%, respectively. Then, the average makespan, handling cost, and energy consumption obtained from DM1 are the smallest. In contrast with DM2, DM3, and DM4, DM1 can reduce the average makespan by 4.37%, 9.87%, and 7.54%, respectively; reduce the average handling cost by 5.36%, 9.37%, and 7.40%, respectively; and decrease the average energy consumption by 6.99%, 6.97%, and 6.23%, respectively. DM1 comprehensively considers the flexibility of crane area unlike DM2. The specific location of tasks is ignored in DM3. The empty-loaded movement is ignored in DM4 as well as full-loaded movement of GCs. Besides, DM1 based on the handling plan of "GCs-ITs" reduces energy consumption because the long-distance movement of GCs is replaced by ITs. Therefore, we can prove the effectiveness and excellence of DM1, namely the crossing crane area we proposed.
where Φ 2 ij means Z i , that is, the value of objective i for the division rule j. If the rule is DM1, j = 1; if the rule is DM2, j = 2; if the rule is DM3, j = 3; and if the rule is DM4, j = 4.

Sensitively Analysis with IT Number
As depicted above, compared with GCs, ITs have higher flexibility, faster speed, lower energy consumption, and lower operating costs. Therefore, deciding the numbers of ITs reasonably is vital for the RCT. We compare the results of one instance shown in Table 2 under various IT configurations.
In Table 6, the balance rates of each instance meets the satisfaction value of 90%. The number of ITs mainly affects the makespan and handling cost. We calculate the gap of makespan and handling cost using Equation (59).
where Φ 3 ij means Z i , that is, the value of objective i for the IT number j. If the number is 3, j = 3; if the number is 4, j = 4; etc.   In Table 6, the handling requirements cannot be met when the number of ITs is 1, resulting in infeasible for the integrated optimized problem. When the number of ITs is fewer, the operation efficiency is poorer and the handling cost is higher. However, the startup cost of ITs is increasing with the increase in the number of ITs. In general, with the increase in the number of ITs, the improving trend of efficiency and the decreasing trend of cost gradually slows. When the number of ITs increases from 2 to 3, the makespan and cost decreases most obviously, up to 10.64% and 11.41%, respectively. If the value is greater than 6, there may be idle ITs, which would not join in handling operation.  Table 6 can be used as a reference basis. If RCT pays more attention to operational benefits and efficiency, three ITs can be configured. If it is limited by IT resources and startup cost of the IT, the optional configuration is 4. The results prove that the model and algorithm designed in our paper are effective and stable for different number of ITs.

Sensitively Analysis with Stopping Position of the Train
When the start and target slots of tasks are known, the stopping position of the train affects the moving distance of handling equipment between each task, which in turn affects the division of the crossing crane area and each objective above. Thus, for sensitivity analysis, a comparison experiment with different stopping position of the train was performed. The stopping position corresponds to the first bay of the yard. Therefore, in Figure 15, the value of stopping position equals the serial number of the first bay.
In Figure 15, the average balance rates of each stopping position meet the satisfactory value of 90%, and the largest is 98.64%. As the stopping position varies from 1 to 10, the trend of the makespan, handling cost, and energy consumption are to decrease first and then increase. The lower is the stopping position, the farther away is the rear of the train from the yard. The higher is the parking position, the farther away is the headstock from the yard. In all tests, these objectives are minimum when the stopping position is 5, and the differences with the values of 4 and 6 are small. Hence, the stopping position of the train should be reasonably determined according to the position of the tasks in the train and yard to improve the handling performance. In our case, values of 4-6 are recommended, by which the handling efficiency and cost can be improved, while the energy consumption be reduced.

Conclusions
In this paper, the integrated allocation and scheduling of handling resources in the RCT are discussed. To improve the handling efficiency and reduce the handling cost and energy consumption, we propose the new handling scheme of "GCs-ITs", generating two handling modes: direct move and split move. In the latter, the IT is applied to replace the long-distance, full-loaded movement of GC. We decompose the integrated optimization problem into four sub-problems: yard partition, crane assignment, crane scheduling, and IT scheduling. Considering outbound containers, a multi-objective MIP model is developed. Analyzing the characteristics of the problem, we designed a TLHHA incorporating HR, ECEGA, GA, and SA to obtain the solution. Furthermore, the effectiveness of the model and algorithm is verified by analyzing and comparing the experimental results under different optimization algorithms and division rules for crane area. Besides, we investigate the sensitive analysis considering IT numbers and the stopping position of the train. Our research has the following conclusions.

•
The moving distance of GC applied to measure the workload is more reasonable in reflecting the handling performance. Due to the simultaneous consideration of the container's position, the full-loaded and empty-loaded of dual-GC, and the flexibility of crane area, the principle of dynamic crossing crane area that we propose has the highest balance rate compared to the three traditional principles. • Based on the "GCs-ITs" scheme, we take advantage of IT to make up for the disadvantage of GC. Therefore, the integrated optimization problem has better efficiency, benefit, and energy-saving. • The ECEGA that we propose in the second-layer of the TLHHA can speed up the convergence, avoid premature convergence, and ensure the global optimal solution. According to the results of experiments, the solving efficiency and performance of HR-ECEGA-SA can be validated by comparing it to HR-CEGA-SA, HR-GA-SA, and CPPLEX. • The number of ITs mainly affects the makespan and handling cost of the RCT. Too few ITs cannot meet the handling requirements, and too many will undoubtedly increase the construction cost of RCT. For our case, the optimal configuration is 3. • The stopping position of the train affects the moving distance of handling equipment. By experiments, we verify that the stopping position should be selected so that the center of the train is close to the center of the yard. For the instance of our research, the optimal stopping position is 5.
This research still has some limitations. We did not consider the congestion of the ITs in the handling area and the storage slot allocation. For future study, these two factors should be further explored. Another challenge is to simultaneously optimize integrated allocation and scheduling problems for the outbound and inbound containers stored in the yard and external trucks of the rail-road railway terminal. Finally, we consider the handling plan of "GCs-ITs". However, the handling equipment varies different RCT. Therefore, the different handling plans can be evaluated from the perspective of operation cost (including construction cost and handling cost), handling effectively, and environmental protection in future research. The various handling plan includes GCs, "GCs-ITs", RSs, and "GCs-RSs".

Conflicts of Interest:
The authors declare no conflict of interest.