Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Keywords: The demand for the maritime transportation has significantly increased over the past 20 years due to the
Container terminal rapid pace of globalization. Terminal managers confront the challenge in establishing the appropriate
Quay crane quay crane schedule to achieve the earliest departure time of ship and provide efficient service. In gen-
Scheduling eral, quay crane schedule problems include two main issues (1) the allocation of quay cranes to handle
Genetic algorithm
the discharging and loading operations, and (2) the service sequence of ship bays in a vessel of each quay
crane. Traditionally, the terminal planners determine the quay crane schedule based on their experience
and own judgment. In addition, the interference among cranes and the increased in ship size further mag-
nify its difficulty dramatically. Accordingly, this paper proposed a modified genetic algorithm to deal with
the problem. To test the optimization reliability of the proposed algorithm, a set of well known bench-
marking problem is solved, and the results obtained are being compared with other well known existing
algorithms. The comparison demonstrates that the proposed algorithm performs as good as many exist-
ing algorithms and obtains better solutions than the best known ones in certain instances. In addition, the
computational time(s) required are significantly much lesser, allowing it to be more applicable in prac-
tical situation.
Crown Copyright Ó 2011 Published by Elsevier Ltd. All rights reserved.
1. Introduction operations (Bierwirth & Meisel 2010; Meisel & Bierwirth 2006;
Steenken, Vos, & Stahlbock, 2004). It includes the berth allocation
The rapid pace of globalization has driven the trade among plan, the loading and discharging plan of vessels, the yard plan of
countries significantly, and thereupon, boosted the economics the container stowage and import and export container schedule
around the world. Container ports play an indispensable role in through gate (Lim, Rodrigues, Xiao, & Zhu, 2004; Park & Kim,
nowadays global logistics network. Global container throughput 2003). Since penalty cost will be incurred if the vessels cannot
was 534 million TEUs (twenty-foot equivalent unit) in 2008 departure on time, the main objective of all these activities is to en-
(Drewry Shipping Consultants Limited, 2010). Although the global sure the vessels can departure on time by minimizing the turn-
container throughput has been turned down to 464 million TEUs around time of the vessels. All these plans had a close linkage
due to the financial tsunami, it is still optimistic that the global and integrated as terminal operation system. If one of the plans
economy will rebound and the sustainable growth in container failed to achieve its goal, it may induce a negative impact on the
throughputs in 2010–2014 is foreseen. Besides, the geographically operation of the other plans.
closeness within the ports, especially in Europe and Asia, results in Quay Crane Scheduling Problem (QCSP) was firstly described by
the immediate challenge on the competition among ports. The ter- Daganzo (1989). Daganzo (1990) and also in Daganzo and Peterkof-
minal managers are devoted to deliver high quality of services con- sky (1990) defined that the vessel can be partitioned longitudinally
sistently and improve the efficiency of available facilities, in order into a number of ship bays based on the size of the vessel. The turn-
to keep the good relationship with existing customers, attract the around time of a vessel is determined by how to arrange each quay
potential customers and enhance the operational productivity. crane to serve which ship bays and the processing time of each ship
In the last decade, the major development in port business fo- bay in a stowage plan. A stowage plan consists of the planning of
cused on advanced technology development (Günther & Kim loading and discharging. The workload of a ship bay depends on
2005; Zaffalon, Rizzoli, Gambardella, & Mastrolilli, 1998). Ports the number of containers need to be handled, including loading
put much effort on developing various decisions supporting tech- and discharging operations on the deck and in the hold. The prece-
nologies to enhance their resources planning system since resource dence relationship among tasks concerns in the discharging and
allocation directly determines the success and efficiency of the port loading operations. Although they can be handled at different time
and by different cranes, discharging operation must precede the
⇑ Corresponding author. loading operation. At the same ship bay, the tasks on the deck must
E-mail address: mfnick@inet.polyu.edu.hk (S.H. Chung). be finished before the tasks in the hold to start its discharging
0957-4174/$ - see front matter Crown Copyright Ó 2011 Published by Elsevier Ltd. All rights reserved.
doi:10.1016/j.eswa.2011.09.113
4214 S.H. Chung, K.L. Choy / Expert Systems with Applications 39 (2012) 4213–4221
operation. Oppositely, the task in the hold must be performed be- bound for the same yard have to be perform separately in time
fore the tasks on the deck start in loading operation at the same ship to avoid trailer congestion in lanes. A probabilistic tabu search
bay. Therefore, some tasks must be performed before others or can- and a ‘‘squeaky wheel’’ optimization heuristic were proposed to
not be performed simultaneously even by other cranes (Bierwirth & solve the problem, while dynamic programing algorithms were
Meisel 2009). used to solve simplified variants.
As the size of the quay crane is enormous, each ship bay can In solving QCSP, Lee, Wang, and Miao (2006) first proved that
only be served by one quay crane at a time. Furthermore, since QCSP is NP-complete. Many researchers proposed many different
all the quay cranes travel on the same track, a quay crane can only heuristic approaches (Gambardella, Rizzoli, & Zaffalon 1998; Vacca,
perform the next ship bay without crossing the others. If a crane is Bierlaire, & Salani 2007; Wang, Chen, & Wang 2009). Kim and Park
needed to cross others, then it must wait until the other crane fin- (2004) formulated the problem in mixed integer linear model and
ished its tasks and moved away. The objective of this paper is to solved by using branch-and-bound (B&B) method and greedy ran-
propose a genetic algorithm to deal with the QCSP. The paper will domized adaptive search procedure (GRASP). They assumed that
be divided into the followings. Section 2 will be a literature review. the vessel was partitioned into number of ship bays and the dis-
Section 3 will describe the problem description and formulation. charging and loading operation associated with the same ship bays
Section 4 will present the proposed methodology. Section 5 will are divided into different tasks. The objective is to minimize the
test the optimization reliability of the proposed algorithm and dis- makespan of the operation. The result in the study indicated that
cuss the results obtained. The paper will be concluded with a con- the B&B method can only be practical in the small sized problem
clusion in Section 6. and once the number of task and the number of quay crane in-
creased to 20 and 3 respectively, the computational time of B&B
2. Literature review method increase rapidly. The GRASP identified the feasible solu-
tions, which did not exceed the optimal more than 10%, in med-
In general, QCSP refers to (1) the allocation of quay cranes to ium-size problem with reasonable time. Therefore the study
handle the discharging and loading operations, and (2) the service recommended the GRASP in solving the practical QCSP rather than
sequence of ship bays in a vessel of each quay crane (Daganzo B&B method.
1989). The stowage plan refers to (1) the plan indicates the loca- Later on, Moccia et al. (2006) have studied the QCSP with the
tion of the discharged containers in each ship bay of a vessel, same assumption given by Kim and Park (2004) and made modifi-
and (2) the preferred plan about the location of loaded containers cation to the model in order to consolidate the lower bound and
in each ship bay of a vessel, which is based on the destination, the upper bound for the completion time. The valid inequalities
weight, and type of containers. are provided to process the cutting planes method. They proposed
Operations research in the area of terminal operations is known a Branch and Cut (B&C) algorithm to solve the problem. A prepro-
as one of the most challenging topics because of its complexity and cessing technique is introduced to reduce the problem size and the
practical applicability. In the last decades, numerous researches separation heuristic method is also introduced to identify the vio-
have been carried out. The first QCSP studied by Daganzo (1989) lated inequalities. In the study, the problem set studied by Kim and
is to determine the departure time of multiple vessels. Later on, Park (2004) are used to test the solution and the results obtained
Daganzo and Peterkofsky (1990) proposed a branch and bound by using the B&B method and B&C algorithm are compared. The re-
algorithm to deal with the problem under the similar assumption, sults showed that the B&C method outperformed the B&B method
in which one task is performed at one ship bay. The study was to and the proposed algorithm is able to handle the practical prob-
determine the departure times of multiple vessels and the number lems size.
of cranes to be assigned to individual vessels at a specific time seg- Recently, Sammarra et al. (2007) further studied the QCSP mod-
ment, and the objective of the study is to minimize the sum of the el, which have been studied by Kim and Park (2004) and Moccia
delay costs. et al. (2006) under the same assumption made. They solved the
Some researchers stated that QCSP can be modeled as m-paral- QCSP by separating the problem into two parts, routing problem
lel machine scheduling problems (Guinet, 1993; Lee & Pinedo, and the scheduling problem. The routing problem is defined to
1997) and vehicle routing problems (Sammarra, Cordeau, Laporte, determine the sequence of tasks on each crane and the scheduling
& Monaco, 2007). Sammarra et al. (2007) solved the QCSP by sep- problem is defined to determine the starting handling time of the
arating the problem into two parts, routing problem and the sched- tasks belonging to the route for each sequence. They proposed a lo-
uling problem. The routing problem was defined to determine the cal search algorithm to solve the scheduling sub-problem and a
sequence of tasks on each crane and the scheduling problem was Tabu Search (TS) algorithm for routing problem. By using the same
defined to determine the starting handling time of the tasks objective as the one studied by Kim and Park (2004) and Moccia
belonging to the route for each sequence. The significance of the et al. (2006), the results of the TS are compared with them. The
studies is that the precedence constraint among tasks and the performance of the TS is outstanding compared to GRASP, but infe-
non-interference constraint of quay cranes have been defined. rior to the B&C method. TS can obtain the almost optimal solution
Kim and Kim (1999) pointed out that since the quay cranes travel- in the medium-size problem with the reasonable computation
ling on the same track, blocking situation among the cranes may time.
occur. Cranes can only travel to the ship bays and perform the task
without interference. The objective of the study is to address the
problems in scheduling multiple quay cranes to perform discharg- 3. Problem description and formulation
ing and loading operations and to minimize the makespan of the
operation. Later on, Kim and Park (2004) and Moccia, Cordeau, The studied Quay Crane Scheduling Problem (QCSP) in this pa-
Gaudioso, and Laporte (2006) also studied the QCSP with the pre- per consists of K quay cranes to be assigned to serve |X| number of
cedence constraint of the operation and the non-interference con- tasks, including loading and discharging operation on the deck or
straint among cranes. While Lim et al. (2004) assumed that the in the hold. The studied model is based on the model developed
QCSP was task-to-crane assignment problem with integrated spa- by Kim and Park (2004) and the modification made by Moccia
tial constraints, included non-interference constraint among et al. (2006).
cranes and neighborhood constraints. The authors also assumed The following notations are used to describe the problem stud-
that some tasks cannot be perform simultaneously since tasks ied throughout the paper:
S.H. Chung, K.L. Choy / Expert Systems with Applications 39 (2012) 4213–4221 4215
Y k ; Di 0 8i 2 X; 8k 2 K; ð16Þ
Constraints (2) ensure the makespan is equal to the largest comple-
The problem is to determine how to assign crane to serve the
tion time among the quay cranes. Constraints (3) ensure each quay
task aiming to minimize the makespan, which is the largest com-
crane will be assigned with an initial task. Constraints (4) ensure each
pletion time among all the quay cranes. The ship can only depart
quay crane will be assigned with a final task. Constraints (5) ensure
after all quay cranes finish the jobs assigned to them. The objective
each task will be completed by one quay crane only. Constraints (6)
function is shown as in Eq. (1). The problem formulation is similar
ensure the flow balance for each task in each crane so that the task
to the one modeled by Kim and Park (2004) and as shown in the
is performed in well-defined sequence. Constraints (7) ensure the
followings.
" # completion time of task j should be larger than the task i plus its
X processing time and travelling time in each crane. Constraints (8) en-
Objectiv e Z : MIN a1 W þ a2 Yk ð1Þ sure task i should be completed before task j. Constraints (9) ensure
k
that the completion time of task j should be larger than the task i plus
The components include the makespan and the sum of the quay its processing time. Constraints (10) ensure the flow balance for each
cranes completion time. As commonly adopted by researchers, a1 task and each crane. Constraints (11) ensure to avoid the interference
is generally set to be much larger than a2, meaning the makespan among quay cranes. Constraints (12) ensure the completion time of
4216 S.H. Chung, K.L. Choy / Expert Systems with Applications 39 (2012) 4213–4221
END
Fitness Evaluation Chromosome Validation
Encoding of Chromosome
Segment 1 Segment 2
4 10 5 1 6 7 3 9 8 2 1 2 2 1 1 2 1 1 2 2
Decoding of Chromosome
each crane is equal to completion time the final task plus the traveling is randomly generated and cannot duplicate with other genes. In
time to the final location. Constraints (13) ensure the completion the second segment, each gene represents a quay crane being as-
time of the second task is larger than the completion time of the ini- signed to perform the task which is the corresponding position in
tial task plus its processing time and travelling time in each quay the first segment. The value of the gene is randomly generated in
crane. Constraints (14) and (15) define the variables to be the binary this part based on the number of quay cranes assigned. For the
number. Constraints (16) define the non-negativity constraint. An example in Fig. 2, there are 10 tasks being assigned on 2 quay
excellent explanation of the constraints can be found in Kim and Park cranes. One of the quay cranes is assigned with 5 tasks in the se-
(2004) and Moccia et al. (2006). quence of tasks 4, 1, 6, 3, and 9.
Segment 1 Segment 2
1 10 5 4 6 7 3 9 8 2 1 2 2 1 1 2 1 1 2 2
After Validation
Segment 1 Segment 2
4 10 5 1 6 7 3 9 8 2 1 2 2 1 1 2 1 1 2 2
Table 1
Relationship between quay crane and location of task. from other scheduling problem is that the quay cranes travel on
Number of quay crane = 2 Location of task Possible quay crane assigned the same truck. As a result, some of the quay cranes cannot per-
Ship bay 1 QC 1
form those tasks located in the end of the ship bay. Table 1 shows
Ship bay 10 QC2 the relationship between quay crane and location of task. In the
Number of quay crane = 3 Location of task Possible quay crane assigned case of 2 quay cranes, the task in the first ship bay can only be per-
Ship bay 1 QC 1 formed by the first quay crane, where the task in the last ship bay
Ship bay 2 QC 1 & 2 can only be performed by the last quay crane, while in the case of 3
Ship bay 9 QC2 & 3 quay cranes, the task located in the ship bay 2 can be performed by
Ship bay 10 QC3
Quay Cranes 1 and 2 only but not all 3 cranes, as shown in Fig. 4.
For example in the case of 2 quay cranes as in Fig. 5, Task 2 located
before those on deck in the loading operation. Therefore, the se- in Bay 10 should not be performed by Quay Crane 1.
quence of the genes must follow this constraint. Each gene in the
first segment of the chromosome must be checked to identify the
4.3. Evaluation of fitness value
position and the operation of the tasks. When there are two tasks
are located in the same ship bay, then the operation of the tasks is
The objective is to minimize the makespan and the total com-
compared first and the position of the task in the ship bay is
pletion time of all the cranes. Thus, the fitness value of chromo-
compared later.
some will be calculated by Eq. (17).
If a chromosome is invalid as shown in Fig. 3, swapping will be
carried out to correct the sequence of tasks. For example, Task 4 " #
X
should precede Task 1. In the second segment, the genes which Fitness Value ¼ 1= a1 W þ a2 Yk ð17Þ
are in the corresponding position must also swap to the position k
referred to the first segment, since those genes represent the num-
ber of quay crane assigned to the tasks. It is essential to keep the
consistency with the original chromosome. 4.4. Genetic Operations
4.2.2. Non-interference constraint In the proposed modified genetic algorithm, the initial pool will
The non-interference constraint restricts the movement of the be randomly generated. In addition, for the selection operator, the
quay cranes. The distinguishing characteristic of QCSP which differ widely used Roulette wheel selection will be adopted.
Segment 1 Segment 2
4 10 5 1 6 7 3 9 8 2 1 2 2 1 1 2 1 1 2 1
After Validation
Segment 1 Segment 2
4 10 5 1 6 7 3 9 8 2 1 2 2 1 1 2 1 1 2 2
4.4.1. Crossover operation Step 5: Repeat step 1–4 to produce the second offspring.
In this paper, the sequence of the genes in the first part of chro-
mosome represents the sequence of the tasks to be performed. The 4.4.2. Mutation Operation
ordered form of chromosome will reproduce illegal offspring. For The purpose of mutation is to prevent the population trapped in
this reason, some of the gene values may be missed and some of the local optimal and enable the genetic search in new solution
them may be duplicated in the offspring. To avoid the duplication space by changing one or more gene(s). In the proposed algorithm,
or loss of gene value, order crossover proposed by Gen and Cheng since the chromosome is divided into two segments, the mutation
(1996) is applied and repairing procedure is essential to prevent methods used are different. In the first segment, two genes in the
the illegitimacy of offspring as shown in the following steps. same chromosome are randomly selected and then swap each other
Fig. 6 shows a sample of crossover. because of the prevention of duplicating gene values. The order form
of chromosome can be retained as shown in Fig. 7. Its purpose is to
Step 1: Select the segment randomly in the first part of chromo- change the sequence of gene and the sequence of the tasks.
some in one parent. In the second segment, a gene is randomly selected and mu-
Step 2: Select the corresponding segment in the second part of tated. As the selected gene represents the particular quay crane
chromosome. being assigned to perform a certain task, the value changed will
Step 3: Copy the segment into the corresponding positions in the be based on the total number of quay crane assigned, ranging from
offspring. 1 to K, as shown in Fig. 8. Its purpose is to ensure the task can be
Step 4: Delete the genes which exist in the segment of the off- performed by different quay crane after reproducing the popula-
spring from the second parent. The remained genes are tion of new offspring. Its significance is to prevent trapping in
then copied to the offspring from left to right according the local optimal, increasing the diversity of the solution popula-
to the sequence in the second parent. tion by assigning tasks to new crane.
Lim, A., Rodrigues, B., Xiao, F., & Zhu, Y. (2004). Crane scheduling with spatial Steenken, D., Vos, S., & Stahlbock, R. (2004). Container terminal operation and
constraints. Naval Research Logistics, 51, 386–406. operations research–a classification and literature review. OR Spectrum, 26,
Meisel, F., & Bierwirth, C. (2006). Integration of berth allocation and crane 3–49.
assignment to improve the resource utilization at a seaport container Vacca, I., Bierlaire, M. & Salani, M. (2007). Optimization at container terminals:
terminal. In Operations Research Proceedings 2005 (pp. 105–110). Springer. Status, trends and perspectives. In Swiss Transport Research Conference 7th (pp.
Moccia, L., Cordeau, J. F., Gaudioso, M., & Laporte, G. (2006). A branch-and-cut 1–21).
algorithm for the quay crane scheduling problem in a container terminal. Naval Wang, Y., Chen, Y., & Wang, K. (2009). A case study of genetic algorithms for quay
Research Logistics, 53, 45–59. crane scheduling. Opportunities and Challenges, SCI, 214, 119–125.
Park, Y. M., & Kim, K. H. (2003). A scheduling method for berth and quay cranes. OR Zaffalon, M., Rizzoli, A. E., Gambardella, L. M., & Mastrolilli, M. (1998). Resource
Spectrum, 25, 1–23. allocation and scheduling of operation in an intermodal terminal. European
Sammarra, M., Cordeau, J. F., Laporte, G., & Monaco, M. F. (2007). A tabu search Simulation Symposium and Exhibition, Simulation in Industry, 10, 520–528.
heuristic for the quay crane scheduling problem. Journal of Scheduling, 10,
327–336.