Abstract

This paper investigates the yard crane scheduling problem of a hybrid storage container terminal whose import containers and export containers are stored together in each block. The combination of containers improves the space utilization of a container terminal while it also creates new challenges for the yard crane scheduling. To formulate this problem, we propose a mixed integer linear programming (MILP) model, which jointly optimizes trucks’ waiting costs and penalty costs caused by exceeding waiting time thresholds. Considering the NP-completeness of this scheduling problem, we develop an efficient rolling horizon algorithm based on some heuristics to reduce the computation time. Finally, computational studies are carried out to evaluate the performance of our method and the solutions obtained by CPLEX solver are used for benchmarking purposes.

1. Introduction

Containerised transportation, where containers are transferred between different modes of transportation both on the sea side and on the land side, has been playing a significant role in international trade transportation for several decades. Accordingly, yard cranes (YC) are the primary equipment to store and retrieve the containers in each block, which is hard to schedule due to the complexity of operation system. Hence, well-planned YC operations can create many competitive advantages [1].

At typical container terminals, the import containers include the storage requests by the internal trucks and retrieval requests by the external trucks. Meanwhile, the export containers include the retrieval requests by the internal trucks and the storage requests by the external trucks. Commonly, the two types of containers are separately stored in different container blocks in East Asia. However, this separated mode fails to make the most efficient use of precious yard space. As the scale of global trade expanding, the storage capacities of some East Asian container terminals are becoming more and more tight during peak import/export seasons. This may cause huge economic losses and reputational damage to the container terminals. To relieve this problem, a hybrid storage mode (in port operational practice, this mode has been well used by some automated container terminals in western countries, such as London Gateway terminal and Euromax terminal), under which import containers and export containers are stored together in each container block, is being gradually adopted by some container terminals in East Asia. In practice, this mode makes the scheduling of yard cranes more complex while improving the space utilization of container yards. Therefore, the issue of yard crane scheduling in hybrid storage container terminals needs to be solved urgently, and it has a great research necessity.

As illustrated in Figure 1, it shows a hybrid storage container terminal from an aerial view. A hybrid storage block is commonly equipped with more than one YC. These YCs need to serve the trucks with different requests, including internal and external ones, as fast as possible to decrease truck waiting. The internal trucks are to store or retrieve containers between the block and the quay cranes (QCs), and the external trucks are for the storage and retrieval containers between the gate side and the block. In the hybrid storage block, import and export containers are arranged in a number of rows and bays as shown in Figure 2. During a planning period, the storage requests may be generated by internal or external trucks besides the retrieval requests in the truck queue.

In fact, compared with the crane scheduling in traditional East Asian blocks, the crane scheduling in hybrid storage block (CSHSB) has a novelty. Yard cranes will confront four types of requests instead of just two types. Moreover, for a hybrid storage block, there are more truck types and quantities, which makes lane congestion more likely to occur. Therefore, in the CSHSB problem, each type of requests should be treated differentially and lane congestion should be mitigated. Specifically, we introduce a novel objective function with differential waiting cost coefficients to minimize the waiting cost of requests. Besides, two waiting time thresholds are also proposed to prevent trucks from staying in lanes for too long.

The main contributions of this paper are summarized as follows. First, we formally formulate the CSHSB problem as a novel mixed integer linear programming (MILP) model, where both internal truck requests and external truck requests are considered simultaneously. Second, due to the NP-completeness of the CSHSB problem, we develop an efficient rolling horizon algorithm, which takes advantage of the properties of the problem, to obtain satisfactory solutions (near optimal solutions) in a reasonable amount of time. As the problem size increases, the complexity of the proposed algorithm only grows linearly. Finally, a series of computational studies are performed to demonstrate the efficiency and practicality of our algorithm.

The rest of our paper is organized as follows: Section 2 explains the contributions of this work in light of an extensive literature review of YC scheduling problems. On the basis of problem description, Section 3 formulates our problem as a mixed integer linear programming (MILP) and states some properties about the mathematical model. Section 4 builds upon the problem characteristics to develop a rolling horizon algorithm. This algorithm is tested through computational studies in Section 5. The concluding remarks and future directions are given in Section 6.

2. Literature Review

In this section, we review previous work focusing on the problems of scheduling yard crane(s). This topic has captured increasing attention over the last decade (see, e.g., the literature reviews by Carlo et al. [2]; Gharehgozli et al. [3]; Gharehgozli & Zaerpour [4]; Wang et al. [5]). Firstly, we briefly review some related work dealing with interblock crane scheduling. Then, the crane(s) scheduling within a single container block, which is closely related to our paper, is reviewed comprehensively.

