Next Article in Journal
Extreme Waves in the Agulhas Current Region Inferred from SAR Wave Spectra and the SWAN Model
Next Article in Special Issue
Determining Residual Deviation and Analysis of the Current Use of the Magnetic Compass
Previous Article in Journal
Anthropogenic Impact on Beach Heterogeneity within a Littoral Cell (Northern Tuscany, Italy)
Previous Article in Special Issue
Ships Added Mass Effect on a Flexible Mooring Dolphin in Berthing Manoeuvre
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Fuzzy Optimization Model for the Berth Allocation Problem and Quay Crane Allocation Problem (BAP + QCAP) with n Quays

by
Edwar Lujan
1,
Edmundo Vergara
1,
Jose Rodriguez-Melquiades
1,
Miguel Jiménez-Carrión
2,
Carlos Sabino-Escobar
3 and
Flabio Gutierrez
2,*
1
Faculty of Physical and Mathematical Sciences, Universidad Nacional de Trujillo, Trujillo 13011, Peru
2
Science Faculty and Faculty of Industrial Engineering, Universidad Nacional de Piura, Piura 20002, Peru
3
Faculty of Economic Sciences, Universidad Nacional de Tumbes, Tumbes 24001, Peru
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2021, 9(2), 152; https://0-doi-org.brum.beds.ac.uk/10.3390/jmse9020152
Submission received: 16 December 2020 / Revised: 22 January 2021 / Accepted: 27 January 2021 / Published: 2 February 2021
(This article belongs to the Special Issue Advances in Navigability and Mooring)

Abstract

:
This work introduces a fuzzy optimization model, which solves in an integrated way the berth allocation problem (BAP) and the quay crane allocation problem (QCAP). The problem is solved for multiple quays, considering vessels’ imprecise arrival times. The model optimizes the use of the quays. The BAP + QCAP, is a NP-hard (Non-deterministic polynomial-time hardness) combinatorial optimization problem, where the decision to assign available quays for each vessel adds more complexity. The imprecise vessel arrival times and the decision variables—berth and departure times—are represented by triangular fuzzy numbers. The model obtains a robust berthing plan that supports early and late arrivals and also assigns cranes to each berth vessel. The model was implemented in the CPLEX solver (IBM ILOG CPLEX Optimization Studio); obtaining in a short time an optimal solution for very small instances. For medium instances, an undefined behavior was found, where a solution (optimal or not) may be found. For large instances, no solutions were found during the assigned processing time (60 min). Although the model was applied for n = 2 quays, it can be adapted to “n” quays. For medium and large instances, the model must be solved with metaheuristics.

1. Introduction

Maritime container terminals (MCTs) are vital elements in the global supply chain. The essential objective of an MCT is to provide the resources and organization to the transport of containers between the landside and maritime mediums. In this process, the MCT must guarantee the best conditions of speed, efficiency, and safety, in accordance with the environment [1].
Due to the current rise in the global maritime trade, many ports have suffered from resource constraints, such as space, time, quay cranes, etc. The problems that exist in an MCT are different. This work addresses the berth allocation problem (BAP) and the quay crane allocation problem (QCAP). The BAP is a NP-hard (Non-deterministic polynomial-time hardness) combinatorial optimization problem [2], which involves assigning each incoming vessel a berth position and arrival time at the quay. On the other hand, the QCAP tries to assign a number of quay cranes (QC) to each berth vessel, aiming to perform all the necessary unload or load movements of the containers in the vehicles. The QC are giant cranes that are mounted on rails, therefore, they cannot break through to each other.
The vessel arrival times are very uncertain, i.e., they can arrive earlier or later than their expected arrival time. This imprecision depends on several factors, such as: technical problems, weather conditions (winds, storms), additional terminal visits, or other reasons [3,4]. This has effects over other MCT activities, such as load and unload operations, negatively impacting the services required by customers. This work assumes the imprecise arrival times of the vessels, where the arrival is known but the exact time is uncertain, as this kind of uncertainty (ambiguity) can be modeled with fuzzy logic [5].
In [6], an exhaustive literature review which show a very limited number of reports, the authors deal with the imprecise times in the BAP + QCAP.
The authors of [7] use discrete event simulation to show that the collaboration between two MCTs (sharing resources such as berths, quay cranes, and the container yard) can help reduce uncertainty in arrival time and the number of containers brought in by vessel, although the authors do not present any mathematical models.
A reactive strategy for the BAP + QCAP with discrete berths is proposed in [8], a mixed integer linear programming (MILP) model with practical constraints, is formulated to obtain a basic planning when uncertainty problems appear (deviation of vessels’ arrival times, deviation of vessels’ loading and unloading operation times, unscheduled vessel calls, quay breakdowns, etc.), and a moving horizon heuristic is used to obtain good feasible solutions. Another reactive strategy for the BAP + QCAP is proposed in [9], where basic planning is obtained through the use of a multi-objective optimization model that penalizes: the deviations of the vessels from their preferred berthing positions, the delay in the berthing time in comparison to estimated arrival times, and the delay in departure times compared to estimated departure times; then, with movable time windows the berthing plans are updated.
Given that the model we propose is proactive, a review of works on this approach is made below.
Regarding discrete and dynamic BAP, where a single berth quay is available with some kind of imprecision present, a fuzzy mixed integer linear programming (MILP) model was proposed in [10], the imprecise arrival times were represented by triangular fuzzy numbers; however, this model does not addressed continuous BAP. According to [6], the design of a continuous model would have a more complicated berthing plan than a discrete one. Nevertheless, a continuous model has the advantage of better using the quay space. In [11], a fully fuzzy linear programing (FFLP) model was developed for dynamic and continuous BAP. The model obtained a robust berthing plan, which supports incidents in the vessel arrivals. In [12], a MILP model and a genetic algorithm (GA) were created for dynamic and continuous BAP+QCAP. In the modeling methodology, spaces of times were added in the vessel departure, which mitigates the effects of imprecision and strengthens the model’s accuracy.
In the case of BAPs, where vessels can berth in two quays; [13] proposed a MILP model and a GA. However, imprecision was not included in the problem parameters. On the other hand, a FFLP model for BAP which addressed the imprecision in the vessel arrivals was presented in [14]. A MILP model for integrated laycan and berth allocation and quay crane assignment problem (LBACAP) that considers multiple quays is proposed in [15].
As far as we know, no models have been developed for the BAP + QCAP which considers “n” quays and the uncertainty in the arrival times.
In this work, we present a fuzzy optimization model for the BAP + QCAP with two quays, continuous and dynamic, which considers the vessels’ imprecise arrival times, meaning they can arrive early or late of an allowed time. The vessels’ imprecise arrival times are represented by triangular fuzzy numbers. The model optimizes the use of the quays. In order to analyze the behavior and efficiency, the model is applied to a small, medium, and large instances respectively.

