Abstract
Increasing international maritime transport drives the need for efficient container terminals. The speed at which containers can be processed through a terminal is an important performance indicator. In particular, the productivity of the quay cranes (QCs) determines the performance of a container terminal; hence QC scheduling has received considerable attention. This article develops a comprehensive model to represent the waterside operations of a container terminal. Waterside operations comprise single and twinlift handling of containers by QCs, automated guided vehicles and yard cranes. In common practice, an uncoordinated scheduling heuristic is used to dispatch the equipment operating on a terminal. Here, uncoordinated means that the different machines that operate in the container terminal seek optimal productivity solely considering their own respective stage. By contrast, our model provides a coordinated schedule in which operations of all terminal equipment can be considered at once to achieve productivity closer to the QC optimal. The model takes the form of a hybrid flow shop (HFS) with novel features for bi-directional flows and job pairing. The former enables jobs to move freely through the HFS in both directions; the latter constrains certain jobs to be performed simultaneously by a single machine. We solve the coordinated model by means of a tailored simulated annealing (SA) algorithm that balances solution quality and computational time. We empirically study time-bounded variants of SA and compare them with a branch-and-bound algorithm. We show that our approach can produce coordinated schedules for a terminal with up to eight QCs in near real time.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Worldwide today, 60% of the total cargo volume is transported in standardized boxes called twenty-feet equivalent units (TEU) containers (Stahlbock and Voß 2008). As the total transported volume increases, so does the complexity of the port logistics (Gracia et al. 2017). The function of a port container terminal is to trans-ship such TEU containers: deep-sea vessels, barges, trains and trucks arrive to the terminal to deliver or collect containers. The terminal operations must ensure that the correct containers are loaded and unloaded to and from their respective carriers. The speed at which this trans-shipment is achieved is an important benchmark for container terminals. In particular, the turnaround time of deep-sea vessels is used to determine the performance of a terminal (Bish 2003; De Koster et al. 2009). A terminal with lower turnaround time is more attractive for shipping lines to move their goods through, and the shorter the turnaround time of deep-sea vessels, the higher the terminal capacity.
One of the most important performance indicators in terms of container turnaround times is the productivity of terminal’s quay cranes (QCs) (Dik and Kozan 2017). By coordinating the operations of the equipment operating on the terminal, including the QCs, the equipment can be used more efficiently than the current uncoordinated heuristic approaches. However, the optimization-based, non-heuristic scheduling models currently available do not match with the operations on a container terminal, because twinlift operations are ignored and simultaneous loading and unloading of multiple ships is not considered. Further, the available optimization models cannot be used in near real-time—whereas computational times should remain low since re-planning is often required at a container terminal, since the current situation can change rapidly.
Our main contribution is the development of (1) a hybrid flow shop (HFS) model that contains novel features for bi-directional flows and job pairing; and (2) a tailored simulated annealing (SA) solution technique that efficiently approximates exact solutions to the developed mathematical model, allowing for near real-time usage. Until now, bi-directional flows were only addressed sequentially or by dedicating a group of machines to one of the two directions. Within our model different machines all work in both directions and each machine is free to work in any direction independent of other machines.
The article is structured as follows. Section 2 introduces the function of a container terminal and identifies the scheduling problems. Section 3 surveys related work and gives background information for our approach. Section 4 presents our developed mathematical model. Section 5 introduces the SA algorithm that is used to find an approximate solution to the mathematical model. Section 6 presents our computational results. Section 7 concludes and discusses future work.
2 Background and problem formulation
In this section we briefly introduce the layout of a container terminal and the scheduling problems related to its waterside operations. A container terminal is primarily a material handling system; it is a link in the intercontinental transportation chain. Within this chain, the container terminal fulfills a buffer function between sea and land transportation. Further, the container terminal provides secondary services like inspection, washing, repairs and cargo consolidation (Gurning 2000). This article focuses on the waterside operations on a container terminal: transporting containers between the yard and the deep sea vessels. Three different types of equipment are used to perform waterside operations: yard cranes (YCs), automated guided vehicles (AGVs) and quay cranes (QCs) (Dragović et al. 2017).
A schematic drawing of a typical container terminal is given in Fig. 1. From this figure the tasks of the different equipment types become clear: QCs move containers between the ship and the quay, the AGVs move containers between the quay and the transfer point and YCs move containers within the stack.
This article investigates how a coordinated schedule could lead to increased productivity of Quay Cranes on a container terminal. A coordinated schedule applied to container terminals is a schedule that considers simultaneously the operations of all equipment operating on the container terminal to achieve overall optimal performance. This is in contrast to an uncoordinated schedule that considers operations of all equipment separately and tries to find optimal solutions for all equipment individually. Since different equipment operating on a container terminal could have conflicting objectives, an uncoordinated planning does not lead to the optimal holistic solution. Therefore, a richer coordinated scheduling model than currently exists is desired to find the optimal holistic solution.
The coordinated schedule primarily focuses on decreasing the makespan of QC operations, since these are most critical operations (Bish 2003). Therefore, some research omits the coordinated aspect and specifically focuses on QC scheduling (Dik and Kozan 2017). However, another objective of the coordinated schedule is to reduce the makespan of YC operations. Finally, an evenly distributed workload is also desired. In general, schedules can be subdivided into three related categories: scheduling, dispatching and routing. Scheduling signifies the process of assigning operating times to the individual containers. Subsequently, dispatching is a process during which equipment is assigned to handle individual containers. Thereafter, routing describes the process of determining the routes of equipment required to handle the containers. In coordinated schedules we recognise the connection between the different categories and adapt the schedule accordingly.
Specifically, Fig. 2 identifies the set of scheduling problems on a container terminal. From left to right, the first two scheduling problems occur upon arrival of a deep-sea vessel: berth allocation and bay scheduling (Al-Dhaheri and Diabat 2015; Bierwirth and Meisel 2010; Tavakkoli-Moghaddam et al. 2009; Kim and Park 2004; Lin et al. 2018; Liu et al. 2017; Jin et al. 2015; Iris et al. 2015). Berth allocation is used to determine which ship can berth at which quay in ports having multiple berth sites available. Bay scheduling concerns the problem of allocating QCs to specific bays. Therefore this problem is sometimes also called a QC assignment problem. A bay is one of the three coordinates used to describe the position of a container within the coordinate system introduced in Fig. 3.
The next problem is determining the yard location of containers (Steenken et al. 2004; Cao and Uebe 1995; Kim et al. 2000; Zhang et al. 2003; Petering et al. 2017; Jin et al. 2014, 2015). The solutions to three scheduling problems define the starting point of the individual container scheduling problem considered within this research. Individual container schedules and yard allocation are closely related. Therefore, the quality of the yard allocation solution partially determines the performance of the individual container handling schedule; there is some work on integrating yard allocation with individual container scheduling (Kim and Bae 1998).
Our focus is the scheduling and dispatching problems: assigning equipment to handle operations on containers, and determining the starting times of these operations. Scheduling and dispatching are strongly intertwined; operations cannot be performed simultaneously on the same machine (e.g., QC) and a machine requires a sequence-dependent setup time to start a new operation.
The last scheduling problem present on container terminals is routing (Steenken et al. 2004), which consists of determining the route of Lift Automated Guided Vehicles (Lift-AGVs) on the container terminal. Typically, routing problems are solved after scheduling and dispatching problems are solved. Since we consider both scheduling and dispatching, routing is the first encountered problem after the individual container schedule is constructed. Routing is frequently studied and the interested reader is referred to Reveliotis (2000), Vuuren (2017) and Qiu and Hsu (2000).
3 Related work
Some research is restricted to scheduling container operations only at one of the three introduced stages (Dik and Kozan 2017; Huang and Li 2017; Yu et al. 2017; Lim et al. 2015; Jin et al. 2014). In some cases side-effects such as environmental impact (Yu et al. 2017) or disturbance recovery (Lim et al. 2015) are considered. Our research addresses the important and realistic setting of integrated scheduling. The most common approach to modelling mathematically the operations of a container terminal as a whole is to view the waterside operations as a Hybrid Flow Shop (HFS). In this section we review previous work and point out its limitations with regards to integrated container terminal scheduling. For a survey of container terminal operations, we refer to Stahlbock and Voß (2008).
In HFS problems, n different jobs are processed in a series of m stages while optimizing an objective function (Ruiz and Vázquez-Rodríguez 2010; Ribas et al. 2010). A job consists of multiple operations which should be performed on the different stages. Specifically, in a HFS (Ruiz and Vázquez-Rodríguez 2010; Chen et al. 2007):
-
1.
The number of processing stages m is at least 2.
-
2.
Each stage k has \(M^k\ge 1\) machines in parallel and at least one stage has \(M^k>1\).
-
3.
All jobs follow the same production flow through the stages. However, a job is allowed to skip one or more stages.
-
4.
Each job j requires a processing time \(p_{jk}\) on stage k.
Within the standard form of the HFS, each job is available from the start and can be processed on any of the different parallel machines within a stage. Further, each machine is identical and has the same deterministic processing time which is known in advance, and each machine can only serve one job simultaneously. Additionally, sequence dependent setup times are negligible, buffers between stages are unlimited and preemption of operations is not allowed. Clearly, the standard form of the HFS problem is not directly applicable to container terminal operations; various extensions are used. We note that even the standard HFS is NP-hard (Gupta 1988).
At a container terminal, a job signifies a transfer between a vessel and the yard or between the yard and a vessel. To complete the job a container requires processing on different stages. All machines of equal type (YCs, AGVs and QCs) compose a stage. Therefore, as we will elaborate in the next section, the waterside of a container terminal can be represented by a three-stage HFS problem that operates in both directions.
Modelling a container terminal as a variant HFS problem is a common approach. The literature studies either additional features added to the standard HFS (Xin 2015; Xin et al. 2014, 2015a, b; He et al. 2015; Chen et al. 2013), or the solution technique (Chen et al. 2007, 2013; Lau and Zhao 2008; Bish 2003; Lu and Le 2014; Kim and Bae 2004; He et al. 2015; Kaveshgar and Huynh 2015; Cao et al. 2010a, b; Kizilay et al. 2018). To compare different HFS model variants, a classification scheme has been introduced (Vignier et al. 1999; Ruiz and Vázquez-Rodríguez 2010; Ribas et al. 2010). The classification consists of three categories: \(\alpha ,\beta ,\gamma\). These categories respectively identify the structure of the shop, the additional features and the objective function. We use this classification to classify previous efforts to construct integrated container terminal schedules applying HFS models, as shown in Table 1. The table also indicates the problem size and the applied solution technique. Since not all studies concern AGVs a more generic term is used in Table 1: horizontal transport vehicles (HTVs). HTVs includes all container transport vehicles that could transport one or more containers without the ability to lift containers.
Previous work has the shortcoming that the models have important differences from real container terminals. Namely, loading and discharging is separated (apart from He et al. 2015) and there is no possibility for twinlift operations. Further, blocking and precedence are not always included. Second, apart from He et al. (2015), Chen et al. (2007, 2013), the trend in the literature is to study only small terminals. Third, the most realistic models in the literature (He et al. 2015; Chen et al. 2007, 2013) require substantial computational time, making them unsuitable for real-time use. The model developed in this article is more complete as it possesses the identified shortcoming features of container terminal models. Further, it is realistic with regards to real container terminal sizes when solved with the metaheuristic approach we propose.
We discuss in detail notable prior work from Table 1. First, Lu and Le (2014) formulated a stochastic HFS problem, in order to model uncertainties within normal operations. Although stochastic, the model is otherwise less extensive compared to others models, and notably with our model.
Chen et al. (2013) integrate the individual container scheduling and dispatching problem with the routing problem. This is achieved by adding multiple layers. Combining our expressive model for scheduling and dispatching with the routing problem is one extension for future work.
Xin et al. (2014) and He et al. (2015) integrate energy consumption into their models. Xin et al. (2014) used a multi-stage approach. By contrast, He et al. (2015) directly integrate energy consumption in the HFS problem. This is done by reducing travel distances of the different equipment in addition to optimizing QC operations. Xin et al. extended their work with elements of routing, by adding a layer to avoid collisions of AGVs (2015a). In the most extended version (Xin 2015) of this work, 5 QCs, 10 AGVs and 8 YCs are considered. However the focus is the integration of discrete-event dynamics (the schedule) and continuous-time dynamics (energy consumption and collision avoidance), rather than developing the schedule itself, as in our work.
Most recently, Kizilay et al. (2018) consider an infinite number of HTVs. The container terminal these authors consider has its performance bottleneck is in the QCs and the YCs. Therefore, by eliminating the scheduling process at the HTV stage the computational time can be reduced. However this is not realistic for terminals in general. Another novelty of Kizilay et al. (2018) is that bay scheduling is included, which again can be an extension of the model we propose.
Turning to solving the models proposed: if the HFS is small enough, branch-and-bound (i.e., mixed integer programming) can be used to arrive at an exact solution. In practice, it is common to use (meta)heuristics to approximate the exact solution of a HFS within reasonable time. Popular metaheuristics are genetic algorithm (GA), Tabu Search and simulated annealing (SA). Jungwattanakit et al. (2009) report that SA is superior to GA and Tabu Search for large scale HFS problems. There is successful precedent in using SA for problems in terminal waterside operations (Lin et al. 2018).
4 Model formulation
In this section we present the mathematical model of coordinated container terminal operations as an extended Hybrid Flow Shop (HFS). Figure 4 shows a schematic overview of the generic container terminal considered in this research. Each container can only be handled by one specific YC, but the sequence of operations is variable. Each YC has access to its own transfer point modelled as a buffer. This means that the buffer stage contains multiple spots to place containers. The buffer is not shared between different YCs. From an operational point of view, a system without a buffer is more sensitive than one with a buffer, since direct interchange of containers is required. However, from a modelling perspective, a system with a buffer is more challenging as the number of relations increases. Further, it is likely that in the future most automated ports will operate with a buffer zone since it is shown be the most cost-effective alternative (Saanen 2016; Yang et al. 2004; Schroër et al. 2014). Therefore, a system with a buffer is the most applicable scenario and that is why it is considered in this article.
At the QC stage, not only the specific machine but also the sequence of operations is known in advance. This is because the loading plan is determined by the shipper and not by the port, since the shipper is responsible for the stability of the ship.
4.1 Model description
First we describe the coordinated container scheduling problem; below we then give its mathematical formalisation.
-
Four stages with unrelated parallel machines at each stage model the YC, buffer, Lift-AGV and QC respectively. The buffer is inserted as an extra stage where the number of machines equals the buffer capacity. Within this research a buffer capacity of five at each YC is studied: this matches the value used in practice by a port operations company.
-
Precedence relations exist at the QC stage to ensure that containers can only be (un)loaded in a specific sequence.
-
Sequence-dependent setup times describe the back route of equipment: a route that equipment should travel to pickup their next container after delivering a container.
-
Machine eligibility is applied at the YC and QC stage to ensure that certain containers can only be handled by specific machines.
-
Blocking constrains the available buffer space between different stages. Blocking signifies that equipment can only proceed with its next operation once the next equipment type becomes available. This means that certain containers block a machine for as long as the next machine is not available. In our case blocking applies on all stages.
-
Bi-directional flow shop enables containers to move in both directions through the shop. This is required since both loading and unloading containers are simultaneously present on the container terminal.
-
Release dates signify that machines and containers become available not directly from the start. This enables the mathematical model to be constructed at an arbitrary time during operation of the container terminal.
-
Job pairs enable machines to simultaneously handle two jobs. Each job pair finishes at the same time but the two jobs of the pair can be started at different times. Job pairs are used to enable the HFS model to handle twin lift moves. Twin lift moves are moves consisting of two containers that require simultaneous handling at the QC stage and the Lift-AGV stage. Job pairs could be formed differently on different stages and could have a different processing time dependent on their pick-up sequence. Note that, since twinlift moves are handled individually at the YC, the pair of moves must be considered separately.
-
Preemption of operations is not allowed.
-
Lastly, the objective of the HFS is to minimize the makespan of the entire container plan.
Our HFS problem can be classified with the \(\alpha |\beta |\gamma\) classification as:
The features Bi-direc and Job-pairs are newly introduced in this research. Bi-direc is used to describe the relaxation of unidirectional flow in the flow shop. Job-pairs is a feature introduced to specify that some containers require simultaneous handling on a stage by one machine. Table 2 summarizes how our model is the most expressive HFS model for scheduling and dispatching container terminal waterside operations.
4.2 Mathematical model
In this section we give the formal model of the problem in terms of its parameters, decision variables, constraints and objective.
4.2.1 Parameters
i, k | Job index \(i,k \in \phi _1 \cap \phi _2\) |
j | Stage index \(j \in {1,2,3,4}\) |
\(j'\) | The next stage for a container. \(j'=j+1\) during loading and \(j'=j-1\) during unloading. |
m | Machine index \(m \in {1,2,\ldots n_j}\) |
\(n_j\) | Number of machines on stage j |
N | Total number of containers |
\(\phi\) | Set of all jobs excluding \(i=0,i=N+1\) |
\(\phi _1\) | Set of all jobs including the first dummy job \(i=0\) |
\(\phi _2\) | Set of all jobs including the last dummy job \(i=N+1\) |
P | Set of job pairs with precedence relations |
\(O_{ij}\) | Operation i at stage j |
\(M_{ij}\) | Set of machines which can process \(O_{ij}\) |
\(E_m\) | Set of jobs that can be performed on machine m, includes jobs \(i=0\) and \(i=N+1\) |
\(K_{ij}\) | Set of jobs that can form a pair with job i on stage j, includes jobs \(k=0\) and \(k=N+1\) |
T | Set of twinlift operations |
\(T_i\) | The twin pair of container i |
A | Set of containers that is already assigned to equipment |
Pr | Set of containers that is already assigned to equipment but not in current progress |
\(J_i\) | Set of stages that a container i already past or is being currently processes job i |
\(Q_{jm}\) | Number of jobs that must be performed on machine m |
\(r_{ij}\) | Release date of job i on stage j |
\(p_{ij}\) | Processing time of operation \(O_{ij}\) |
\(p_{ij}^{ik}\) | Processing time of operation \(O_{ij}\) whenever operation i directly precedes operation k |
\(p_{ij}^{ki}\) | Processing time of operation \(O_{ij}\) whenever operation k directly precedes operation i |
\(s_{ikj}\) | Setup time between job i and job k at stage j |
\(s_{0kjm}\) | Setup time between the dummy job and job k on stage j for machine m. |
H | A sufficiently large constant |
\(\beta\) | A constant indicating the weight of completion time of operations on the YC stage, \(\beta \ll 1\) |
The stage indices 1 to 4 respectively represent: the YC stage, the rack stage, the Lift-AGV stage and the QC stage.
4.2.2 Decision variables
-
\(t_{ij}\) The start time of job i on stage j
-
\(z_{ikj}\) 1, if \(O_{ij}\) immediately precedes \(O_{kj}\) on stage j; 0, otherwise \(\forall i \in \phi , \forall k \in \phi _2, \forall j \in \{1,2,3,4\}\).
-
\(z_{0kjm}\) 1, if \(O_{0jm}\) immediately precedes \(O_{kj}\) on stage j for machine m; 0, otherwise \(\forall k \in \phi _2, \forall j \in \{1,2,3,4\}, \forall m \in M_{ij}\).
The difference between \(z_{ikj}\) and \(z_{0kjm}\) is that \(z_{0kjm}\) concerns the dummy job for which it is required to know at which machine this job is scheduled. Together with \(z_{ikj}\) and the machine selected for the dummy job it is possible to backtrack the respective machine for each container.
The parameters \(p_{ij}^{ik}\) and \(p_{ij}^{ki}\) are only required for twin moves (\(\forall i,k \in T\)) since twin moves are represented by two sequential single moves with different processing times. Whenever i, k are pairs of a twin move \(p_{ij}\) is replaced by \(p_{ij}^{ik}z_{ikj}+p_{ij}^{ki}z_{kij}\).
4.2.3 Constraints and objective
The objective function (Eq. 1) minimizes the makespan, weighted over the stages with the most weight to the completion time of operations at the QC stage. Since each operation is considered in the objective function, most weight is indirectly added to the first few operations on each QC. This is because delays in the beginning propagate to other operations. This is a desired feature of the objective function since the first few operations are most accurately predicted and are most important to be finished on time. Besides that, distribution of jobs to different machines is stimulated by the small negative factor \(\beta\). Whenever the makespan is equal, the jobs should be evenly distributed over all machines. Additionally, \(\beta\) assures that operations start as early as possible without delaying the operations at later stages. \(\beta\) is set very small, e.g., 0.01, to prevent from conflicting with the main objective.
Constraint 2 enforces that jobs can only start after they are being released. This is only required at the starting stage and the first job of the sequence since other operations and jobs are forced to start later. Constraint 3 has a similar function as Constraint 2 but, focuses on the Lift-AGV stage. This is required since it is unknown which container is handled by which Lift-AGV and each Lift-AGV can become available independently.
Constraint 4 ensures that a job can only start at the next stage once the current stage is completed. Constraint 6 is required to make use of the sequence dependent processing times of twin moves. However, at the YC stage containers cannot be twin containers. Therefore, the processing time remains unchanged and thus Constraint 4 applies for all containers in \(\phi\). This is expressed by Constraint 5.
Constraint 7 describes machine eligibility at the YC stage. It ensures that a sequence of \(z_{ikj}\) is only selected from a subset of \(\phi\). Furthermore, the number of sequence variables is constraint to the number of jobs that should be handled on the machine plus one. This is because each sequence starts and ends with a dummy job.
Constraint 8 ensures that the number of started sequences is equal to the number of machines. However, once a sequence cannot start at an arbitrary job, that machine receives its personal constraint. The personal constraint enforces that a sequence should start at one of the available jobs. Constraint 9 is similar to Constraint 8 but, now to ensure that each sequence is ended. Similarly to Constraint 8, if a machine cannot process every job; that machine is given its personal variant of Constraint 9.
Constraint 10 ensures that each operation is proceeded by another operation or is the end of the sequence. Similar is Constraint 11, which ensures that each operation is preceded by another operation or is the start of the sequence. Both of these constraints exclude infeasible job pairs whenever they are obliged to be performed on different machines.
Constraint 12 ensures that a pair of twin moves is handled by the same machine. This is not required at stage 1 or 2 since different YCs might work on the same twin pair.
Constraint 13 is the blocking constraint; it states that whenever job i immediately precedes job k on stage j, job k cannot start earlier than the start time of job i on the next stage plus the setup time between job i and job k. This is because the start of job i on the next stage marks the point where the container is released from the current stage.
Constraint 14 is used to separate operations by their processing times and setup times. Practically, this constraint is only required at the first and last stage since intermediate stages automatically satisfy this constraint by a combination of Constraints 4 and 13. Constraint 16 is the same as Constraint 14 only for twin moves which have their processing time dependent on the sequence of operations. For the same reason as for Constraint 5, Constraint 15 is added specifically for the first stage since the twin moves are separated here and thus processing times are sequence independent.
Constraint 17 ensures that containers that have already passed a stage or that are currently processed on a stage start their operation at time zero. However, this constraint is not valid whenever an unloading twin container is currently assigned to a QC or to a Lift-AGV. This is because twin containers are modelled as sequential single moves with different processing times. Therefore, Constraint 18 is introduced which specifies that at least one of the twin containers starts at zero. Constraint 12 subsequently ensures that the other container of the twin pair is processed directly after its twin pair.
Constraint 19 ensures that operations that are assigned to equipment but, that have not currently started can only proceed: containers that are in current progress or containers that have passed that stage already or their twin pair or the dummy start container.
Finally, Constraint 20 is used to enforce binary solutions to the decision variables \(z_{ikj}\) and \(z_{0kjm}\).
We can reduce the number of decision variables, by observing that the sequence of operations on stage 4 is already known entirely. This means all associated z variables to this stage become superfluous as decision variables. Additionally, variable \(z_{iij}\) does not exist: a job can never immediately proceed or precede itself. Therefore, these variables are also excluded.
Hence, the total number of decision variables, which depends on the number of stages, the number of containers and the number of Lift-AGVs and the number of buffer locations, is:
Equation 21 is based on the real-life practice at an industry-leading port operations software company where the containers can only be planned on one YC and one QC. The Lift-AGVs are allowed to handle any container except that they cannot preempt a container handling. Further, the sequence of operations at the QC is known in advance and thus requires no decision variables. The equation consists of four terms. The first term derives from the starting time variables of the various equipment items; the second term derives from the sequence variables required for the first container at the AGV and rack stage; the third term derives from the sequence variables at the YC stage; the final term derives from the remaining sequence variables at the AGV and rack stage.
5 Solution technique
In this section we describe how the model of Sect. 4 can be solved effectively to achieve a balance between the performance (in terms of the objective) and the computational time. Following Jungwattanakit et al. (2009), we adopt simulated annealing (SA) for our HFS problem. Figure 5 gives an overview of the approach.
Our approach is a tailored SA algorithm. We summarize it here and then describe each part in detail below. The algorithm uses local search and a temperature based accepting/rejection criterion to arrive at new solutions. The first step is to generate an initial solution. Two different approaches are used for this and the best solution is selected as initial solution. Subsequently, the initial solution is modified locally to investigate better alternatives. The local modification is performed by altering the sequence of operations on the different machines. To do this, two containers are selected to be either inserted or swapped. This creates a neighbouring sequence. The neighbouring sequence might require repair to remain feasible. Thereafter, the quality of the newly obtained neighbouring sequence can be evaluated with linear programming (LP). The quality of the neighbouring sequence and the temperature schedule are used to decide whether the new solution is accepted or rejected. The process repeats until a stopping criterion is satisfied, whereupon the incumbent solution is returned as the final solution. The notable features of our approach are: (1) we analyse the obtained solutions and use this analysis to select containers that are likely to reduce delays upon modifying sequences; (2) we use the hindsight of the problem during the repair process; and (3) we use LP over the continuous variables to quickly determine solution quality.
5.1 Initial solution
We leverage two different perspectives in order to generate two diverse initial solutions. One initial solution is created from a container perspective and the other from a machine perspective. Subsequently, the quality of both these solutions is evaluated and the best one is selected as initial solution to start the local search.
First, when scheduling from the container perspective, all containers are sorted based on their desired starting times at the first stage. Subsequently, the containers are scheduled in that order on all stages. This initial solution exploits the fact that the sequence of operations is known at the QC stage. Another name for this initial schedule is a non-delay schedule since machines are never kept idle while there is a container available (Pinedo 2016; Magalhães-Mendes 2011; Chen et al. 2007).
Second, when scheduling from the machine perspective, all machines and all containers are sorted based on their availability. Machine availability does also consider the setup time to a particular container. Subsequently, the machine which comes first available is paired with the container that becomes first available. This is different from the container perspective since containers are not scheduled through the entire shop immediately.
5.2 Selection
Local modifications consists of a swap or insert of two containers to update the sequence of operations. A prerequisite is to select two containers that will be used to modify the original sequence. Since the loadplan is fixed, the sequence of operations at the QC cannot be changed. Therefore, containers are selected from the YC stage and from the Lift-AGV stage. At the YC stage; containers are selected randomly. This is because the possible variation of the schedule is small since containers cannot switch machines.
At the Lift-AGV stage; containers are selected with lookahead. The aim is to predict which combination of two containers is most likely to improve the schedule the most. This means one container that is associated with delays and one container that precedes an idle period of the Lift-AGV. This selection process involves two steps. First, containers are sorted based on the delay that they cause in the QC schedule. These containers are marked yellow in Fig. 6. The longer the delay, the more likely it becomes to select that container. Randomness is important to promote diversity and to prevent the algorithm from getting stuck in a local minimum. Let us assume that the container marked pink in Fig. 6 is selected. This becomes the first of two containers. The second step is to select another container with some slack. This is done by selecting the containers with slack within the black box in Fig. 6. The black box is drawn surrounding the first selected container. Thereafter, the more slack a container has, within the black box, the more likely it is to be selected. This selection ensures that two containers are selected which are likely to reduce the objective value the most. During the selection process, machine eligibility is taken into account. Further, containers that are already in progress cannot be reassigned to another machine since preemption is not allowed.
5.3 Neighbourhood generation
We next derive a new solution that reassigns the previously-selected containers. The solution is first split into two parts. Namely, the sequence of operations (the discrete variables) and the associated starting times (the continuous variables). Subsequently, the sequence of operations is altered by swapping or inserting one container after another. There are four different options to generate a neighbouring solution from the initial solution. First, either the YC or Lift-AGV stage is selected to be modified. Subsequently, either a swap or an insert should be performed. To decide which of these four options is selected randomness is applied. Generally, inserts are more productive than swaps. This is because inserts directly move containers that cause delays to idle periods. However, it was found that allowing a small portion of swaps does lead to a better performance compared to inserts alone: we presume this is because diversity is maintained. Since containers are selected based on the same characteristics each iteration, it could be that the algorithm is stuck with an unproductive insert. However, because there is always a chance to select another option and because of swaps, the algorithm can break out of a stuck pattern. Note that, at each iteration, only one swap/insert can be performed on either the YC or Lift-AGV stage. This is important since it ensures that the generated neighbouring sequence remains similar to the original sequence.
5.4 Repair
The downside of performing a swap or insert in the sequence of operations is that it could produce an infeasible sequence of operations. This is because precedence or blocking constraints could be violated. Whenever this happens, the sequence of operations should be repaired. We search in the space of feasible solutions only because otherwise the continuous optimisation is not able to find feasible solutions and thus a quality of the solutions cannot be obtained. Further, by ensuring that the solution is always feasible we are able to stop the optimisation process at any time. Finally, once we would proceed with infeasible solutions it is likely to drift away from the feasible region quickly making it harder to restore the solution. An example of the repair process is presented in Table 3. These types of errors are easily repaired by sorting the containers on the machine to be repaired in the same order as they are on the sequence that is used to fix the faulty sequence. This type of fix is also indicated in Table 3.
5.5 Solution evaluation
With all sequence variables feasibly assigned, we rapidly determine the optimal starting time of each operation using linear programming (LP). The starting times also determine the quality of the new solution, according to the objective function (1).
5.6 Acceptance criterion
Should the neighbour solution is an improvement with respect to the previous solution, the neighbour solution is automatically accepted. Otherwise, the probability of accepting the new solution is dependent on its quality and the temperature, as usual in SA (Eq. 22).
The temperature is dependent on a temperature schedule that progresses along with the iterations. Figure 7 depicts the temperature schedule used in our experiments, aiming to balance exploration and exploitation in the metaheuristic. We performed an initial exploratory analysis to derive the temperature schedule parameters subsequently used in all our experiments. Table 4 gives the values.
5.7 Stopping criterion
The optimization cycle is terminated whenever one of the two stopping criteria is encountered. The first stopping criterion is a maximum number of iterations. This maximum number of iterations is determined based on exploratory experiments studying the performance of the algorithm with respect to the number of iterations, as shown in Fig. 8. We selected 550 iterations since the possible further gain in performance was founded to be limited, and used this limit as the default in our experiments. The second criterion specifies termination whenever there are no delays in the QC schedule. This is determined during the selection procedure, once we cannot find any containers that are associated with delays in the QC schedule.
6 Experimental results
We perform an empirical analysis of the performance of our solving approach for the coordinated individual container scheduling and dispatching problem. We study the performance versus the theoretical optimum, obtained with the exact solution technique Branch and Bound (B&B). Second, we study the scaling of our algorithm from small to large, realistic terminal sizes. Third, we study the performance of a short and longer computational time limit.
Table 5 reports the results. For SA, we report averages over fifty runs. For B&B we use Gurobi MIP solver version 7.5.2 with default settings. For SA, the ‘quick solution’ is our algorithm with the termination criteria stated in the last section; the Gurobi LP solver is used for the solution quality evaluation. The ‘better solution’ is our algorithm with the number of iterations increased from 550 to 1000, and the whole SA restarted 10 times with different initial solutions. The optimality gap is measured according to the objective function (Eq. 1), while the makespan gap which is measured according to the difference in makespan. The computational times shown are obtained with an Intel i7-7700HQ 2.8 GHz machine with 8 cores and 8 GB memory.
The table shows that, in contrast to standard B&B, the computational times for our SA approach can solve the expressive HFS model in less than 30 seconds, even for the largest terminal sizes. This verifies that our approach is feasible for repetitive continuous re-planning on an operating container terminal. Further, the optimality gap both in terms of objective function and in terms of makespan.
Second, allowing a greater number of iterations and using re-starts, we can achieve further performance improvements with our approach, as seen in the ‘better solution’ columns. The time to arrive at the solution increases, but remains well under 10 minutes even for the largest terminal sizes. While for operational terminals it is advised to use the ‘quick solution’, the ‘better solution’ variant verifies that the SA algorithm is able to find a solution with the shortest makespan in most cases.
The success of our algorithmic design is observed in that the computational time of the SA quick solution is much shorter compared to the SA better solution and B&B solution without leading to huge optimality gaps. Moreover, the size of the problem does not effect the optimality gap.
Table 6 reports the standard deviation of the algorithms. The standard deviation of both the objective value and the makespan is smaller while using the ‘better solution’ compared to the ‘quick solution’ since the best obtained solution is used from a set of 10 replications. This decreases the likelihood of finding outliers on the upper side. Further, we observe that the standard deviation of the computational time increases with increasing problem sizes. However, the problem could be very different for each number of QCs. This explains why certain problem sizes do not follow this pattern. Moreover, the standard deviation of the computational time of the ‘quick solution’ is smaller compared to the computational time of the ‘better solution’. This is because with more allowed iterations it is more likely that the number of required iterations until the solution is converged is different. Figure 9 shows both performance and standard deviation in graphical format.
7 Conclusion and outlook
This article integrated the operations of three different types of equipment operating on the waterside of a container terminal. Our integrated model encompasses YCs, Lift-AGVs and QCs that can handle both individual and paired twinlift containers. We constructed a coordinated schedule based on an extended version of a Hybrid Flow Shop. In order to model realistic terminal operations, we added two new features over previous HFS models: fully bi-directional flows and job pairs. The former enables jobs to move freely through the HFS in both directions, while the latter constrains certain jobs to be performed simultaneously by a single machine.
We solved the expressive model using a tailored Simulated Annealing approach. First, we assign the discrete variables uses a local search method to find better alternatives to the current solution by predictive reassignment of jobs to machines. Second, we solve to optimality the continuous variables using LP. Computational results demonstrated that the developed solution technique is capable of finding solutions with relatively small optimality gaps, within a fraction of the time that B&B requires, even for very large terminals.
Our work opens multiple avenues for future work. First, we are coupling our scheduling and dispatching algorithm to a real terminal, in order to validate the schedule and to enable comparison with the current heuristic scheduling techniques applied in real operation. Second, our approach can be further tuned by a sensitivity analysis and dynamic optimization of the meta-parameters to the problem instance at hand. Third, additional features of the terminal operations can be included in the model, such as battery recharging for AGVs, or bay scheduling. The landside operations of the terminal can also be considered (Petering et al. 2017). Lastly, a full study of the multi-objective aspects of container terminal operations is relevant for evaluating trade-offs among solutions (Yu et al. 2017).
References
Al-Dhaheri N, Diabat A (2015) The quay crane scheduling problem. J Manuf Syst 36:87–94
Bierwirth C, Meisel F (2010) A survey of berth allocation and quay crane scheduling problems in container terminals. Eur J Oper Res 202(3):615–627
Bish EK (2003) A multiple-crane-constrained scheduling problem in a container terminal. Eur J Oper Res 144(1):83–107
Cao B, Uebe G (1995) Solving transportation problems with nonlinear side constraints with tabu search. Comput Oper Res 22(6):593–603
Cao J, Shi Q, Lee DH (2010a) Integrated quay crane and yard truck schedule problem in container terminals. Tsinghua Sci Technol 15(4):467–474
Cao JX, Lee DH, Chen JH, Shi Q (2010b) The integrated yard truck and yard crane scheduling problem: benders’ decomposition-based methods. Transp Res Part E Logist Transp Rev 46(3):344–353
Chen L, Bostel N, Dejax P, Cai J, Xi L (2007) A tabu search algorithm for the integrated scheduling problem of container handling systems in a maritime terminal. Eur J Oper Res 181(1):40–58
Chen L, Langevin A, Lu Z (2013) Integrated scheduling of crane handling and truck transportation in a maritime container terminal. Eur J Oper Res 225(1):142–152
De Koster M, Balk B, Van Nus W (2009) On using DEA for benchmarking container terminals. Int J Oper Prod Manag 29(11):1140–1155
Dik G, Kozan E (2017) A flexible crane scheduling methodology for container terminals. Flex Serv Manuf J 29(1):64–96
Dragović B, Tzannatos E, Park NK (2017) Simulation modelling in ports and container terminals: literature overview and analysis by research field, application area and tool. Flex Serv Manuf J 29(1):4–34
Gracia MD, González-Ramírez RG, Mar-Ortiz J (2017) The impact of lanes segmentation and booking levels on a container terminal gate congestion. Flex Serv Manuf J 29(3–4):403–432
Gupta JN (1988) Two-stage, hybrid flowshop scheduling problem. J Oper Res Soc 39:359–364
Gurning ROS (2000) Value added service strategy for Jakarta international container terminal: comparative study of value added services in the ports of Rotterdam, Malmo and Aarhus. Master thesis, World Maritime University, Malmö, Sweden
He J, Huang Y, Yan W, Wang S (2015) Integrated internal truck, yard crane and quay crane scheduling in a container terminal considering energy consumption. Expert Syst Appl 42(5):2464–2487
Huang SY, Li Y (2017) Yard crane scheduling to minimize total weighted vessel loading time in container terminals. Flex Serv Manuf J 29(3–4):689–720
Iris Ç, Pacino D, Ropke S, Larsen A (2015) Integrated berth allocation and quay crane assignment problem: set partitioning models and computational results. Transp Res Part E Logist Transp Rev 81:75–97
Jin JG, Lee DH, Cao JX (2014) Storage yard management in maritime container terminals. Transp Sci 50(4):1300–1313
Jin JG, Lee DH, Hu H (2015) Tactical berth and yard template design at container transshipment terminals: a column generation based approach. Transp Res Part E Logist Transp Rev 73:168–184
Jungwattanakit J, Reodecha M, Chaovalitwongse P, Werner F (2009) A comparison of scheduling algorithms for flexible flow shop problems with unrelated parallel machines, setup times, and dual criteria. Comput Oper Res 36(2):358–378
Kaveshgar N, Huynh N (2015) Integrated quay crane and yard truck scheduling for unloading inbound containers. Int J Prod Econ 159:168–177
Kim KH, Bae JW (1998) Re-marshaling export containers in port container terminals. Comput Ind Eng 35(3–4):655–658
Kim KH, Bae JW (2004) A look-ahead dispatching method for automated guided vehicles in automated port container terminals. Transp Sci 38(2):224–234
Kim KH, Park YM (2004) A crane scheduling method for port container terminals. Eur J Oper Res 156(3):752–768
Kim KH, Park YM, Ryu KR (2000) Deriving decision rules to locate export containers in container yards. Eur J Oper Res 124(1):89–101
Kizilay D, Eliiyi DT, Van Hentenryck P (2018) Constraint and mathematical programming models for integrated port container terminal operations. In: Proceedings of the 15th international conference on the integration of constraint programming, artificial intelligence, and operations research (CP-AI-OR). Springer, pp 344–360
Lau HY, Zhao Y (2008) Integrated scheduling of handling equipment at automated container terminals. Int J Prod Econ 112(2):665–682
Lim YF, Zhang Y, Wang C (2015) A quay crane system that self-recovers from random shocks. Flex Serv Manuf J 27(4):561–584
Lin SW, Ting CJ, Wu KC (2018) Simulated annealing with different vessel assignment strategies for the continuous berth allocation problem. Flex Serv Manuf J 30(4):740–763
Liu C, Xiang X, Zheng L (2017) Two decision models for berth allocation problem under uncertainty considering service level. Flex Serv Manuf J 29(3–4):312–344
Lu Y, Le M (2014) The integrated optimization of container terminal scheduling with uncertain factors. Comput Ind Eng 75:209–216
Magalhães-Mendes J (2011) Active, parameterized active, and non-delay schedules for project scheduling with multi-modes. In: Proceedings of the 16th WSEAS international conference on applied mathematics, pp 29–31
Petering ME, Wu Y, Li W, Goh M, de Souza R, Murty KG (2017) Real-time container storage location assignment at a seaport container transshipment terminal: dispersion levels, yard templates, and sensitivity analyses. Flex Serv Manuf J 29(3–4):369–402
Pinedo ML (2016) Scheduling: theory, algorithms, and systems. Springer, Berlin
Qiu L, Hsu WJ (2000) Conflict-free AGV routing in a bi-directional path layout. In: Proceedings of the 5th international conference on computer integrated manufacturing, vol 1, pp 392–403
Reveliotis SA (2000) Conflict resolution in AGV systems. IIE Trans 32(7):647–659
Ribas I, Leisten R, Framiñan JM (2010) Review and classification of hybrid flow shop scheduling problems from a production system and a solutions procedure perspective. Comput Oper Res 37(8):1439–1454
Ruiz R, Vázquez-Rodríguez JA (2010) The hybrid flow shop scheduling problem. Eur J Oper Res 205(1):1–18
Saanen Y (2016) AGV versus lift AGV versus ALV. Port Technol Int 70:63–69
Schroër HJ, Corman F, Duinkerken MB, Negenborn RR, Lodewijks G (2014) Evaluation of inter terminal transport configurations at Rotterdam Maasvlakte using discrete event simulation. In: Proceedings of the winter simulation conference 2014. IEEE, pp 1771–1782
Stahlbock R, Voß S (2008) Operations research at container terminals: a literature update. OR Spectr 30(1):1–52
Steenken D, Voß S, Stahlbock R (2004) Container terminal operation and operations research—a classification and literature review. OR Spectr 26(1):3–49
Tavakkoli-Moghaddam R, Makui A, Salahi S, Bazzazi M, Taheri F (2009) An efficient algorithm for solving a new mathematical model for a quay crane scheduling problem in container ports. Comput Ind Eng 56(1):241–248
Vignier A, Billaut JC, Proust C (1999) Les problèmes d’ordonnancement de type flow-shop hybride: état de l’art. RAIRO Oper Res 33(2):117–183
Vuuren B (2017) Route plan scheduling for automated guided vehicles at container terminals. Master’s thesis, TU Delft, Delft, The Netherlands
Xin J (2015) Control and coordination for automated container terminals. Ph.D. thesis, TU Delft, Delft, The Netherlands
Xin J, Negenborn RR, Lodewijks G (2014) Energy-aware control for automated container terminals using integrated flow shop scheduling and optimal control. Transp Res Part C Emerg Technol 44:214–230
Xin J, Negenborn RR, Corman F, Lodewijks G (2015a) Control of interacting machines in automated container terminals using a sequential planning approach for collision avoidance. Transp Res Part C Emerg Technol 60:377–396
Xin J, Negenborn RR, Lodewijks G (2015b) Event-driven receding horizon control for energy-efficient container handling. Control Eng Practice 39:45–55
Yang CH, Choi YS, Ha TY (2004) Simulation-based performance evaluation of transport vehicles at automated container terminals. OR Spectr 26(2):149–170
Yu S, Wang S, Zhen L (2017) Quay crane scheduling problem with considering tidal impact and fuel consumption. Flex Serv Manuf J 29(3–4):345–368
Zhang C, Liu J, Wan YW, Murty KG, Linn RJ (2003) Storage space allocation in container terminals. Transp Res Part B Methodol 37(10):883–903
Acknowledgements
This work was supported in part by TBA Group. We thank the anonymous reviewers for their suggestions.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Jonker, T., Duinkerken, M.B., Yorke-Smith, N. et al. Coordinated optimization of equipment operations in a container terminal. Flex Serv Manuf J 33, 281–311 (2021). https://doi.org/10.1007/s10696-019-09366-3
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10696-019-09366-3