2.1. Interblock YC Scheduling

In practice, for the situation with multiple yard cranes and multiple blocks, jobs in container blocks need to be assigned to the available yard cranes. Therefore, some studies concentrate on the interblock scheduling of yard cranes. Legato et al. [6] propose an optimization model for crane interblock movement, so as to satisfy the crane capacity requirements and minimize the total cost for block matching and crane activation. Moreover, in order to find the best policy for dispatching yard cranes to blocks, they introduce the architecture of an integrated framework, which includes both optimization and simulation techniques. He et al. [7] formulate the yard crane scheduling among container blocks as a goal programming. A hybrid algorithm, which employs some heuristic rules and a parallel genetic algorithm, is proposed to solve the interblock scheduling problem efficiently. Besides, in Chen and Langevin [8], this problem is treated as a mixed integer programming and a taboo (tabu) search algorithm is proposed to quickly obtain near optimal solutions. Furthermore, considering the shortcomings of single-period scheduling, Chang et al. [9] develop a multiperiod model for interblock crane scheduling.

Recently, green operation in maritime ports has received a lot of attention. In fact, yard cranes are large-scale device, so that yard cranes need a lot of energy to move between container blocks. In order to seek a trade-off between efficiency and energy consumption, He et al. [10] convert the interblock yard crane scheduling problem into a vehicle routing problem with soft time windows and propose a combined algorithm that integrates the genetic algorithm and particle swarm optimization algorithm to find the satisfied solutions. Similarly, Sha et al. [11] present an integer programming model with the purpose of minimizing the total energy consumption to optimize the interblock yard crane scheduling.

2.2. YC Scheduling within a Single Block

In container yard operations, yard crane scheduling problem within a single block is very relevant to this paper. Incipiently, some researchers start with dispatching a single crane in a container block. Kim and Kim [12] firstly propose a mixed integer programming for the single crane scheduling problem, which is based on the configuration of Asian container terminal (see Figure 1). The retrieval schedule is given by groups of containers and the objective is to minimize crane travel time through the bays. Narasimhan and Palekar [13] show the NP-completeness of the problem, prove some structural properties on the optimal solution, and suggest a branch and bound approach. The best solution of Kim and Kim [14] uses encoding and decoding procedures embedded in a neighbourhood beam search. Later, Lee et al. [15] consider the same problem for two blocks, where there is only one crane in each container block. Moreover, a simulated annealing algorithm is introduced for this problem solving.

Ng and Mak [16] extend the single crane scheduling problem by including storage requests and differentiating the ready time of each request. For the same problem, Guo et al. [17] present an A search algorithm and a backtracking algorithm to efficiently find a solution that minimizes the average vehicle waiting time. Recently, Gharehgozli et al. [18] consider a unique crane to carry out storage and retrieval requests while minimizing total crane travel time. Due to specific problem properties, they provide a continuous time integer program and design a two-phase approach for the problem. Gharehgozli et al. [19] show that this problem can be solved in polynomial time and develop different polynomial time algorithms for different storage and retrieval systems. Zou et al. [20] consider a compact storage and retrieval system by using both dedicated and shared storage policies to minimize dual command throughput time. Considering container relocations are not addressed in single crane scheduling problems, Yuan and Tang [21] incorporate a single yard crane scheduling problem with relocations to reduce crane travel and relocations. da Silva et al. [22] only focus on the block retrieval problem to minimize the number of relocations and the unproductive moves of hindering containers. Moreover, Galle et al. [23] integrate the storage, retrieval, and relocation requests into an integer program, so as to jointly optimize current crane travel time and future relocations.

However, in the realistic operations of container terminals, a container block may contain multiple yard cranes. The problem of scheduling multiple cranes within a single block is closest to our paper. Compared to the single crane scheduling within a single block, the multicrane handling system is more complex. Firstly, Lee et al. [24] extend the work of Kim and Kim [12] by simultaneously scheduling several cranes in a container block. An integer programming model with the objective of minimizing the makespan is developed for scheduling multiple yard cranes. Considering the NP-completeness of the problem, they also design a scheduling heuristic to quickly obtain a satisfactory solution. Li et al. [25] develop a continuous-time model with the objective of minimizing the truck waiting time for the problem of scheduling multiple yard cranes. They incorporate several realistic constraints into the scheduling model and offer a heuristic algorithm to quickly obtain the near optimal solution. Similarly, in order to find the near optimal solutions, Wu et al. [26] offer a clustering-reassigning approach for multicrane scheduling. Based on the properties of twin automated cranes system, Gharehgozli et al. [27] formulate the multicrane scheduling problem as a multiple asymmetric generalized traveling salesman problem and develop an adaptive large neighbourhood search heuristic to solve it. In addition, Saini et al. [28] present a stochastic model for two passing dual yard cranes and obtain closed-form expressions for the crane throughput capacity with interference delays. Besides, for both balanced and unbalanced stack configuration, an approximate model is developed to estimate the expected throughput times. Lashkari et al. [29] investigate the problem of scheduling a dual-spreader crane when lifts are subject to a weight limit. They propose a fast method for computing a lower bound on the optimal value and design an efficient heuristic approach to solve the problem. Speer and Fischer [30] focus on the crane cycle times and the comparison between double and triple crane systems.

Finally, besides the mentioned optimization models and algorithms, some other methodologies are also used for yard crane scheduling problems. Yan et al. [31] establish a knowledge-based system to schedule yard cranes. Petering and Murty [32] develop a simulation model to evaluate different crane scheduling strategies. Similarly, for the problem of block crane scheduling, Stahlbock and Voβ [33] introduce a simulation study to test different online algorithms. Recently, Fotuhi et al. [34] propose an agent-based model by using Netlogo to optimize the service efficiency of yard cranes, so as to minimize the total waiting time of external trucks. For crane scheduling, Abourraja et al. [35] present a multiagent simulation model, including an improved strategy which is inspired by ant colony approach.

Overall, papers on yard crane scheduling with different scenarios are abundant. However, no optimization model or algorithm has yet been proposed for the yard crane scheduling in hybrid storage container terminals. Compared with the extant literature, the crane scheduling in hybrid storage block (CSHSB) has some novel characteristics. More specifically, there are more truck and request types in the CSHSB problem. Furthermore, different types need to be treated differently. These novel characteristics bring challenges to problem modelling and solving. In this paper, a MILP model with a set of practical constraints is proposed for the CSHSB problem. Our model incorporates workload balance constraints and waiting time thresholds. To obtain the promising solutions of large-scale instances in a reasonable amount of time, an efficient rolling horizon algorithm is developed. In summary, the problem considered in this article and the methods for solving it appear to be unique.

3. Problem Modelling

3.1. Problem Description

In the CSHSB problem, we suppose that there is a given set of truck requests, including the internal and external ones, with different release times. Here, the release time of a truck request is the moment when the corresponding truck arrives at its handling location. Furthermore, all locations of the truck requests, which are predetermined, are represented by the bay numbers in hybrid storage block (see Figure 2). We consider the arrival information of trucks can be predicted for a relatively short planning period, which is a common setting in the literature [16, 17]. In practice, the advanced traffic information systems (ATIS) that can provide road-users and traffic managers with accurate and reliable real-time information have been widely studied and applied in recent years [17].

In today’s yard operations, several cranes are often placed in a container block to handle a series of truck requests. Yard cranes (YCs) need to provide services for successive truck requests as fast as possible to alleviate waiting. This helps in supporting unblocked truck flows to the quay side and gate side to achieve higher productivity. For the CSHSB problem, the waiting costs (per unit time) of internal and external trucks are commonly different. Moreover, to avoid the lane congestion of the hybrid storage block (see Figure 2), trucks are not allowed to wait too long in lanes. In this paper, two thresholds are introduced to control the waiting times of internal and external truck requests; then penalty costs will occur if their waiting times exceed the corresponding thresholds. In summary, we aim to minimize the total waiting cost formed by the sum of the general waiting costs and the penalty costs.

In the CSHSB problem, we assume that the number of YCs is smaller than the number of requests (i.e., m < n), which is the common situation in reality. Considering the scheduling efficiency, the serious workload imbalance among YCs should be avoided. Next, based on an instance with m = 2 and n = 6, a solution is shown in Figure 3. In Figure 3, represents the type of truck request i, where , if truck request i is internal truck; , otherwise. ri and si represent the release time and start time of request i, respectively; pi is the processing time of request i; denotes the moving time that YC travels from requests i to j. As shown in Figure 3, the solution is YC1: request 2 request 5 request 6; YC2: request 3 request 4 request 1. Moreover, the waiting times of internal and external trucks are less than their thresholds. Both YC1 and YC2 are assigned three requests, so the workload balance is perfectly satisfied. Therefore, this solution is feasible. Finally, the paths of two YCs are also plotted in Figure 3.

3.2. Mixed Integer Linear Programming (MILP)

In this section, we provide a MILP model to formalize the CSHSB problem.

3.2.1. Assumptions

The following assumptions are made in the mathematical model:(1)A truck request can be handled by a YC only if the corresponding truck arrives at its handling location; i.e., each request can only be handled by a YC after the request has been released.(2)Once a YC starts handling a request, the YC will not handle another request until it completes the request.(3)The YC moving time between two request locations could be predicted with high accuracy as YC speed is usually quite consistent.

3.2.2. Notations

The notations used in the model are listed as follows.

Parameters: the set of all truck requests at the beginning of the planning period (indexed by , );: the set of YCs that can be scheduled at the beginning of the planning horizon (indexed by );: the total number of the requests during the planning period;: the total number of the YCs at the beginning of the planning period;: the release time of truck request , ;: the maximum imbalance level of workload assignment, where ;: a binary parameter which represents the type of truck request ; , if request is internal; , otherwise;: the processing time of truck request , ;: the location (bay number) of request , ; represents the initial location of each YC;: the moving time that a YC travels from request to request ; it can be obtained by the equation , ; denotes the time it takes for a YC to travel from the initial location to the location of truck request ;: the length of each bay;: the moving speed of a YC;: unit waiting time cost for each internal truck request;: unit waiting time cost for each external truck request;: the waiting time threshold of each internal truck request;: the waiting time threshold of each external truck request;: unit penalty cost incurs when the waiting time of an internal request exceeds its threshold;: unit penalty cost incurs when the waiting time of an external request exceeds its threshold.

Decision Variables: a binary variable satisfying if request precedes request on YC , otherwise , ;: the start time of truck request , .

3.2.3. Mathematic Formulation

[CSHSB]S.T.The objective function (1) is to minimize the total waiting cost, including the waiting and penalty costs of all requests. Constraints (2) and (3) ensure that every truck request is assigned to exactly one YC and has exactly one predecessor. Constraints (4) and (5) jointly ensure that all YCs must travel from the initial location to different request locations. Constraint (6) is to control that every truck request has only one successor except the last one. Constraint (7) ensures that the handling orders between any two truck requests are unidirectional. Constraint (8) ensures the consistency of start time and service sequence on each YC. More specifically, for any truck request, the start time of its successor cannot be earlier than its start time plus its processing time and the YC moving time. Constraint (9) ensures that each truck request can be handled by one YC only after the request is released. The workload balance constraint is ensured by constraints (10) and (11). Constraint (12) states that the beginning time of the planning period is zero and ensures that each YC must travel to its first task at time 0. Constraint (13) defines the nonnegative variables, and Constraint (14) defines the binary variables.

Since (1) contains maximum value forms, we can linearize the objective function by substituting and with auxiliary variables yi and zi, respectively. Then, the above model is equivalently rewritten as a standard Mixed Integer Linear Programming (MILP).

MILP for [CSHSB]S.T. constraints (2) – (14) andConstraints (16) and (17) indicate that if or , variable or zi, must be greater than or equal to or , respectively. Otherwise, variable yi or zi must be less than or equal to zero.

Note that if the scheduling method obtained by MILP cannot work well in a container terminal, then a feedback is necessary. The operational defects of the obtained scheduling method can be returned to the decision-makers in order to modify MILP’s system configuration (e.g., CI, CE, , , etc.). This feedback adjustment can guarantee that the further scheduling method works well in practical operations.

Totally, this MILP model contains n2m binary variables, n continuous variables, and 2n2m+nm+3m+4n constraints. This MILP model will be solved by the commercial optimization software CPLEX in Section 5’s computational studies.

As we all know, even the problem of single machine scheduling with diverse release times is NP-complete [36]. Compared to this problem, the scheduling problem we proposed is a more complex multiple machines system. Hence, the CSHSB problem is also NP-complete. In the practical operations of container terminals, the scheduling plans need to be given in time. Therefore, in order to quickly find satisfactory solutions for the CSHSB problem, we develop an efficient rolling horizon algorithm in Section 4.

4. Rolling Horizon Algorithm (RHA)

According to the properties of the CSHSB problem, we intuitively know that an excellent scheduling should try to ensure the waiting times of truck requests below their thresholds, so as to eliminate the penalty costs. Consequently, if a request is released much later than a request , then is likely to be handled later than ; otherwise, the waiting time of the request will exceed its threshold. Hence, we can divide the release times of all truck requests (the release time of a truck request is the moment that the corresponding truck arrives at its handling location) into multiple horizons. More precisely, the truck requests, whose release times are close with each other, will be assigned to the same horizon. Although the requests in each horizon still need to be sequenced, the computation time of each one is very short. Moreover, the requests in the same horizon with later release times are called low priority (LP) group, and the ones with earlier release times can be named high priority (HP) group. HP-group is more likely to be handled prior to LP-group. Figure 4 illustrates the primary idea of the RHA. As aforementioned, the whole planning period is defined as many short rolling horizons. Accordingly, the whole problem is decomposed into many small subproblems as the rolling proceeds.

The optimal scheduling solution of the whole problem can be obtained by repeatedly invoking the heuristic sequencing of the RHA, which is used to solve each subproblem. In order to propose the RHA clearly, we will introduce several necessary notations in the following section.

4.1. Notations for RHA

Some notations are used to describe the RHA, as follows.

Notations Used in the “Sequencing” Module (See Figure 5). is the set of the requests in horizon . For , includes the original requests in horizon 1. For , includes the latter half of and the new requests which are released in the latter half of horizon .

Note that optimizing the handling sequence of the requests in is defined as “subproblem ”.

is the local optimal sequence, which is obtained by using heuristic sequencing (see Section 4.3) to solve subproblem .

is the former half of , i.e., (former half).

is the optimal sequence for one YC to handle all requests. More specifically, .

The subscript ; the number of all subproblems is ; i.e., the number of loops of the RHA is , where rn is the release time of the last request n (i.e., the arrival time of the last truck), and L is the step length of each rolling. Here, represents the largest integer which is less than or equal to .

Notations Involved in the “Assignment” Module. is the set of the satisfactory solutions to CSHSB, which is obtained by imposing the assignment rule on . The assignment rule is elaborated in Section 4.4.

is the best solution to the CSHSB problem.

4.2. Flowchart of RHA

Figure 5 shows the flowchart of the RHA. Firstly, the rolling step length L is set. Let both sets is a kind of shorthand notation, which is equivalent to “”) and equal null and . After the information of all truck requests is loaded, we invoke the heuristic sequencing, which is presented in Section 4.3, to solve the subproblem related to Aj. Next, update Pj by using the solution of subproblem Aj. Furthermore, we record the former half of sequence Pj into Mj, that is, Mj = Pj (former half). As long as , the rolling horizon will be rolled forward once (i.e., let ), and the current is also updated. Again, we invoke the heuristic sequencing to solve the subproblem related to , and then and can be obtained.

Once j reaches , the rolling will be stopped. Hence, ∀ j, both Mj and Pj are obtained. Then, we shift to the “Assignment” module of the RHA. First, the and are chained together, so we get the sequence ; i.e., . By imposing the assignment rule (see Section 4.4) on the sequence , we can provide the CSHSB with the satisfactory solutions, which are saved to the set . Moreover, according to (1), we evaluate all the solutions in and pick out the best solution . Finally, we output the best solution of CSHSB and terminate the RHA.

Here, we briefly analyze the complexity of the proposed RHA. Due to the small scale of the subproblems during each rolling, solving each subproblem usually takes several seconds. Although the decrease in size is accompanied by an increase in the number of subproblems to solve, the total solution time still reduces dramatically. Therefore, it is much better to solve many subproblems than to solve the MILP as a whole. To facilitate theoretical analysis, we define the average time interval between two adjacent requests as , where denotes the release time of the last request n. Then, the number of the requests released in each rolling horizon is ; i.e., the average size of each subproblem is . Moreover, the total number of horizons is ; i.e., the total number of subproblems equals . As the whole problem size (n) increases, the total solution time only increases linearly in n, i.e., . With much smaller than n, the exponential term, , is much smaller compared to en.

Next, we will introduce the heuristic sequencing and the assignment rule, which are the core parts of the RHA.

4.3. Heuristic Sequencing

In order to solve a subproblem related to Aj, we develop a heuristic sequencing based on evolutionary ideas. Each part of the heuristic sequencing is as follows.

4.3.1. Solution Representation

We denote as the number of the requests in set Aj. The natural number coding is adopted, and then a -dimensional vector is used to represent a solution of the subproblem related to Aj. The mark numbers of the requests are sorted by their release times. Obviously, the repeated values are forbidden since any truck request can be handled only once, for instance, the four requests in the rolling horizon 1 of Figure 4, that is, A1= equest 1, request 2, request 3, request . A solution to this subproblem can be represented as follows.4-dimensional vector: (3, 1, 4, 2).

This implies that the handling sequence is .

4.3.2. Initial Solutions

Let represent the size of the solution set, and is used to count the number of the initial solutions. The procedure of generating the initial solution set is as follows.

Step 1. Read-in the set , and let .

Step 2. Randomly generate a sequence for handling the requests in .

Step 3. Record an initial solution into the set of the initial solutions and let .

Step 4. Repeat Step 2 if . Otherwise, output the initial solution set.

4.3.3. Solution Evaluation

A function to evaluate the solutions of each subproblem is required by our heuristic sequencing. Since the objective of each subproblem is to minimize the total waiting cost, a solution with smaller objective value implies a superior handling sequence. Therefore, we present an evaluation function as follows: where denotes the objective function value of the solution .

4.3.4. New Solution Creation

To create new solutions for each subproblem, the following procedure is proposed.

(1) Selection. Firstly, we need to choose some solutions from the current solution set. Here, we apply “roulette wheel approach [37]” to select old solutions. As shown in (19), the solutions with higher evaluation score are more likely to be chosen to create new solutions. The procedure of selection is as follows.

Step 1. We calculate the probability of each solution, which is determined by the following equation:

Step 2. We calculate the cumulative probability of each solution and randomly pick G numbers from .

Step 3. If a randomly picked number is between the cumulative probabilities of two adjacent solutions, the solution with larger cumulative probability is selected.

(2) Generating New Solutions. After selection procedure is finished, we use the following procedure to explore new solutions. Accordingly, a demo is visually shown in Figure 6.

Step 1. In order to mark a position, and are randomly chosen from solution1 and solution2. Then, the two fragments between and are preserved, and two incomplete solutions are recorded as and .

Step 2. For solution1 and solution2, we implement the cycle-shift from position .

Step 3. The two fragments between and are deleted from cycle-shifted solution2 and solution1, respectively. Then, we get two shorter strings, ’ and ’.

Step 4. We replace the “×” in with the elements in ’ and the “×” in with the elements in ’. Finally, two new solutions are generated.

(3) Avoiding Local Optimum. An approach is required to maintain the solution diversification and prevent heuristic sequencing from falling into local optimum. In our paper, the “two-point swap” mutation [3840] is used for the handling sequence of the requests.

4.3.5. Stopping Rules

In order to balance the completeness and efficiency of the heuristic sequencing, two stopping rules, “limit iteration” and “no improvement”, are proposed.

Let denote the number of iterations and denote the number of iterations in which the current best solution remains unchanged. A preset maximum number of iterations can be expressed as MaxI. Furthermore, “limit iteration” implies the heuristic sequencing must be stopped once . The “no improvement” means the heuristic sequencing will be stopped if (here, for “no improvement” stopping rule, we set 1/3 as the critical level; the critical level can be adjusted based on different preferences).

4.3.6. Procedure of the Heuristic Sequencing

Based on the discussion above, the whole procedure of the heuristic sequencing is summarized as follows.

Step 1. Initialize the solution set of a subproblem, and .

Step 2. Evaluate each solution, which belongs to the current solution set, through (19).

Step 3. Update the current best solution and record its evaluation score. Let if the evaluation score of the current best solution is increased; otherwise, let .

Step 4. Terminate the heuristic sequencing and output the solution of the subproblem if or . Otherwise, let and turn to Step 5.

Step 5. Implement the selection, creation, and two-point swap techniques to create a new solution set. Then, return to Step 2.

4.4. Assignment Rule

As shown in Figure 5, we can see that once “Sequencing” module is stopped, the RHA will switch to “Assignment” module. The is given at the start of the “Assignment” module. However, the workload assignment of each YC is not clear, so we present a rule to solve the assignment problem

Assignment Rule. Separate the sequence into ⌈n/m⌉ equal-sized pieces, and then the requests in each piece are parallelly assigned to m YCs (Note: ⌈n/m⌉ equals the smallest integer which is larger than n/m). If n/m is not an integer value, then the number of requests in the last piece is smaller than ⌈n/m⌉. In this case, we only need to discretionarily choose Γ YCs from m YCs, and then the requests in the last piece will be assigned to the chosen YCs, where .

After we implement the assignment rule, a series of satisfactory solutions to CSHSB are obtained. These satisfactory solutions are saved in set . Clearly, all the solutions in set perfectly meet the workload balance constraints (10) and (11). Finally, we can find the best solution from set according to (1), and then the RHA is terminated.

5. Computational Studies

In this section, computational studies are conducted to testify the performance of proposed algorithms. We first describe the test instances generation process. Then, the parameter settings of the RHA are discussed. Finally, the computational results and CPU times are listed, and some analyses are conducted. More specifically, we compare each of the solutions obtained by the proposed RHA, the improved genetic algorithm (IGA), and directly solving the MILP model using CPLEX solver. (So far, the paper most related to our work is that by Zheng et al. [41]. Therefore, the improved genetic algorithm (IGA) they proposed is used as a benchmark. In their study, the IGA is proposed by adopting the adaptive crossover and mutation which are developed by Yan [42]. In the IGA, the range of adaptive crossover probability is set to the range of adaptive mutation probability is set to the population size is set to 500, and the IGA is terminated if the number of iterations reaches 1000.) Similarly, their CPU times are also compared to each other. For CPLEX, the default parameter settings are used and the time limit for computing is set to 18000 seconds (i.e., 5 hours). We list the incumbent solutions when the time limits are met. All procedures and algorithms are coded in MATLAB. All computational studies are executed on a PC with CORE i5 CPU of 2.50GHz and 4 GB RAM.

5.1. Generation of Test Instances

In this section, all test instances are randomly generated based on the real scenario of Asian container terminals. A hybrid storage block is set to be a rectangular region with the size of 30 bays and 2 YCs. Both the initial locations of the two YCs are set to zero; i.e., . In addition, we set metres (about 26ft) due to the length of the 20ft ISO container. The ratio between the external and internal trucks is equal to 1: 4. The bay numbers of all requests are generated by a discrete uniform distribution denoted as U(1, 1, 30) (here, U (min, γ, max) is the discrete uniform distribution between min and max with step size γ); i.e., (1, 1, 30). Considering the storage height and crane technology in East Asia ports, we assume (2, 8). Additionally, v = 1 m/s, , = 15 minutes, = 60 minutes, CI = 10, CE = 5, and PC1 = PC2 = 50.

For small-scale test instances, there are n = 8, 14, 20, 24, and 28, respectively. Moreover, n = 50, 80, and 110 are considered as large-scale. For each scale, the release time ri (i.e., truck arrival time) follows U(0, 4n). Based on the above scenario and distributions, the proposed algorithm is tested under unfavourable circumstances. Other distributions do not cause significant deviations.

5.2. RHA Parameter Settings

In this section, some tests are necessary to ensure that the RHA parameter settings could yield better performance. Due to the small size of each subproblem, we adequately set G = 60 and MaxI = 100. The rolling step length, the solution creation rate, and the mutation rate are set based on a series of comparative tests. Considering test costs, the rolling step length is limited to 5, 15, 25, or 35; the solution creation rate is limited to 0.20, 0.40, 0.60, or 0.80; the mutation rate is limited to 0.01, 0.05, 0.10, or 0.15. Moreover, we continuously run RHA 20 times under each parameter combination to get the average objective values.

The comparative results of the RHA parameter settings are shown in Figure 7. In Figure 7, the horizontal axis denotes each parameter combination, and the vertical axis represents the average objective value of the corresponding parameter combination. The results indicate that the dominant parameter combination is “combination 20”. The “combination 20” is (rolling step length, solution creation rate, mutation rate) = (15, 0.20, 0.15). Note that there is no guarantee that our choices of parameters are always the best. However, they work well on the numerous test instances. The details of all parameter combinations are placed in the Appendix.

5.3. Computational Results and Analysis

In this section, both the small-scale and large-scale instances are analyzed in the computational studies. We compare the objective values and CPU time obtained by the proposed RHA, the IGA, and CPLEX. As shown in Tables 1 and 2, Gap1 illustrates the gaps between the results obtained from the proposed RHA and those obtained from CPLEX. Gap2 represents the gaps between the results obtained from the proposed RHA and the results obtained from the IGA. Moreover, to show the speed advantage of the proposed RHA, we also measure the gaps between the computation times used by the RHA and those used by the IGA. These gaps are listed in the column of Tables 1 and 2.