2. Materials and Methods

2.1. Fuzzy Arithmetic

Definition 1. 
Let X be the discourse universe, and a fuzzy set A ˜ in X is a set of ordered pairs.
A ˜ = { ( x , μ A ˜ ( x ) ) ,   x X }
where μ A ˜ : X [ 0 , 1 ] is the membership function, which represents the belonging degree of x with the set A ˜ .
In this work, fuzzy sets are defined over the real numbers . A membership function can be triangular, trapezoidal, sigmoidal, quadratic, etc.
Definition 2. 
A fuzzy singleton is a fuzzy set with a membership function.
μ A ˜ ( x ) = { 1 ,   x   [ a ε , a + ε ] 0 ,   x   [ a ε , a + ε ]
where ε is a margin of error. The fuzzy singleton allows the expression of a real number as a fuzzy set.
Definition 3. 
A fuzzy number is a normal and convex fuzzy set in .
Definition 4. 
A triangular fuzzy number is represented by a ˜ = ( a 1 , a 2 , a 3 ) .
Definition 5. 
A triangular fuzzy number a ˜ = ( a 1 , a 2 , a 3 ) is positive if and only if a 1 > 0 .
Definition 6. 
A real number a can be represented by a fuzzy singleton in the form of a triangular fuzzy number a ˜ = ( a ε , a , a   +   ε ) , where ε is a margin of error.
Definition 7. 
For two non-negative triangular fuzzy numbers a ˜ = ( a 1 , a 2 , a 3 ) and b ˜ = ( b 1 , b 2 , b 3 ) , the sum difference and multiplication operations are defined as follows:
a ˜ + b ˜ = ( a 1 +   b 1 , a 2 +   b 2 , a 3 +   b 3 ) a ˜ b ˜ = ( a 1 b 3 , a 2 b 2 , a 3 b 1 ) a ˜ . b ˜ = ( a 1 . b 1 , a 2 . b 2 , a 3 . b 3 ) .
Ordering methods allows us to decide the greater number between two fuzzy numbers a ˜ and b ˜ . Fuzzy numbers do not always provide an ordered set as found in real numbers. Ordering methods in fuzzy numbers have advantages and disadvantages. There are different ordering methods, depending on the representation: preference, rationality, and robustness, etc. [16].
In this work, the objective of the fuzzy model optimization is to achieve an ordering (planning) for the berthing of vessels, therefore, any ordering method that orders fuzzy numbers could be used. Ordering methods that use intervals to order fuzzy numbers are not recommended, as they could add more imprecision to the model.
This work utilizes the Yagger First Index [17] ordering method, which is defined below.
Definition 8. 
Given two triangular fuzzy numbers a ˜ and b ˜ alongside the ordering function,
( a ˜ ) = a 1 +   a 2 +   a 3 3
a ˜ b   ˜ when, ( a ˜ ) ( b ˜ ) , Meaning, a ˜ b   ˜ when a 1 +   a 2 +   a 3   b 1 +   b 2 +   b 3 .

2.2. Fully Fuzzy Linear Programming (FFLP)

There are different approaches in fuzzy mathematical programming, the classical fuzzy linear programming methods are used when the parameters are fuzzy; in this work, some of the decision variables are fuzzy, for this case, the FFLP approach is the most appropriate.
In the FFLP approach, the decision parameters and variables are fuzzy and linear, respectively. Several solution methods can be applied to the FFLP model [18]. Most of them convert the fuzzy model into a classic linear programming one. In this work, we use the method proposed by Nasseri [19].
Given the FFLP problem:
m a x j = 1 n C ˜ j X ˜ j
Subject to:
j = 1 n a ˜ i j x ˜ j   b ˜ i   ,   i = 1 m
where the parameters C ˜ j   ,   a ˜ i j   ,   b ˜ j and the decision variable x ˜ j are non-negative triangular fuzzy numbers, C ˜ j = ( c 1 j , c 2 j , c 3 j ) , a ˜ i j = ( a 1 i j , a 2 i j , a 3 i j ) , b ˜ j = ( b 1 i , b 2 i , b 3 i ) y x ˜ j = ( x 1 j , x 2 j , x 3 j ) .
The Nasseri method transforms the previous model into a classic linear programming problem,
max   ( j = 1 n ( c 1 j , c 2 j , c 3 j )   ( x 1 j , x 2 j , x 3 j ) )
Subject to:
j = 1 n a 1 i j x 1 j   b 1 i   ,   i = 1 m
j = 1 n a 2 i j x 2 j   b 2 i   ,   i = 1 m  
j = 1 n a 3 i j x 3 j   b 3 i   ,   i = 1 m
where is an ordering function (see Definition 8).

2.3. Problem Description

According to [20], an MCT is a composition of several subsystems integrated into a single one. This system has physical and information connections with the transport networks (landside and maritime). The subsystems (see Figure 1) are:
  • The loading–unloading container subsystem, which is responsible for resolving the maritime interface.
  • The storage container subsystem, which occupies most of the MCT surface.
  • The landside reception and delivery subsystem, which act as gates in the landside for trucks and/or railways.
  • The internal connection subsystem. To the previous three subsystems, which address the basic terminal functions, a fourth subsystem must be added, this ensures the horizontal transport of containers between the previous subsystems.
The BAP + QCAP discussed in this work occur in subsystem 1, however any incident will affect the other subsystems. For example, if a vessel berths outside their scheduled time, it will cause problems to the assigned cranes, affecting the prepared warehouses for the containers and the trucks waiting to receive them.
The existence of n quays in the port is assumed, where vessels can berth in any of them. Arrival time is imprecise, i.e., vessels are allowed to be early or late until a predetermined time. The BAP focuses on choosing a quay (if any) and the arrival time and position where each arriving vessel at the MCT must berth. The other problem is the QCAP, which involves the assigning of a number of quay cranes to each vessel to be handled.
The BAP can be represented in a two-dimensional form (see Figure 2), where the horizontal axis represents the time and the vertical axis represents the berth length.
We consider the following assumptions and limitations:
Assumptions: The vessel information is previously known, each vessel has a draft less or equal than the quay, and that the berthing and departure do not consume much time. Simultaneous berthing is allowed and the safety distance between vessels is not considered. The number of cranes assigned to the vessels does not change during the berthing time, once a QC starts a task on a vessel they must complete it without any pause, all QCs assigned to vessel i have the same working time ( t i k = h i ,   k Q C ,   u i k = 1 ). The model assigns the berthing place to each vessel, that is, preference zones are not allowed for berthing a vessel.
Limitations: The quay length must be limited, the available crane number in each quay is five. There is a safety distance between cranes which must to be maintained (35 m). The maximum crane number that can be assigned to a vessel is four. The number of crane movements performed in a given time is 2.5. There must be at least one QC assigned to each vessel.
In this work we use the following notation, which was taken from [12]:
  • H : Planning Horizon.
Let be Q the set of existent quays in an MCT, where q Q is a quay.
  • Q C q : Available cranes at quay q. All Q C s perform the same number of movements per unit time ( m o v s Q C ) , data provided by the MCT.
  • Q C i q   +   : The maximum number of QCs assigned to each vessel i at quay q
  • L q : Length of quay q .
Let be V a set of vessels which arrive at the port, the data for each vessel i V is given by:
  • a i : Vessel arrival time at port.
  • l i : Vessel length.
  • c i : Required number of movements to load or unload the containers from the vessel.
The decision variables are:
  • B M i q : Takes the value of 1 when vessel i berths at quay q , and takes 0 otherwise.
  • m i q : Berthing time of vessel i at quay q . The waiting time ( w i ) is computed as ( w i = m i q a i )
  • p i q : Position at quay q , where vessel i must berth.
  • n i q : Number of Q C s in quay q assigned to vessel i.
  • u i k : Indicates whether k, (which belonging to Q C q ) works (1) or not (0) on vessel i.
The variables that are deduced from above are:
  • h i : Vessel handling time i . h i = c i / ( n i q m o v s Q C ) .
  • t i k : Working time of k (belonging to Q C q ) which is assigned to vessel i .
  • d i : Vessel departure time ( d i =   m i q   +   h i ) .
  • s i q   ;   e i q : Indices for the first and last Q C , on quay q , used in vessel i , respectively.
  • M : Is a sufficiently large number.

2.4. Fuzzy Optimization Model for the BAP + QCAP with Two Quays

The arrival, berthing, handling, waiting and departure time of each vessel are considered imprecise (fuzzy), they are denoted by: a ˜ , m ˜ , h ˜ , w ˜   and d ˜ respectively.
Assuming the presence of imprecision in some parameters and decision variables, the fuzzy optimization model for BAP + QCAP is introduced. This model is based on the deterministic model developed in [12]. The objective function minimizes the waiting and handling time for all vessels.
m i n i V ( w ˜ i   +   h ˜ i )
Subject to:
q Q B M i q = 1                         ,     i V   , q Q  
m ˜ i q a ˜ i                                   ,     i V ,   q Q
w ˜ i   +   a ˜ i   = m ˜ i q                       ,     i V ,   q Q
d ˜ i = m ˜ i q   +   h ˜ i                         ,     i V ,   q Q
p i q   +   l i   L q                           ,     i V ,   q Q
n i q = k Q C q u i k                     ,     i V ,   k Q C q ,   q Q  
1   n i q   Q C i q   +                       ,     i V ,   q Q
1   s i q   ,   e i q   | Q C q |             ,     i V ,   q Q
  s i q   e i q                                   ,     i V ,   q Q
n i q = e i q   s i q   +   1                 ,   i V ,   q Q
k Q C q t i n k m o v Q C   c i             ,     i V ,   q Q
h ˜ i =   m a x k Q C q t i k                     ,     i V ,   q Q
t i k M u i k 0                       ,     i V ,   k Q C q ,   q Q  
h ˜ i M ( 1   u i k ) t i k 0     ,     i V ,   k Q C q ,   q Q  
u i k   +   u j k   +   z i j q x < 2               ,     i , j V   ,   i j ,   k Q C q ,   q Q
M ( 1 u i k )   +   ( e i q k ) 0           ,       i V ,   k Q C q ,   q Q  
M ( 1 u i k )   +   ( k s i q ) 0           ,       i V ,   k Q C q ,   q Q  
p i q   +   l i   p j q   +   M ( 1 z i j x )       ,       i , j V ,   i j ,   q Q
e i q   +   1   s j q   +   M ( 1   z i j q x )         ,       i V ,   i j ,   q Q
d ˜ i   m ˜ j q   +   M ( 1 z i j q y )                 ,     i V ,   i j ,   q Q
m ˜ i q   +   h ˜ i   H                                     ,       i V ,   q Q
  z i j q x   +   z j i q x   +   z i j q y   +   z j i q y 1           ,       i , j V ,   i j ,   q Q
z i j q x ,   z i j q y { 0 , 1 }                                 ,       i , j V ,   i j ,   q Q
There are two auxiliary variables: z i j q x is a decision variable that indicates whether the vessel i is located to the left of vessel j at quay ( z i j q x = 1 ) , while z i j q y indicates that vessel i berths before vessel j in time, at quay q ( z i j q x = 1 ) (see restriction 34).
Constraint (12), assigns each vessel to a quay q . Constrain (13), indicates that all vessels can berth once they arrive at the port. Constraints (14) and (15) set the waiting and departure times for vessel i , according with the berthing time. Constraint (16) ensures the berth position of vessel i does not exceed the length of the quay q .
Constraints (17)–(21) assign a number of working Q C s at quay q for vessel i . Constraint (22) sets the minimum handling time required to load or unload containers, according with the assigned number of Q C s to vessel i . Constraint (23) assigns the handling time to vessel i . Constraint (24) ensures that unassigned Q C s have a value of t i k = 0 . Constraint (25) forces the assigned Q C s in vessel i to work the same number of hours. Constraint (26) prevents a Q C from being assigned to different vessels at the same time. Constraints (27) and (28) force Q C s to be contiguously assigned (from s i to e i ) at quay q. Constraint (29) takes into account the safety distance. Constraint (30) prevents a vessel from using a Q C which breaks through other Q C s . Constraint (31) prevents vessel j from berthing at the quay, while vessel i is still berthed at the same quay. Constraint (32) indicates that the berthing and handling time for vessel i must not exceed the planning horizon (H). Finally, constraint (33) establishes the relationship between each pair of vessels.

2.5. Fuzzy Optimization Model Solution

It is assumed that, in the fuzzy optimization model from Section 2.4, the imprecision times related with the vessel operations: arrival, berthing, handling, and departure, are represented by the triangular fuzzy numbers a ˜ = ( a 1 , a 2 , a 3 ) , m ˜ = ( m 1 ,   m 2 ,   m 3 ) , h ˜ = ( h 1 , h 2 , h 3 ) , and d ˜ = ( d 1 , d 2 , d 3 ) , respectively. h ˜ , is considered a fuzzy singleton; also, if the model parameters are linear, the model is a FFLP.
The method used to transform the FFLP model into a classic linear programming model requires the application of fuzzy arithmetic operations; restrictions (25), (31), and (32) show such operations between fuzzy and real numbers, in order to perform such operations, real numbers are considered to be fuzzy singletons (See Definition 6), for example, in constraint (31),
d ˜ i   m ˜ j q   +   M ( 1 z i j q y )  
Is transformed into,
( d 1 i , d 2 i , d 3 i ) ( m 1 j q ,   m 2 j q , m 3 j q )   +   M ( ( 1 , 1 , 1 ) ( z i j q y ,   z i j q y ,   z i j q y ) )  
Simplifying,
( d 1 i , d 2 i , d 3 i ) ( m 1 j q   +   M ( 1 z i j q y   ) ,     m 2 j q   +   ( 1 z i j q y   ) ,     m 3 j q   +   ( 1 z i j q y   ) )
As indicated in the Nasseri method (see Section 2.2), operations between fuzzy numbers which involve sum, difference, and multiplication operations, are performed in the FFLP model; an ordering method is applied to the objective function, in this case, the First Yagger Index is used (see Definition 8), obtaining the following MILP model.
m i n i V 1 3 ( ( m 1 i q a 3 i   +   h 1 i )   +   ( m 2 i q a 2 i   +   h 2 i )   +   ( m 3 i q a 1 i   +   h 3 i ) )
Subject to:
q Q B M i q = 1                         ,   i V   , q Q  
m 1 i q a 1 i   ,   m 2 i q a 2 i   , m 3 i q a 3 i                   ,   i V ,   q Q
m 3 i q m 2 i q   ,   m 2 i q m 1 i q                                       ,   i V ,   q Q
w 1 i   +   a 1 i   = m 1 i q ,       w 2 i   +   a 2 i = m 2 i q   , w 3 i   +   a 3 i   = m 3 i q             ,   i V ,   q Q
d 1 i = m 1 i q   +   h 1 i   ,   d 2 i = m 2 i q   +   h 2 i   ,   d 3 i = m 3 i q   +   h 3 i             ,   i V ,   q Q
p i q   +   l i   L q                                         ,     i V ,   q Q
n i q = k Q C q u ˜ i k                                   ,       i V ,   k Q C q ,   q Q  
1   n i q   Q C i q   +                                     ,     i V ,   q Q
1   s i q   ,   e i q   | Q C q |                           ,     i V ,   q Q
s i q   e i q                                                 ,     i V ,   q Q
n i q = e ˜ i q   s ˜ i q   +   1                             ,   i V ,   q Q
k Q C q t i n k m o v Q C   c i               ,     i V ,   q Q
h 1 i =   m a x k Q C q t i k     ,   h 2 i =   m a x k Q C q t i k   , h 3 i =   m a x k Q C q t i k         ,   i V ,   q Q
t i k M u i k 0                                 ,     i V ,   k Q C q ,   q Q  
h 1 i M ( 1   u i k ) t i k 0             ,     i V ,   k Q C q ,   q Q  
h 2 i M ( 1   u i k ) t i k 0             ,     i V ,   k Q C q ,   q Q  
h 3 i M ( 1   u i k ) t i k 0             ,     i V ,   k Q C q ,   q Q  
u i k   +   u j k   +   z i j q x < 2                           ,     i , j V   ,   i j ,   k Q C q ,   q Q
M ( 1 u i k )   +   ( e i q k ) 0               ,     i V ,   k Q C q ,   q Q  
M ( 1 u i k )   +   ( k s i q ) 0               ,     i V ,   k Q C q ,   q Q  
p i q   +   l i   p j q   +   M ( 1 z i j x )           ,     i , j V ,   i j ,   q Q
e i q   +   1   s j q   +   M ( 1   z i j q x )           ,     i V ,   i j ,   q Q
d 1 i   m 1 j q   +   M ( 1 z i j q y )               ,     i V ,   i j ,   q Q
d 2 i   m 2 j q   +   M ( 1 z i j q y )               ,     i V ,   i j ,   q Q
d 3 i   m 3 j q   +   M ( 1 z i j q y )               ,     i V ,   i j ,   q Q
m 1 i q   +   h 1 i   H   ,   m 2 i q   +   h 2 i   H   ,   m 3 i q   +   h 3 i   H                 ,   i V ,   q Q
  z i j q x   +   z j i q x   +   z i j q y   +   z j i q y 1               ,   i , j V ,   i j ,   q Q
z i j q x ,   z i j q y { 0 , 1 }                                     ,       i , j V ,   i j ,   q Q

3. Results

For both the case study and the model evaluation efficiency a set of uniform distributed instances were used. The model was implemented with the IBM ILOG CPLEX Optimization Studio (CPLEX) solver and was programmed on a personal computer: Intel(R) Core (TM) i7-8550U CPU, 1.80 GHz processor and 8 GB of RAM. The experiments were conducted within a 60 min timeout.

3.1. Study Case

To evaluate the model, an instance of ten vessels was used as a case study (see Table 1); the input data are the vessel imprecise arrival times (early, exact, late), its length, and the number of crane movements required to handle it. Figure 3 displays the vessels’ uncertain arrivals from Table 1, represented as triangular fuzzy numbers.
For example, for vessel V7, the arrival time with all its possibilities gives us 138 time units, but it can also arrive early or late by up to 126 and 147 time units, respectively. The vessel length is 366 m and 8110 crane movements are required to handling it.
The model assumes that: two quays are used; each having five cranes, with a minimum of one crane operating on each vessel to a maximum of four cranes per vessel. Each quay has a length of 700 m.
The obtained results are shown in Table 2. Within an hour of computing time, an objective value of 15,570 was obtained, this is not the optimal value; but the best value obtained within that time.
Berthing time (m1, m2, m3) and output time (d1, d2, d3) are triangular fuzzy numbers. Q = 1 refers to quay 1, and Q = 0 to quay 2.
For example, vessel V7 can berth between the time units 663 and 693, with more possibility at time unit 667. It can depart between units 2015 and 2045, with more possibility at unit 2027. Additionally, it must berth at position 334 of the quay. Finally, two cranes are assigned to this vessel, and they must berth at quay 1.
The fuzzy berthing plan is displayed in Figure 4. Vessels are represented as polygons (not as rectangles as in the deterministic problem). The red polygon line represents the allowed early time which can be tolerated for the vessel to berth; meanwhile the green line is the tolerated late arrival time. The small triangle represents the berthing with more possibility.
In Figure 4, in quay 2, the blue circle suggests a conflict area between the departure and berthing of vessels V5 and V9. However as explained in Figure 5, such conflict is not real. For example, if vessel V5 departures late from the quay at time unit 1365, vessel V9 could berthing between the 1365 and 1370 units.
In order to verify the fuzzy model robustness, incidences were simulated in the vessel arrivals (see Table 3). With these incidences, the final berthing plan is obtained (see Table 4). Figure 6 shows that the final berthing plan is part of the fuzzy berthing plan.

3.2. Model Efficiency Analysis

In order to analyze the model efficiency, data from vessels 5 to 35 with 100 instances each were used. The results are shown in Table 5.
Optimal values were found for five vessels, with an average objective value and processing time of 4922 and 0.2 min, respectively; this was the unique number of vessels for which an optimal solution was obtained in all its instances. For six vessels, an average objective value of 6655.3 was obtained within an average processing time of 1.3 min, where a total of 47 instances were optimally solved. No optimal solutions were found for 7 to 12 vessels. Instead, a single non-optimal solution was found in just one instance. For 13 to 22 vessels there were between one and three optimal solutions. No optimal solutions were found for 23 to 34 vessels, rather, just a best solution in the given processing time. However, for 29 vessels an optimal solution was obtained. For 35 vessels onwards, no solution was found.
Regarding the processing time (see Figure 7), is noted that for six vessels, the average time it took to find a solution was 1.3 min. Meanwhile, for seven vessels the average processing time drastically increases until it matches the allowed processing time (60 min). For 13 to 22 vessels the time varies between 19 and 38.8 min, respectively. For 23 vessels onwards, the time processing was 60 min, except for 29 vessels, which takes 39.7 min.
Figure 8 shows a trend of increase in the target value, alongside, the polynomial curve which best adjusts the data; this is a quadratic curve, with a determination coefficient R2 of 0.9775.

4. Discussion

A fuzzy optimization model for the BAP + QCAP with two quays was developed, considering the vessels’ imprecise arrivals. The model was implemented in the CPLEX solver. For previously known input data from a set of vessels, the model obtained a fuzzy berthing and crane allocation plan, which supported incidences of vessels being early or late in their arrival times.
The model efficiency was evaluated with a benchmark of 100 instances for each number of vessels, with one hour of computing processing. Only for a very small number of instances (five vessels) were optimal solutions obtained in all instances. For 6 to 34 vessels, only some optimal and non-optimal solutions were obtained: these do not follow a defined behavior regarding the processing time, this is because the problem is NP-hard and solutions will only be obtained in medium instances that have a structure that allows the algorithm used by the Solver CPLEX to find a solution. For 35 vessels onwards, the CPLEX solver was unable to find solutions within the allowed processing time. The same results applied for large instances.
The model was designed for “n” quays, but in this work is applied to only n = 2. Each time the quay number increases, the complexity will increase as well.
For medium and large instances, the model must be solved with metaheuristics, because it is a highly complex combinatorial optimization problem.

Author Contributions

Conceptualization, E.L. and F.G.; methodology, C.S.-E.; software, E.L.; validation, M.J.-C., J.R.-M. and C.S.-E.; formal analysis, F.G.; investigation, E.L.; resources, M.J.-C.; data curation, F.G.; writing—original draft preparation, C.S.-E.; writing—review and editing, F.G.; visualization, J.R.-M.; supervision, E.V.; project administration, E.V.; funding acquisition, E.V. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by INNOVATE-PERU, grant number Project N PIBA-2-P-069-14.

Conflicts of Interest

Declare conflicts of interest or state—The authors declare no conflict of interest.

References

  1. CCIM (Maritime Industry Knowledge Center) “PORTS AND TERMINALS”. Available online: https://www.maritimeinfo.org/es/Maritime-Directory/ports-and-terminals-es-21f71f7e802b11e2bf310013721274c6 (accessed on 17 June 2019).
  2. Lim, A. The berth planning problem. Oper. Res. Lett. 1998, 22, 105–110. [Google Scholar] [CrossRef]
  3. Bruggeling, M.; Verbraeck, A.; Honig, H. Decision support for container terminal berth planning: Integration and visualization of terminal information. In Proceedings of the Transport Logistics Working Days (VLW2011); University Press: Zelzate, Belgium, 2011; pp. 263–283. [Google Scholar]
  4. Laumanns, M. Robust adaptive resource allocation in container terminals. In Proceedings of the 25th Mini-EURO Conference Uncertainty and Robustness in Planning and Decision Making, Coimbra, Portugal, 15–17 April 2010; pp. 501–517. [Google Scholar]
  5. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef] [Green Version]
  6. Bierwirth, C.; Meisel, F. A survey of berth allocation and quay crane scheduling problems in container terminals. Eur. J. Oper. Res. 2010, 202, 615–627. [Google Scholar] [CrossRef]
  7. Budipriyanto, A.; Wirjodirdjo, B.; Pujawan, I.N.; Gurning, S. A Simulation Study of Collaborative Approach to Berth Allocation Problem under Uncertainty. Asian J. Shipp. Logist. 2017, 33, 127–139. [Google Scholar] [CrossRef]
  8. Xiang, X.; Liu, C.; Miao, L. Reactive strategy for discrete berth allocation and quay crane assignment problems under uncertainty. Comput. Ind. Eng. 2018, 126, 196–216. [Google Scholar] [CrossRef]
  9. Xiao, L.; Hu, Z.-H. Berth Allocation Problem with Quay Crane Assignment for Container Terminals Based on Rolling-Horizon Strategy. Math. Probl. Eng. 2014, 1. [Google Scholar] [CrossRef]
  10. Exposito, C.; Lalla, E.; Melian, B.; Moreno, J. Fuzzy optimization models for seaside port logistics: Berthing and quay crane scheduling. Comput. Intell. 2016, 323–343. [Google Scholar] [CrossRef]
  11. Gutierrez, F.; Lujan, E.; Vergara, E.; Asmat, F. Fuzziness in the Berth Allocation Problem. Recent Adv. Comput. Optim. Stud. Comput. Intell. 2019, 795, 149–174. [Google Scholar] [CrossRef]
  12. Rodriguez, M.; Ingolotti, L.; Barber, F.; Salido, M.; Puente, J. A genetic algorithm for robust berth allocation and quay crane assignment. Prog. Artif. Intell. 2014, 2, 177–192. [Google Scholar] [CrossRef] [Green Version]
  13. Frojan, P.; Correcher, J.; Alvarez, R.; Koulouris, G.; Tamarit, J. The continuous Berth Allocation Problem in a container terminal with multiple quays. Expert Syst. Appl. 2015, 42, 7356–7366. [Google Scholar] [CrossRef]
  14. Gutierrez, F.; Lujan, E.; Vergara, E.; Asmat, R. Fully Fuzzy Linear Programming Model for the Berth Allocation Problem with Two Quays. Uncertain. Manag. Fuzzy Rough Sets Recent Adv. Appl. Stud. Fuzziness Soft Comput. 2019, 377, 87–113. [Google Scholar] [CrossRef]
  15. Bouzekri, H.; Alpan, G.; Giard, V. Integrated Laycan and Berth Allocation and time-invariant Quay Crane Assignment Problem in tidal ports with multiple quays. Eur. J. Oper. Res. 2021, in press. [Google Scholar] [CrossRef]
  16. Young-Jou, L.; Hwang, C. Fuzzy mathematical programming: Methods and applications. In Lecture Notes in Economics and Mathematical Systems; Springer: Berlin/Heidelberg, Germany, 1992; Volume 394, pp. 74–186. [Google Scholar] [CrossRef]
  17. Yager, R. A procedure for ordering fuzzy subsets of the unit interval. Inf. Sci. 1981, 24, 143–161. [Google Scholar] [CrossRef]
  18. Das, S.K.; Mandal, T.; Edalatpanah, S.A. A mathematical model for solving fully fuzzy linear programming problem with trapezoidal fuzzy numbers. Appl. Intell. 2017, 46, 509–519. [Google Scholar] [CrossRef]
  19. Nasseri, S.H.; Behmanesh, E.; Taleshian, F.; Abdolalipoor, M.; Taghi-Nezhad, N.A. Fully fuzzy linear programming with inequality constraints. Int. J. Ind. Math. 2013, 5, 309–316. [Google Scholar]
  20. Saurí, S. Operations and Tails of Vessels in Ports. Available online: https://upcommons.upc.edu/handle/2099.1/6271 (accessed on 16 June 2019).