5.3.1. Small-Scale Instances

For the small-scale (n=8, 14, 20, 24, and 28) instances shown in Table 1, CPLEX usually can obtain the exact solutions by directly solving the MILP we formulated. As illustrated in Table 1, the average gap (Gap1) between the objective values of CPLEX solutions and the objective values of the RHA is 1.14%. The average gap (Gap2) between the objective values of the IGA and the objective values of the RHA is 7.30%. Moreover, the average gap () between the computation times of the IGA and the proposed RHA is 91.24%. Besides, from Table 1, we also can see that the proposed RHA is much faster than CPLEX.

The above results imply that, for small-scale problems, the proposed RHA performs better than the IGA and CPLEX in terms of computation speed and solution quality, on average.

5.3.2. Large-Scale Instances

In this section, the large-scale (n=50, 80, and 110) instances are randomly generated to further compare the results and CPU time obtained by the proposed RHA, the IGA, and CPLEX. For large-scale instances, CPLEX fails to obtain optimal solutions within 5 hours. Therefore, the objective values of the incumbent solutions could be used as a benchmark. From Table 2, we find that the average gap (Gap1) between the objective values of the RHA and the objective values of the incumbent solutions (when CPLEX runs for 5 hours) is 17.49%. Moreover, the gaps between the IGA solutions and the RHA solutions are also analyzed. As shown in Table 2, the average Gap2 is 17.39%. Furthermore, the average gap () between the CPU times of the IGA and the proposed RHA is 58.58%.

We observe that, similarly with the results of the small-scale instances, the proposed RHA also performs much better than the IGA and CPLEX. Besides, for large-scale CSHSB problems, the proposed RHA can drastically improve the efficiency and effectiveness of solving the CSHSB problem.

5.3.3. The Effect of Problem Scale (n) on RHA Performance

Based on the results summarized in Tables 1 and 2, we further analyze how the scale of the CSHSB problem affects the performance of the proposed RHA. As shown in Figure 8, the trends of Gap1 and Gap2 are increasing, which indicates that, with the increase of the problem scale (n), the proposed RHA performs better in terms of solution quality than both CPLEX and the IGA. Moreover, the is decreasing in problem scale (n), but the is still higher than 35%. This implies that the proposed RHA saves at least one-third of the IGA’s computation time.

In summary, compared to the deterministic optimizer CPLEX, our algorithm is efficient and effective, especially for large-scale CSHSB problems. Besides, compared to an improved genetic algorithm, the proposed RHA also performs well on speed and accuracy.

6. Conclusions

In this paper, we introduce a new yard crane scheduling problem inspired by the hybrid storage mode, an emerging storage mode that has been adopted at some East Asian container ports. The efficient scheduling of the cranes in hybrid storage blocks can improve the space utilization and operational efficiency of a container yard system. We formulate the problem as a mixed integer linear programming (MILP) with workload balance constraints and waiting time thresholds. Because of the NP-completeness of the problem, it can only be solved exactly for small-scale instances. Therefore, we develop an efficient rolling horizon algorithm (RHA) capable of quickly obtaining satisfactory solutions for realistically sized instances. As the problem size increases, the complexity of the RHA only grows linearly.

Our computational studies demonstrate the performance of our methods. For very small-scale instances that can be optimally solved by CPLEX (e.g., n = 8, 14, 20), the gaps between the RHA and optimal solutions are very small. However, for all small instances, the proposed RHA is on average better than CPLEX; moreover the RHA can obtain about 1.14% better results. For large-scale instances, compared to CPLEX truncated after five hours, the RHA converges very quickly and obtains up to 17.49% better results, on average. Besides, for small instances, the proposed RHA also yields results that are 7.30% better compared with a less sophisticated heuristic (i.e., the improved genetic algorithm, IGA). For large instances, our RHA can yield results that are 17.39% better compared with the IGA. Finally, the effect of problem scale (n) on the RHA’s performance is explored. We find that the larger the problem scale, the more efficient the algorithm.

Future research could be carried out by considering the container relocations, which is closer to the realistic setting. Another challenge is to optimize the coordination between yard cranes and quay cranes in hybrid storage container terminals. These issues are deserved to be further studied.

Appendix

Details of Algorithm Parameter Combinations

See Table 3.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China [grant number 71531010].

Supplementary Materials

The supplementary material contains all the test results of the RHA parameter settings. It totally includes 2560 running results. (Supplementary Materials)