Figure 1. MCT subsystems in plant (top image) and elevation (bottom image) [20].
Figure 1. MCT subsystems in plant (top image) and elevation (bottom image) [20].
Jmse 09 00152 g001
Figure 2. Two-dimensional BAP representation.
Figure 2. Two-dimensional BAP representation.
Jmse 09 00152 g002
Figure 3. Imprecise vessel arrivals (See Table 2).
Figure 3. Imprecise vessel arrivals (See Table 2).
Jmse 09 00152 g003
Figure 4. Fuzzy berthing plan for two quays (See Table 2).
Figure 4. Fuzzy berthing plan for two quays (See Table 2).
Jmse 09 00152 g004
Figure 5. Fuzzy triangular number representing the imprecise departure and berthing times of vessels V5 and V9 (See Table 2).
Figure 5. Fuzzy triangular number representing the imprecise departure and berthing times of vessels V5 and V9 (See Table 2).
Jmse 09 00152 g005
Figure 6. Final berthing plan included in the fuzzy plan (See Table 4).
Figure 6. Final berthing plan included in the fuzzy plan (See Table 4).
Jmse 09 00152 g006
Figure 7. Average processing time trend.
Figure 7. Average processing time trend.
Jmse 09 00152 g007
Figure 8. Average objective value trend.
Figure 8. Average objective value trend.
Jmse 09 00152 g008
Table 1. Instance of ten vessels with imprecise arrival times.
Table 1. Instance of ten vessels with imprecise arrival times.
Vessela1a2a3l (m)QC Mov.
V11416202604160
V21831482329680
V35668861393640
V48182971937610
V5921051192876860
V61061161333186300
V71261381473668110
V81551671761661560
V91591631641097830
V101621791862512220
Table 2. The fuzzy berthing plan and crane allocation obtained by the model.
Table 2. The fuzzy berthing plan and crane allocation obtained by the model.
Vesselm1m 2m 3hd1d2d3pCranesQ
V114162069470871071444020
V29279289431076200320042019031
V356688660766367569319321
V4818297846927928943031
V5583600607763134613631370030
V6708710714105017581760176438220
V7663675693135220152027204533421
V8409426433174583600607030
V9134613631370870221622332240030
V1016217918624740942643318930
Table 3. Arrival incidence in vessels.
Table 3. Arrival incidence in vessels.
VesselIncidenceTime
V1Exactly0
V2Exactly0
V3Early6
V4Late10
V5Exactly0
V6Late15
V7Exactly0
V8Late8
V9Early3
V10Exactly0
Table 4. Final berthing plan.
Table 4. Final berthing plan.
VesselmlhdpCranesQ
V11626069471044020
V293823210762014031
V36213960766919321
V492193846938031
V55832877631346030
V67103181050176038220
V76693661352202133421
V8409166174583030
V913461098702216030
V1017925124742618930
Table 5. Instances evaluation results.
Table 5. Instances evaluation results.
VesselsAverage Objective ValueAverage Processing Time
(Minutes)
OptimalNo Optimal
54922.00.21000
66655.31.34753
79401.360.001
810,499.760.001
913,724.760.001
1015,522.360.001
1119,741.360.001
1223,714.360.001
1328,762.328.9298
1436,194.719.0397
1539,153.038.8199
1642,786.330.8298
1749,753.025.0298
1857,623.728.5298
1968,661.024.7298
2071,727.322.8298
2180,968.321.2298
2292,723.322.1298
2388,050.060.001
2496,369.060.001
25110,842.360.001
26108,655.360.001
27128,984.360.001
28116,706.360.001
29172,058.339.7199
30142,758.360.001
31158,178.060.001
32177,955.360.001
33156,638.760.001
34200,806.060.001
35-60.000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lujan, E.; Vergara, E.; Rodriguez-Melquiades, J.; Jiménez-Carrión, M.; Sabino-Escobar, C.; Gutierrez, F. A Fuzzy Optimization Model for the Berth Allocation Problem and Quay Crane Allocation Problem (BAP + QCAP) with n Quays. J. Mar. Sci. Eng. 2021, 9, 152. https://0-doi-org.brum.beds.ac.uk/10.3390/jmse9020152

AMA Style

Lujan E, Vergara E, Rodriguez-Melquiades J, Jiménez-Carrión M, Sabino-Escobar C, Gutierrez F. A Fuzzy Optimization Model for the Berth Allocation Problem and Quay Crane Allocation Problem (BAP + QCAP) with n Quays. Journal of Marine Science and Engineering. 2021; 9(2):152. https://0-doi-org.brum.beds.ac.uk/10.3390/jmse9020152

Chicago/Turabian Style

Lujan, Edwar, Edmundo Vergara, Jose Rodriguez-Melquiades, Miguel Jiménez-Carrión, Carlos Sabino-Escobar, and Flabio Gutierrez. 2021. "A Fuzzy Optimization Model for the Berth Allocation Problem and Quay Crane Allocation Problem (BAP + QCAP) with n Quays" Journal of Marine Science and Engineering 9, no. 2: 152. https://0-doi-org.brum.beds.ac.uk/10.3390/jmse9020152

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop