Next Article in Journal
Intrapreneurial Capabilities: Multidimensional Construction and Measurement Index Validation
Next Article in Special Issue
A New Hybrid Algorithm for Vehicle Routing Optimization
Previous Article in Journal
Using Industrial Waste Heat in District Heating: Insights on Effective Project Initiation and Business Models
Previous Article in Special Issue
Tripartite Collaboration among Government, Digital Technology Platform, and Manufacturing Enterprises: Evolutionary Game Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Stage Robust Programming Modeling for Continuous Berth Allocation with Uncertain Vessel Arrival Time

1
The Research Institute for Risk Governance and Emergency Decision-Making, Collaborative Innovation Center on Forecast and Evaluation of Meteorological Disasters (CIC-FEMD), School of Management Science and Engineering, Nanjing University of Information Science & Technology, Nanjing 210044, China
2
School of Economics and Management, Anhui Jianzhu University, Hefei 230022, China
3
School of Management, Shanghai University, Shanghai 200444, China
4
College of Transport & Communications, Shanghai Maritime University, Shanghai 201306, China
*
Author to whom correspondence should be addressed.
Sustainability 2023, 15(13), 10560; https://doi.org/10.3390/su151310560
Submission received: 1 June 2023 / Revised: 27 June 2023 / Accepted: 30 June 2023 / Published: 4 July 2023
(This article belongs to the Special Issue Sustainable Supply Chain Management and Optimization Volume II)

Abstract

:
In order to mitigate the environmental pollution caused by sea freight, we focused on optimizing carbon emissions in container terminal operations. This paper establishes a mixed integer programming (MIP) model for a continuous berth allocation problem (CBAP) considering the tide time window. We aimed to minimize the total carbon emissions caused by the waiting time, consumption time and deviation to berth preference. In order to overcome the influence of an uncertain arrival time, the proposed MIP model was extended to mixed integer robust programming (MIRP) models, which applied a two-stage robust optimization (TSRO) approach to the optimal solution. We introduced an uncertainty set and scenarios to describe the uncertain arrival time. Due to the complexity of the resulting models, we proposed three particle swarm optimization (PSO) algorithms and made two novelties. The numerical experiment revealed that the robust models yielded a smaller variation in the objective function values, and the improved algorithms demonstrated a shorter solution time in solving the optimization problem. The results show the robustness of the constructed models and the efficiency of the proposed algorithms.

1. Introduction

Sustainable development has received widespread attention from various industries [1,2,3]. With the increase in the throughput of container terminals worldwide, maritime transport for trade and development has become increasingly important [4]. However, with the progress of human society and industrial manufacturing, the climate problem has become more and more serious. In 2021, according to the statistics of the International Energy Agency (IEA) on CO2 emissions in various fields in the world, the total carbon emissions of the transportation industry ranked second, accounting for less than 11% of the total [5]. These detailed data showed that land transportation accounted for 20%, while sea freight accounted for only 3%. However, according to the estimates of the United Nations Conference on Trade and Development (UNCTAD), the proportion of carbon dioxide produced by maritime transport activities in the total global carbon emissions may rise to 6% in 2022, and if no measures are taken by 2050, this figure may become 18% [6]. In addition, the environmental protection requirements of the shipping industry are set to gradually become stricter in the future. Therefore, realizing low-carbon and sustainable development is a future trend for the international shipping industry. To realize an economic and environmental co-development port, constructing a green container terminal could be a future direction of development [7].
In the link of terminal operation activities, berth planning and allocation are the first steps of a terminal operation. Efficient berth decision-making can help terminal operators reduce the time of container transshipment and yard transportation, thereby improving the traffic congestion at berths and yards, reducing emissions from terminal operations, and improving terminal service quality and environmental benefits. Therefore, Berth allocation has important practical significance, and this issue has always been a research hotspot of scholars. However, only some researchers have considered the effect of tide time conditions on vessel entry and departure in CBAP. In order to make this study more relevant to the actual situation, the deterministic MIP model was structured according to the current conditions of the continuous berth operation and took the influence of the tide time window on vessels in-wharf and out-wharf into account. This paper constructed a MIP model of CBAP to allocate the berth position, berthing time, and departure time for arrival vessels and to minimize the total emissions during the vessel berthing process.
Most of the early literature studied the berth allocation problem (BAP) in a deterministic environment, assuming that all parameters were known and invariable. However, as a highly complex and dynamic system, berth allocation in container terminals is particularly vulnerable to uncertain events [8,9]. The quality of berth allocation decisions can be significantly affected by frequent uncertain factors and unpredictable events. In addition, the berth plan is the basis of various operation planning in the terminal, and any adjustment to it could cause a series of changes to all subsequent operations. Therefore, it is essential to consider the impact of uncertainty in relevant decision-making.
In recent years, the related field of BAP under an uncertain environment has attracted the attention of many scholars and achieved specific results. Regarding the uncertainty research on issues relating to berth allocation, the modeling methods of uncertain BAP mainly focused on robust optimization (RO) [10], stochastic programming (SP) [11], fuzzy programming (FP) [12], etc. Among these, the RO method made up for the shortcomings of traditional optimization methods and had certain advantages. Although RO is gradually maturing with a high research value and practical application, these applications must be extended significantly in BAP. The most existing robust berth allocation problem (RBAP) in the research included uncertain optimization methods primarily focused on scenario-based stochastic programming and almost robust models, with few studies applying two-stage robust optimization (TSRO) methods. Moreover, for uncertain scenarios, a few studies were considered using machine learning techniques on historical data to handle multiple scenarios, aiming to estimate more accurate uncertain factors or construct uncertainty sets. In addition, almost all RBAP researchers have classified uncertain scenarios into multiple uncertainty sets, while the concept of the uncertainty set in robust classical theory still needs to be addressed. To bring the study closer to the real world, in this paper, the two-stage RO theory was applied to CBAP for uncertain optimization to solve the fluctuation in arrival times, which are represented by continuous variation uncertainties within a specific range. The effect of the tide time window was taken into account since it may induce the additional waiting time of vessels. To overcome the over-conservative problem caused by robustness, this paper constructed two types of TSRO models: uncertain set-induced and uncertain scenario-induced robust models.
The main contributions and innovations of this study are as follows:
  • A MIP model was constructed to solve the CBAP considering the influence of the tide time window, aiming to minimize the carbon emissions of waiting time, consume time, and the deviation to berth preference.
  • The deterministic model was extended to two types of TSRO models when the arrival time was uncertain.
  • Since the resulting models were challenging to solve, this paper investigated three PSO algorithms with improvements in their virtual time axis and a first-come-first-service (FCFS) approach.
The rest of this paper is organized as follows. Section 2 introduces the related work. Section 3 proposes a deterministic MIP model and two types of TSRO models. Section 4 presents efficient heuristic algorithms to solve the proposed models. The results of numerical experiments and relative analysis are given in Section 5. Section 6 concludes the paper.

2. Review of the Literature

Over the past few decades, research on BAP has aroused extensive attention from scholars [13]. For a comprehensive overview of BAP, the works given by Bierwirth and Meisel [14], Bierwirth and Meisel [15], and Rodrigues and Agra [16] provide more details. According to the spatiotemporal characteristics of vessels berthing under the wharf layout, the research on BAP can be divided into two categories: discrete berth and continuous berth. Discrete berth means that the wharf is divided into multiple units to serve one vessel at a time [17,18,19], while the latter concerns vessels that can berth anywhere on the quay and receive absolute service [20,21]. Compared to CBAP, the discrete berth allocation problem (DBAP) can simplify some attributes of vessels and berths to reduce the problem’s complexity but can still lead to the expense of under-utilized berthing resources [22]. Conversely, CBAP makes greater use of the shoreline and berth resources. Furthermore, some experts and scholars have also explored the influence of the tide time window [23]. With the rapid development of the shipping industry, researchers usually concentrate on BAP under deterministic conditions [24,25]. However, in the real world, various factors relating to the actual operation of the container terminal have a certain degree of randomness, such as weather conditions, facility failures, port congestion, ship arrival time, loading and unloading workload, routes, etc., all of which can lead to deviation in the arrival time of vessels. In general, the consideration of uncertainty in BAP decision-making is necessary. Therefore, more and more researchers are paying attention to this uncertainty area of BAP [26,27,28,29]. It is common to study the calling vessels’ uncertain arrival and operation times [30,31]. However, there are still some limitations in previous BAP studies considering uncertainty. Due to the lack of real-world data, the probability distribution of arrival time is difficult to estimate and replace the uncertainties. Therefore, it is necessary to find an appropriate approach to optimize the performance of BAP in an uncertain environment.
The RO approach is becoming a widespread approach when dealing with uncertainties in BAP. The RO theory was first proposed by Soyster [32] and then developed by Ben-Tal and Nemirovski [33] and Bertsimas and Sim [34]. After years of development, RO can now compensate for the limitations of other traditional optimization theories. Compared with the SP approach, RO does not need probability [35]. Even considering worst-case scenarios, it can maintain a high quality under uncertain parameter changes, including solution feasibility and target level [36]. The key to RO is presenting information on unknown parameters by a specific set [37,38,39]. RO has been used in BAP as an effective tool for solving optimization problems that are affected by uncertainty [40]. In research on issues related to BAP in uncertain environments, the uncertain parameter of the vessel arrival time is very common [30]. In the event of uncertainty about arrival times and operation times, Xu et al. [10] and Golias et al. [29] discussed RBAP. Xiang et al. [41] formulated a bi-objective RBAP model that focused on economic performance and customer satisfaction. Zhen et al. [6] proposed a two-stage model to solve berth allocation with the quay crane assignment (BACAP) problem while considering carbon emissions related to the quay crane (QC). They used the column generation algorithm to solve this model. Chargui et al. [42] considered the impact of energy drive changes on the port equipment influenced by operating costs, and a corresponding robust model for BACAP was proposed. The classification of some BAP in the literature under uncertainty is shown in Table 1. To save space, we used the acronyms in Appendix A.
To sum up, there have been many types of research on BAP. With uncertain factors’ increasing complexity and importance, berth allocation in uncertain environments often significantly affects decision-making risks and data. By summarizing and analyzing the relevant literature on the RO theory, we know that this method could effectively deal with BAP in an uncertain environment. However, there are still some research gaps in existing problems related to BAP in uncertain environments.
  • Few scholars have considered the impact of tidal conditions on the time window of vessels entering and leaving the port under uncertainty, which does not conform to the actual environment. Therefore, this paper considered the influence of tide and ensured that vessels could only berth or depart during the tide time window.
  • In terms of dealing with uncertainties, almost half of the papers used SP models, and some scholars proposed the RO approach to deal with BAP. However, it is undeniable that the classical RO model may be too conservative. Therefore, this study adopted TSRO to solve the problems and overcome the high cost of robustness.
  • Some researchers have proposed soft robust, and almost robust models to overcome conservatism, that is, using the scenario description method. Scenarios can be generated from historical data when the uncertain parameters’ probability distribution is unknown. However, this method usually requires many scenarios to capture parameter uncertainty. Since it may lead to a complex solution process, researchers usually select some scenarios based on general experience, from which it may be difficult to describe the uncertainty accurately. To overcome this problem, we used a data-driven approach to handle the historical data and construct the uncertain scenario set.

3. Berth Allocation Models

This study first introduces the DBAP model, then extends it to the two-stage robust optimization BAP (TSROBAP) models. The notations used in this paper are mainly listed as Abbreviations.

3.1. Problem Definition

The core of BAP is to determine the vessels’ berthing time and position [41]. CBAP means that the shoreline is continuous, and vessels can berth at any position within the shoreline. The vessel first berths at the anchorage before waiting for the arrangement. At this time, the vessel needs to start its auxiliary machine to maintain the crew’s electricity consumption, which can result in an emission of waiting time (WT). We define WT as the difference between the vessels’ estimated time of arrival (ETA) and their in-wharf time. During the vessels’ operation, shore power can provide electricity which is not considered. The shore power supply will be limited, however, as a resource in ports. Therefore, each vessel should have the latest shore power service time. When the vessel departs after this time, auxiliary engines must be activated to maintain the vessel’s consumption. Therefore, we defined consumed time (CT) as the tardiness of the vessels’ estimated time of departure. Furthermore, since each vessel’s containers would be transported to multiple and different container areas in the yard, the liners could arrange preferable berths for each vessel. Any deviation from this berth preference could result in lower operational efficiency and corresponding deviation emissions. Berth deviation (BD) presents the distance between the desirable berth and the vessel’s actual berth position. Detailed definitions of WT, CT, and BD are shown in Figure 1.
In addition, we considered two essential features in this study: the tide time window and stochastic fluctuation of the vessels’ arrival time. Since most ports’ depth could not meet the draft requirements of all vessels, the port authority might ask the vessel to conduct its in-wharf and out-wharf operation in the tide time window. Hence, we introduced the tide time window, which meant that vessels could only in-wharf or out-wharf in specific time windows. The vessel’s berthing process in the tidal terminal is shown in Figure 2. Another feature of the proposed CBAP model is the uncertainty of vessels’ arrival time. Though vessel owners may provide their expected time of arrival (ETA), vessels usually delay due to the influence of uncertainty, e.g., the weather or a technical fault. Therefore, fluctuation exists in the arrival time of vessels and affects the overall objective value. As shown in Figure 2, the planned berth time and place of Vessel 1 and Vessel 3 were disrupted by delays which increased carbon emissions. Therefore, this paper introduces the RO theory to consider how to keep the minimizing objective value in the worst situation. In order to solve our BAP, we considered the following basic assumptions.
  • The shoreline could be divided into several length units, and each vessel could berth at any position within the shoreline.
  • Each vessel had a desirable position; deviating from this position would result in additional deviation costs.
  • The planning period could be divided into several time units of equal length, and all vessels could only be in-wharf or out-wharf within the tide time window.
  • The operation time of each vessel started from the berthing time until the departure time without interruption, and all arriving vessels could only be served once.
  • The operation time of each vessel was known and could be completed on time.
  • The vessel operation process was unaffected by external disturbances such as sudden vessel accidents or adverse weather conditions.

3.2. DBAP

This paper first introduces the deterministic berth allocation problem (DBAP). The mathematical mixed integer programming model [ D B A P ] could be formulated as follows.
[ D B A P ] min i V [ c i 1 ( y i i n a i ) + c i 2 ( y i o u t e i ) + ] + i V d i | x i p i |
x i + l i L   i V
x i + l i x j + M ( 1 σ i , j )   i , j V ,   i j
y i o u t y j i n + M ( 1 δ i , j )   i , j V ,   i j
y i o u t y i i n + h i   i V
σ i , j + σ j , i + δ i , j + δ j , i = 2   i , j V ,   i j
a i y i i n   i V
y i i n t _ i , g M ( 1 ζ i , g i n )   i V ,   g G
y i i n t ¯ i , g + M ( 1 ζ i , g i n )   i V ,   g G
y i o u t t _ i , g M ( 1 ζ i , g o u t )   i V ,   g G
y i o u t t ¯ i , g + M ( 1 ζ i , g o u t )   i V ,   g G
g G ζ i , g i n = 1   i V
g G ζ i , g o u t = 1   i V
y i i n , y i o u t +   i V
x i +   i V
σ i , j { 0 , 1 }   i , j V ,   i j
δ i , j { 0 , 1 }   i , j V ,   i j
ζ i , g i n , ζ i , g o u t { 0 , 1 }   i V ,   g G
The objective function (1) was to minimize the total emissions of WT, CT and BD. Objective (1) contained three parts: the first part i V c i 1 ( y i i n a i ) was the weighted sum of all vessels’ emission of WT for in-wharf and berthing activity, the second part i V c i 2 ( y i o u t e i ) + was the weighted sum of emissions with respect to the vessels’ CT, and the third part i V d i · | x i p i | was the weighted sum of the emission of BD. Constraints (2)–(7) were the basic constraints for the CBAP. Constraint (2) ensured that each vessel could berth within the shoreline. Constraints (3) and (4) defined the order of vessels’ berthing position and time. Constraint (5) ensured that one vessel could only depart after completing its operation. Constraint (6) avoided time or position conflict between two vessels. Constraint (7) indicated that one vessel could only start its in-wharf process after its arrival. Constraints (8)–(13) were constraints on the tidal condition, which ensured that vessels’ in-wharf time and out-wharf time were in the tide time window. Constraints (12) and (13) ensured that each vessel could only berth or depart once during the tide time window. Constraints (14)–(18) were the domains of decision variables.
There were two non-linear forms ( ) + and | | in objective (1). Replace the un-linearized part ( y i o u t e i ) + with η i + , η i and replace part | x i p i | with U i , μ i + , μ i . Based on the above auxiliary variables, the linearized [ D B A P ] model was as follows:
[ D B A P ] min i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i ,
s.t. Constraints (2)–(18).
y i o u t e i = η i + η i   i V ,
x i p i U i x i p i + M μ i +   i V ,
p i x i U i p i x i + M μ i   i V ,
μ i + + μ i = 1   i V ,
η i + , η i +   i V ,
μ i + , μ i { 0 , 1 }   i V ,
U i +   i V .

3.3. TSROBAP

This section first constructs the general form of a TSRO model for the CBAP under uncertain vessel arrival time. Though the liners provide the port authority with an ETA, the actual arrival time could fluctuate due to uncertain conditions such as weather, port congestion, etc. Therefore, the port authority would require the crew to provide its arrival information according to the vessels’ position and navigation situation. The information provided by the crew was a relatively accurate time interval with higher reliability. According to the mentioned situation, this study considered the uncertainty of the vessel arrival time a i for vessel i . We introduced an uncertain variable a ˜ i , a ˜ i = a i + ξ i a ^ i , where a ˜ i represents the actual arrival time; ξ i is the fluctuation factor, ξ i [ 0 , 1 ] ; a ^ i is the perturbation of arrival time, a ^ i = ϖ a i , and ϖ is the disturbance ratio, ξ i a ^ i Z .
In order to measure the possibility of conflicts between the two vessels, researchers usually introduce the concept of a time buffer, as proposed by Xu et al. [10]. In this study, the time buffer is represented by θ i , as the difference between the in-wharf time y i i n of the following vessel j and the out-wharf time y i o u t of vessel i . According to the definition of the time buffer, we should rewrite constraint (4). We introduced φ i , j to identify vessels which may have conflicts, φ i , j = σ i , j δ i , j , i , j V , i j . In actual operations, the port authority could make a baseline schedule according to vessels’ ETA and calculate the corresponding θ i . If ( ξ i a ^ i θ i ) > 0 , there is a conflict between vessel i and the following vessels. Therefore, the port authority needs to improve the efficiency of the port to eliminate this conflict. This improvement could result in additional port operation equipment emissions, in the form of the recourse emissions of each vessel, denoted as r i . If ( ξ i a ^ i θ i ) < 0 ; this plan could be considered robust enough to deal with the fluctuation of uncertain arrival time, and there was no recourse emission. According to the definitions above, the [ T S R O B A P ] could be presented as follows:
[ T S R O B A P ] min { i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i + max ξ i U i V r i ( ξ i a ^ i θ i ) + } ,
s.t. Constraints (2), (3) and (5)–(25),
y i o u t + θ i y j i n + M ( 1 φ i , j )   i , j V ,   i j ,
φ i , j σ i , j   i , j V ,   i j ,
φ i , j δ i , j   i , j V ,   i j ,
φ i , j σ i , j + δ i , j 1   i , j V ,   i j .
The objective function (27) of this [ T S R O B A P ] model aimed to minimize the total cost under the worst-case situation, including the baseline planning costs in the first stage and the recovery costs in the second stage. The cost of the baseline schedule for the first stage consisted of two parts: the first part of the corresponding objective function i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] represented the emissions caused by the vessels’ WT and DT, and the second part i V d i U i represented the emissions of BD. The second stage was the recourse emissions of the delay caused by the uncertain arrival time of the vessels, which was the third part max ξ i U i V r i ( ξ i a ^ i θ i ) + in the objective function (27). The maximum operator max ξ i U ( ) refers to the baseline allocation scheme that resulted in the maximum recourse emissions within the uncertainty set of the uncertain arrival time. The sum of the three-emission minimum operator min { } can determine the final berth allocation plan with the minimum total emissions. Constraint (28) explained the time buffer, and Constraints (29)–(31) were the linearization function of φ i , j .
In addition, a non-linearization item ( ) + existed in Constraint (27). The un-linearized part ( ξ i a ^ i θ i ) + could be replaced with ϱ i + , ϱ i , and C max could be used to linearize max ξ i U i V r i ( ξ i a ^ i θ i ) + . Based on the above auxiliary variables, the linearized [ T S R O B A P ] model was as follows:
[ T S R O B A P ] min { i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i + C max } ,
s.t. Constraints (2), (3), (5)–(25) and (28)–(31).
ϱ i + ϱ i = ξ i a ^ i θ i   i V ,
ϱ i + , ϱ i +   i V ,
C max i V r i ϱ i + .
The uncertain variable ξ i is contained in Constraint (33). There are generally two methods to describe it: uncertainty sets and scenarios. The former considers the continuous change in uncertain variables and uses different types of uncertainty sets to represent uncertain variables; the latter considers several scenarios to describe uncertain variables. Two ways are introduced and constructed in our two robust programming models: a TSROBAP-based uncertainty set (TSROBAP-US) and a TSROBAP-based scenario (TSROBAP-S).

3.3.1. TSROBAP-US

This section applies the uncertainty set U to the classic robust optimization theory to describe ξ i . The robust counterpart could also be applied to formulate the TSROBAP-US. Firstly, standard uncertainty sets in robust optimization were introduced in this study, including box uncertainty sets, polyhedral uncertainty sets and ellipsoidal uncertainty sets. The box uncertainty set was the simplest form to solve, but it could easily lead to overly conservative solutions. A polyhedral uncertainty set was considered a particular form of an ellipsoidal set with linear structures, but it was difficult to reflect the correlation between uncertain parameters. The ellipsoidal uncertainty set could consider the probability of uncertainty occurrence to obtain better solutions, but this was harder to solve. Assuming the existence of an uncertain vector ξ with N elements, the form of the three uncertainty sets mentioned above could be represented as Formulas (36)–(38) [34,50,51]:
U B = U = { ξ : ξ Ψ } = { ξ : | ξ i | Ψ , i = 1 , , N } ,
U P = U 1 = { ξ : ξ 1 Γ , | ξ | e } = { ξ : i = 1 N | ξ i | Γ , | ξ | e } ,
U E = U 2 = { ξ : ξ 2 Ω } = { ξ : i = 1 N ξ i 2 Ω } ,
in which, Ψ , Γ and Ω represent the uncertain parameter of the box and polyhedral and ellipsoidal uncertainty sets, respectively, which can be used to control the uncertainty level. The robust Constraint (32) belongs to the right-hand side (RHS) type, and the basic form can be represented as Constraint (39):
i = 1 N w i x i b ˜ i ,
in which, w i presents the parameter vector, x i denotes the decision variable, and b ˜ i is the true value after disruption. Constraint (39) could be transformed into Constraint (40) with formula b ˜ i = b i + ξ i b ^ i
i = 1 N w i x i + [ max ξ U { ξ i b ^ i } ] b i .
Combined with Formulas (36)–(38), Constraint (40) could be presented as follows,
i = 1 N w i x i + Δ b ^ i b i ,
in which Δ could be replaced by Ψ , Γ and Ω according to the uncertainty set to be chosen. For the robust Constraint (32), the corresponding robust counterpart could be presented as:
ϱ i + ϱ i = Δ a ^ i θ i   i V ,
in which, Δ could be replaced by Ψ , Γ and Ω according to the uncertainty set to be chosen. With Constraint (42), the [ T S R O B A P U S ] could be represented as follows,
[ T S R O B A P U S ] min { i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i + max ξ i U i V r i ϱ i + } ,
s.t. Constraints (2), (3), (5)–(25), (28)–(31), (33)–(34) and (42).
The objective function (43) aimed to minimize the total emissions under worst-case situations, including the emissions of baseline planning in the first stage and the recourse emissions in the second stage. Similar to the objective functions (27) and (35), in function (43), the first part i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] and second part i V d i U i included the decision emissions for the first stage, and the third part max ξ i U i V r i ϱ i + represented the recourse emissions for the second stage. The third part’s U was selected according to the above three uncertainty sets, corresponding to the box uncertainty set U B , the polyhedral uncertainty set U P , and the ellipsoid uncertainty set U E , respectively. This part represented the allocation scheme that could result in maximum recourse emissions within the three uncertainty sets of an uncertain arrival time; that is, it corresponded with the worst-case situation.

3.3.2. TSROBAP-S

The scenario-based method is the most common tool for handling the BAP models under uncertainty [52]. This section uses scenarios as uncertainty factor descriptions to represent ξ i and construct [ T S R O B A P S ] models. The core idea of scenario-based robust programming is to assume a series of discrete scenarios to describe uncertainty. In this section, we assumed that the uncertainty set U s was known, in which S represented the set of uncertain scenarios indexed by s . The aforementioned [ T S R O B A P ] could be transformed into [ T S R O B A P S ] based on uncertain scenarios:
[ T S R O B A P S ] min { i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i + max ξ i s U s i V r i ( ξ i s a ^ i θ i ) + } min { i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i + C max } ,
s.t. Constraints (2), (3), (5)–(25) and (28)–(31).
ϱ i s + ϱ i s = ξ i s a ^ i θ i   i V , s S ,
ϱ i s + , ϱ i s +   i V , s S .
C max i V r i ϱ i s +   s S ,
The goal of the objective function (44) was to minimize the total emissions of the first and second stages under the worst scenario, which was similar to the objective function (27). Since the unlinearized form ( ξ i s a ^ i θ i ) + is contained in (44), we introduced positive variables ϱ i s + , ϱ i s to linearize ( ξ i s a ^ i θ i ) + , and used C max to replace max ξ i s U s i V r i ϱ i s + .
The traditional scenario-based RO models had some of the following problems [26]. When the sets of uncertainties considered were too large (e.g., the RO problem included all possibilities), the solutions could be conservative, resulting in a high price for decision-making. Therefore, this study introduced a weight for the worst-case scenarios of each uncertain set and calculated the weighted sum of these uncertain sets. We adopted a data-driven method, the K-means clustering, which used data from the vessel’s Automatic Identification System (AIS) to construct uncertain scenario sets and search the worst-case scenario of ξ i s a ^ i . The process of K-means clustering has been added to Appendix B. The dataset N was constructed by AIS alongside the schedule of liner companies. Next, K-means clustering was used to aggregate the dataset N into | S | non-overlapping sets, each of which could be considered as an uncertain scenario s of the vessel arrival time. Then, we introduced the weight parameter ς s , ς s = { ξ U s } , and [ T S R O B A P S ] , which could be presented as:
[ T S R O B A P S ] min i V [ c i 1 ( y i i n a i ) + c i 2 η i + ] + i V d i U i + s S ς s C s max ,
s.t. Constraints (2), (3), (5)–(25), (28)–(31) and (45)–(47),
C s max i V r i ϱ i s +   s S .

4. PSO Approaches

Since the proposed CBAP is an NP-hard problem, it is not easy to solve large-scale instances with CPLEX. Therefore, this paper could design a heuristic search method to solve the models mentioned above. Compared with other heuristic algorithms and machine learning approaches [53], the PSO algorithm could directly encode integers, and this was suitable for continuity problems to obtain an optimal solution faster [54]. Hence, we introduced the basic idea of PSO, and the variants investigated by Han et al. [55], Niu et al. [56], and Lu et al. [57] before making some improvements based on the above methods to solve our models. This paper investigated three improved PSO algorithms, including PSO, master-slave communication particle swarm algorithm (MCPSO), and expanded the master-slave communication particle swarm algorithm (EMCPSO) to handle the corresponding TSROBAP models. The improvements in our algorithms could be mainly described as follows:
  • A virtual continuous time axis has been constructed by discrete-continuous transformation for the tide time window, which is suitable for PSO to enhance the solution efficiency;
  • A first-come-first-service (FCFS) approach is proposed to provide an initial solution for PSO, which could further improve the convergence speed.
Section 4 is organized as follows: Section 4.1 describes the basic PSO algorithm and variants we refer to. Section 4.2 provides the solution representation and improvements of the PSO methods based on BAP. Initialize algorithm and example of the particles are presented in Section 4.3.

4.1. PSO Algorithms

This section describes the basic idea and framework of the PSO referred to by Han et al. [55] and two variants referred to by Niu et al. [56] and Lu et al. [57]. Assuming that a swarm contains P particles, which are served as search agents for a specific problem solution, the position of each particle p has D dimensions, and the value of D can be determined by the problem scale. The value of D is the number of vessels in this study. The initial position for each particle p is randomly generated. Each particle’s position can be considered a solution, and its fitness value can be calculated according to the objective function value. The fitness function is recorded as f ( ) . Each particle p has an individual best position, represented as p b e s t p , and the corresponding optimal value is f ( p b e s t p ) . The optimal position obtained by the algorithm is the global best position, recorded as G b e s t , and f ( G b e s t ) is the optimal value. For k t h iterations, the speed and position on each dimension d can be updated according to Formulas (50) and (51):
v p , d k + 1 = ω v p , d k + w 1 r 1 ( p b e s t p , d k x p , d k ) + w 2 r 2 ( G b e s t d k x p , d k ) ,
x p , d k + 1 = x p , d k + v p , d k + 1 .
Among them, ω , w 1 and w 2 are defined parameters. Where ω can be regarded as an inertia of the particle, w 1 and w 2 to determine the learning weights of the individual and global optimal, where r 1 and r 2 are random numbers generated in the range of [ 0 , 1 ] . The searching process of the PSO algorithm is shown in Figure 3. The speed of the particle p in the ( k + 1 ) t h iteration is determined by v p , d k , G b e s t and p b e s t p , which are also the three items in Formula (50).
According to the above formulas and process, the pseudocode of PSO algorithm is shown in Algorithm 1.
Algorithm 1: Particle Swarm Optimization
///* INITIALIZATION PROCESS START *///
For each particle p
  For each dimension d
  Initialize position x p , d 0 randomly within the permissible range
  Initialize velocity v p , d 0 randomly within the permissible range
///* INITIALIZATION PROCESS END *///
Iteration k = 1
While maximum iterations or stop criterion is satisfied.
  ///*ITERATION PROCESS START*///
  For each particle p
   Calculate fitness value f ( p )
   If fitness value f ( p ) is better than f ( p b e s t p ) in history
  Set the current fitness value as the f ( p b e s t p )
  Choose the particle having the best fitness value as the G b e s t
  For each particle p
  For each dimension d
    Calculate velocity according to the Formula (50)
    Update particle position according to the Formula (51)
   ///*ITERATION PROCESS END*///
   k = k + 1
Output G b e s t
The main disadvantage of the traditional PSO algorithm is that it tends to converge too fast and fall into a locally optimal solution. Given the above problem, this paper introduced the MCPSO algorithm. The MCPSO adopted in this research could refer to Niu et al. [56]. In this approach, a particle population consists of one master swarm and several slave swarms. The symbiotic relation-vessel between the master swarm and slave swarms can keep the right balance in exploration and exploitation, which are essential for the success of a given optimization task. Master-slave communication is used to assign fitness evaluations and maintain algorithm synchronization. Each salve swarm executes a single PSO algorithm or its variants, including the velocity update, and creates a new population. When all the slave swarms are ready with new generations, each slave swarm then sends the best local individual position to the master swarm. This study considered the MCPSO algorithm with one master swarm ( M ) and N slave swarm ( S ). For k t h iterations, the speed on each dimension d was updated according to Formula (53):
v p , d k + 1 ( M ) = ω v p , d k ( M ) + w 1 r 1 ( P b e s t p , d k ( M ) x p , d k ( M ) ) + Φ w 2 r 2 ( G b e s t d ( M ) x p , d k ( M ) ) + ( 1 Φ ) w 3 r 3 ( S b e s t d x p , d k ( M ) ) ,
in which, Φ is a migration factor and S b e s t is the best global optimal position. For a minimization problem, Φ can be given by,
Φ = { 0 0.5 1 f ( S b e s t ) < f [ G b e s t ( M ) ] f ( S b e s t ) = f [ G b e s t ( M ) ] f ( S b e s t ) > f [ G b e s t ( M ) ] .
The overall procedure of MCPSO is described in Algorithm 2.
Algorithm 2: Master-slave Communication PSO
///* INITIALIZATION PROCESS START *///
For each particle p
For each dimension d
For each Slave Swarm n
     Initialize position x p , d 0 ( n ) randomly within the permissible range
Initialize velocity v p , d 0 ( n ) randomly within the permissible range
f ( S b e s t )
Run initialization process for master swarm M
Iterator k = 1
///* INITIALIZATION PROCESS END *///
///*ITERATION PROCESS START *///
While maximum iterations or stop criterion is satisfied
For each Slave Swarm n
Run iteration process in Algorithm 1 for slave swarm n according to the Formula (52)
 Run iteration process in Alogorithm 1 for master swarm m according to the Formula (52)
For particle p in master swarm and slave swarm.
If f ( p ) < f ( S b e s t )
S b e s t p
 Update the velocity and position using Formula (52) above, respectively
k = k + 1
///* ITERATION PROCESS END *///
Output S b e s t
The EMCPSO algorithm [57] we referred to is an improvement of the MCPSO [56]. Lu et al. [57] proposed that when a sub-swarm falls into the local optimum, misinformation spreads quickly among the population, increasing the risk of premature convergence. Therefore, adopting a proper cooperating approach when using the multi-swarm technique is crucial. In the case of settling the above problem, Lu et al. [57] introduced a stagnation check for the original MCPSO to avoid it falling into a locally optimal solution. The stagnation check forced the particles to escape from the optimal local solution after a certain number of times and carried on a global search. The checker was denoted by θ n for each slave swarm n . During the iteration, when the optimal global value of each slave swarm was unchanged, θ n = θ n + 1 . When θ n was greater than the parameter Θ we were given in advance, the slave swarm was executed to jump out of the optimal local solution.
For this stagnation check measure, a probability p r o was first given. When the generated random number r a n d was less than this probability p r o , the position of this point changed to a new value within the range of random feasible solutions, as shown in the formula: x p , d k ( n ) = r a n d ( L d , U d ) . When the randomly generated random number r a n d was larger than this probability interval, x p , d k ( n ) took the position of S b e s t d and G b e s t d ( n ) in proportion to r d , x p , d k ( n ) = r d S b e s t d + ( 1 r d ) G b e s t d ( n ) . It could be seen from the structure that when the global search ability of the algorithm needed to be guaranteed, a smaller Θ and a larger p r o could be set, and when the algorithm needed to converge quickly, a larger Θ and a smaller p r o were required. In addition, δ f [ G b e s t ( n ) ] represented the variance of the optimal value of the slave swarm in each iteration, which could be calculated as follows for the k t h iteration:
δ f [ G b e s t ( n ) k ] = f [ G b e s t ( n ) k ] f [ G b e s t ( n ) k 1 ] .
The pseudocode of EMCPSO is shown in Algorithm 3.
Algorithm 3: Enhanced Master-slave Communication PSO
///* INITIALIZATION PROCESS START *///
Initialize populations (Initialization Process in Algorithm 2)
Iterator k = 1 , j = 1 , θ n = 0
f ( S b e s t )
Run initialization process for master swarm M
Iterator k = 1
///* INITIALIZATION PROCESS END *//////*ITERATION PROCESS START *///
While maximum iterations or stop criterion is satisfied,
For each Slave Swarm n
    Run iteration process in Algorithm 1 for slave swarm n according to the Formula (53)
Run iteration process in Alogorithm 1 for master swarm m according to the Formula (53)
For particle p in master swarm and slave swarm
        If f ( p ) < f ( S b e s t )
           S b e s t p
  ///* STAGNATION CHECKER START*///
  For each Slave Swarm n
  If  δ f [ G b e s t ( n ) ] = = 0
         θ n = θ n + 1
   If θ n Θ
    For each dimension d
      If r a n d < p r o
           x p , d k ( n ) = r a n d ( L d , U d )
        Else 
           x p , d k ( n ) = r d S b e s t d + ( 1 r d ) G b e s t d ( n )
       Else
           θ n = 0
   ///* STAGNATION CHECKER END*///
  Update the velocity and position of the using Formula (52) above, respectively
   k = k + 1
///* ITERATION PROCESS END *///
Output S b e s t

4.2. Solution Representation

Apart from the algorithms mentioned above, several developments were conducted due to the characteristics of the proposed model. Based on Guo et al. [58], PSO was more suitable for continuous problems. Since the tide time window was considered in our model, it was not suitable for the particles to perform a continuous movement in the iterative process, which could affect the efficiency of the algorithms. Therefore, this paper introduced the concept of the virtual time axis and actual time axis to improve the original algorithms. The length of the actual time axis was the original planning period. Since this article considered the tide time window, the actual time axis was divided into several time intervals, as shown in Figure 4. A particle p was searched on the actual time axis, but due to the continuity of particle motion, this particle inevitably entered the low tide time window. The vessel could not complete the in-wharf and out-wharf process in this non-tidal time window, resulting in invalid iterations. This situation is shown in the position of x p , d k + 1 and x p , d k + 4 in the actual time axis within Figure 4. These invalid iterations affected the convergence efficiency of the algorithms. This study solved this problem by introducing the virtual time axis. For each vessel, the corresponding tide time length was g G ( t ¯ i , g t _ i , g ) . As shown in Figure 5, the non-tidal time window was removed from the actual time axis, and the feasible tide time window was retained as the virtual time axis.

4.3. Population Initialization

In addition to the above improvements, the initialization process of PSO (see Algorithms 1–3 for detailed steps) also played a vital role in the algorithm’s efficiency. In order to avoid invalid iterations and an uncertain solution time generated by the arbitrary initial solution generation rule, this paper made some restrictions to the feasible space of initial solution generation to reduce the iterative steps of the algorithm.
  • For any vessel i , the berth position was generated x i , x i = r a n d ( 0 , L l i ) , where r a n d ( ) refers to a random number.
  • For any vessel i , the left bound and upper bound of its berth time y i i n on the actual time axis should be [ a i , T ] . Due to the possibility that the vessel arrival time a i might not fall within the tide time window and the large range of the upper bound of T , we, therefore, considered the nearest tide time window’s start time and end time to a i as the upper and lower bounds for the generated variable y i i n .
For any vessel i , the left bound and upper bounds of the departure time on the actual time axis should be [ y i i n + h i , T ] . However, due to the possibility that y i i n + h i might not fall within the tie time window and the issue of a potentially large range of the upper bound of T , we considered the nearest tie time window’s start time and end time to y i i n + h i as the upper and lower bounds for the generated departure time y i o u t .
In addition to particle generation, the initial position played a crucial role in guiding the convergence of the PSO algorithm; it directly influenced the velocity update direction of all particles, as observed in Equations (51)–(53). Therefore, this paper introduced the FCFS algorithm to generate a feasible solution that served as the initial global best solution for the PSO algorithm. The steps of FCFS are presented as follows:
  • According to the arrival time of vessel i , calculate the earliest in-wharf time window and denote it as the vessel’s berth time y i i n .
  • According to the berth time and operation time of vessel i , calculate the earliest out-wharf time window and denote it as the vessel’s depart time y i o u t .
  • The berth position x i of vessel i is generated as follows. Sort the vessels in the order of arrival time from the berth position 0. When berth position exceeds the difference between berth length L and the max vessel length l i , the berth position can be generated again from position 0.

5. Numerical Experiment

Extensive numerical experiments were conducted to validate the performance of the proposed models and algorithms. The model validation of the experiment was performed by invoking the CPLEX 12.10 solver through programming and solving in C++ (Visual Studio). This algorithm was implemented using Python 3.8 for relevant program development. All written programs were executed and processed on a PC with the following configuration: 3.60 GHz Intel(R) Core™ i7-12700K CPU and 32 GB DDR4 2666 MHz RAM. Section 5 was organized as follows: Section 5.1 describes how to generate the instances; Section 5.2 compares different models; Section 5.3 provides an algorithm comparison; Section 5.4 takes the sensitivity analysis.

5.1. Instance Generation

Instance-Related Parameters. The planning horizon T = 168 . The shoreline length was L = 180 with a unit length of 10 m. The length of vessel i was denoted as l i + , l i U ( 16 , 40 ) . The operation time of vessel i was denoted as h i + , h i U ( 5 , 10 ) . The ETA was a i U ( 1 , 168 ) , a i + . The e i was generated according to the following rules: e i = a i + h i + ξ , in which ξ [ 0 , 10 ] . The expected berth position was p i [ 0 , L max ( l i ) ] . The three emission coefficients c i 1 , c i 2 , and d i , were randomly generated integers within the range [ 1000 , 2000 ] . The table of the tide time window used in this study was compiled based on publicly available information. It was derived from the tidal height data of Shanghai Yangshan Port from 1 February 2023 to 7 February 2023. We considered a randomly generated integer within the range of [ 200 , 300 ] for the vessel draft. Correspondingly, the arrival and departure time window [ t _ i , g , t ¯ i , g ] could be calculated based on the draft and the tide time window, as shown in Appendix C.
Uncertainty-Related Parameters. The recourse emission was r i [ 2000 , 3000 ] . The uncertainty set was determined by comparing the historical actual arrival information of domestic liner routes with the ETA data provided by liner companies in their vessel schedules. The AIS data were sourced from Vesselxy, which contained the navigation records of the majority of domestic vessels. The ETA data for vessels were sourced from the Pan Asia Vesselping Schedule. The data used in this study covered the time range from 1 February 2023 to 7 February 2023. In the [ T S R O B A P U S ] models based on the box set U B , the polyhedral set U P , and ellipsoid set U E , we excluded outliers (i.e., consider 90% of the voyage records) and rounded the values. We calculated that the fluctuation range in the vessel’s arrival time was approximately within a range of plus or minus 5 h. Therefore, we set the uncertainty level parameter at five for the three uncertainty sets, i.e., Ψ = Γ = Ω = 5 . In the [ T S R O B A P S ] model based on uncertain scenarios, we calculated the uncertainty set based on Constraints (47) and (50). We used the K-means clustering data-driven method to aggregate scenarios, resulting in a total of | S | = 10 uncertain scenarios. The sample set was constructed from the fluctuation values of the arrival time and preprocessed using AIS data and the Pan Asia Vesselping Schedule for the period from 1 February 2023 to 7 February 2023.
PSO-Related Parameters. The algorithm parameter settings mentioned above are presented in Table 2. As for the termination criterion, this study stated that the algorithm would stop if the global best value remained unchanged after 60 iterations.
For the problem scale, this study utilized a number of vessels as a parameter to control the scale of the problem instances. Four problem instances with different scales were considered, where the vessel quantities were chosen as | V | { 10 , 15 , 20 , 25 } and denoted as G1, G2, G3, and G4, respectively. Table 3 provides an overview of these problem instances.

5.2. Model Performance

5.2.1. Comparison with Deterministic Model

First, we compared the solutions obtained from the two-stage robust optimization and deterministic models. Figure 5 presents a schematic representation of the solutions obtained from the deterministic model and the two-stage extended robust model based on uncertain scenarios and considering an instance with 10 vessels. The solid black line represents the berth allocation results from the deterministic model. In contrast, the dashed red line segments represent the specific berth allocation scheme obtained from the two-stage extended robust model based on uncertain scenarios. Before comparing the algorithms, the solution results of different models were compared.
Figure 5 shows the solution results of an instance considering 10 vessels. The robustness of this model was verified by comparing the deterministic and robust models. The red dashed line is the specific assignment result obtained from the robust model, and the solid black line is the model result obtained from the deterministic model. As shown in Figure 6, the time buffer between the vessels obtained from the robust model was larger than the deterministic model. In addition, the robust model adjusted the specific vessel distribution (e.g., Vessel #2, Vessel #9) compared to the deterministic model. This was in order to cope with possible vessel conflicts. Again, this adjustment led to a large value in the objective function of the robust model.

5.2.2. Comparison between Uncertain Models

In order to compare the two robust methods of constructing models, the concept of difference is introduced in this section. The deviation values of the objective function and the solution time are compared between the two models. The formulae are shown in Equations (54) and (55), respectively:
D i f f 1 = D i f f e r e n c e model 2 model 1 = ( o b j model 1 o b j model 2 ) o b j model 2 × 100 %
D i f f 2 = D i f f e r e n c e model 2 model 1 = ( C P U   t i m e model 1 C P U   t i m e model 2 ) C P U   t i m e model 2 × 100 %
The case sizes G1, G2, G3, and G4 correspond to the number of vessels | V | { 10 , 15 , 20 , 25 } . For example, case number G1-1 represents the first case of 10 vessels. From the comparison of solution times, the EMCPSO extended the master-slave parallel collaborative PSO algorithm, which was used uniformly for model solutions. The time consumed by aggregating the uncertainty set and using the K-means clustering method in the first stage was separate from the subsequent solution time. Only the time used by the models in the solution phase was compared. The final comparison between the two robust models in terms of objective function values and solution times is shown in Table 4 below.
When comparing the objective function values, the values of the [ T S E R O B A P S ] model were lower than those of the [ T S R O B A P U S ] model. The deviation value Diff 1 between them was in the range [ 9.3 % , 1.6 % ] . Based on this result, there was no significant difference in the objective function values between the two two-stage robust planning models.
In the comparison of the solution time, the solution time of the [ T S E R O B A P S ] model differed from the solution time deviation value Diff 2 of the [ T S R O B A P U S ] model within the range [ 23.4 % , 34.9 % ] . The value of this deviation value fluctuated widely. Based on this result, there was no significant computation time pattern between the two-stage robust planning models.

5.3. Algorithm Peroformance

5.3.1. Comparison with CPLEX

In this section, the validation of the models studied in this chapter was carried out by the CPLEX solver. The solution results are shown in Table 5. Meanwhile, the TSRO models’ experiment with the three PSO algorithms was used to evaluate the performance of the improved algorithms. This section mainly compares the final objective function values, the solution time, and the iteration efficiency.
In addition, since the initial particles of the particle swarm optimization algorithm were randomly generated, it led to a certain degree of randomness in performance fluctuations during the algorithm’s operation. Therefore, in this study, to eliminate the fluctuations caused by the initialization of particles to some extent, we computed each arithmetic case three times. Moreover, the three times calculated for each algorithm’s arithmetic case were taken as the average value for the final algorithm performance. In order to present these conclusions intuitively, the concept of Gap was introduced in this study to measure the accuracy difference between the three particle swarm optimization algorithms and the CPLEX solution results. The gap was calculated as shown in the following equation.
G a p = ( O B J M e t h o d 1 O B J M e t h o d 2 ) O B J M e t h o d 2 × 100 %
Based on these results in Table 5, we can draw several conclusions as follows:
The CPU time used to solve the proposed models using PSO, MCPSO and EMCPSO was much faster than that used to solve the models directly by CPLEX. When the problem size of instances became larger, the CPU time of CPLEX also increased rapidly. In contrast, the CPU time for solving the models remained relatively stable for the three PSO algorithms.
The performance of three different PSO algorithms is compared. PSO was more efficient and advantageous in small problem sizes. MCPSO and EMCPSO performed better on medium and larger problem sizes, while MCPSO demonstrated a faster solution speed, and EMCPSO had a higher solution accuracy.
Due to the algorithms’ limitations, PSO could fall into local optimum solutions. For example, in cases G3-1 and G4-2 of Table 5, the optimal solutions solved by PSO had a gap value greater than 10% compared with the target value obtained by CPLEX. For MCPSO, there was also the case of falling into an optimal local solution, as shown in example G3-2 of Table 5. However, EMCPSO did not fall into a locally optimal solution in the test data. Therefore, EMCPSO performed better in finding the global optimum. Due to the stagnation check mechanism, the optimal solutions found by EMCPSO were generally the most similar compared to the value obtained by CPLEX.
To calculate the iterative efficiency, the first group of each algorithm (i.e., G1-1, G2-1, G3-1, and G4-1) was chosen to observe its convergence rate. We took the optimal value of every five iterations for a more straightforward presentation. The specific results are shown in Figure 6.
The number of iterations in the figure was interpreted: as the number of iterations when the last of the three PSO algorithms reached the global optimum for the first time. For example, the results in Figure 6a are selected at 40 iterations because the number of iterations when the EMOCPSO algorithm with the slowest solution result reached the global optimum for the first time was 42, and the value of 40 iterations was taken for display. Combining Figure 6 with the final values in Table 5 shows that the basic PSO algorithm had the fastest iterative convergence rate overall. However, it tended to fall into local optimal solutions, affecting the efficiency of the algorithm. As shown in Figure 6b, the trend of the solution results of PSO was between 40 and 50 iterations, and in Figure 6d, the trend of the solution results was after 50 iterations. For EMCPSO, particles could jump out of the local optimal solution. This phenomenon was particularly evident for the large problem size. Figure 6d shows three instances of jumping out of the EMCPSO algorithm after falling into a local optimum. Moreover, the optimal solution result was finally obtained.

5.3.2. Comparison with Traditional PSO

Compared with the traditional PSO, two main improvements (virtual time axis and FCFS generation) were considered in this paper. The comparison in this section could also be measured regarding the specific performance of these two improvements. Moreover, a comparison was made regarding the number of iteration steps and the CPU time.
For the virtual time axis, the comparison results of the subgroups are shown in Figure 7. Since the concept of a virtual time axis aims to reduce the number of iteration steps in the algorithm, Figure 7a–d shows the number of iterations for instances G1-1, G2-1 and G3-1, G4-1, respectively. Among these, an unimproved algorithm with 200 iterations appeared in Figure 7c,d. This case meant that the number of iterations in the algorithm exceeded the upper limit. Moreover, the Gap between the final G b e s t and CPLEX solution result was more than 30%. From Figure 7a,b, the virtual time axis reduced the number of iterations in the algorithm by about 50%. This could significantly improve the efficiency of the algorithm.
For the FCFS method comparison, the best position of the initially generated cluster was compared to the global optimum. To improve FCFS, it provided an initial optimal solution that was a better feasible solution for all particles in the swarm. Therefore, its main contribution was to save the overall solving time of the algorithm. Similarly, the comparison of CPU time is shown in Figure 8. It shows that the solution time of the algorithms with the FCFS improvement was significantly less than that of the algorithms without FCFS improvement. For each type of PSO, the strategy of FCFS to generate the initial solution could effectively reduce the CPU time of the algorithms. The algorithm improvement proposed in this paper is, therefore, significantly beneficial.

5.4. Sensitivity Analysis

For the disturbance of uncertain factors, different TSRO models could be affected to different degrees and correspondingly produce different amplitudes. In order to evaluate the robustness of the TSRO models and the effectiveness of the solution methods, this section first studies the impact of the degree of uncertainty in the container loading and unloading time on the decision-making of [ T S R O B A P U S ] , and then studies the fluctuation in the number of uncertain scenarios that could affect the [ T S E R O B A P S ] model. The sensitivity analysis in this section mainly compares the objective function values of different models.
To evaluate the effectiveness and the [ T S R O B A P U S ] model’s robustness, this section examines how the handle time uncertainty affected our decisions. We compared the [ D B A P ] and robust model [ T S R O B A P U S ] . Moreover, carried out a sensitivity analysis of the vessel’s container loading and unloading operation time hi. We introduced the sensitivity analysis parameter ϵ , ϵ { 1 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 } and considered the variation in the objective function value and the buffer time mean value θ i ¯ . The sensitivity analysis results are shown in Figure 9. The objective function values of the two models increased when the perturbation ϵ in the container handling operation time of the vessel increased. Unlike the deterministic model, the robust model might have a situation where the objective function value remains constant. This phenomenon was observed for all four case sizes, as shown in Figure 9a–d. This phenomenon showed that the solution results of the TSRO model itself could cope with the particular risk of uncertainty fluctuations.
In addition, the assessment of the buffer time meant that θ i ¯ was also a critical factor in evaluating the solution’s risk resistance. From Figure 9, the mean buffer time θ i ¯ of the deterministic model was significantly smaller than that of the robust model θ i ¯ . Although a shorter buffer time brought a smaller value to the objective function, the solution of the deterministic model could also be subject to the risk of fluctuation due to higher uncertainty.
The number of scenes is an essential parameter in the scenario-oriented [ T S E R O B A P S ] model. This parameter directly affects the final result of the objective function. To evaluate the impact of the number of uncertain scenarios on the final results of the model, this paper considered the variation in the objective function when the number of uncertain scenarios was, i.e., | S | { 5 , 10 , 15 , 20 } . The results of this analysis are shown in Figure 10. In terms of trend, when the number of scenarios increased, the function value gradually decreased. The reason for this phenomenon was that when the number of uncertainties increased, the probability of the worst scenario was more accurate. In other words, more uncertain scenarios could accurately identify the probability of each worst-case and give a more accurate weight ς k . At the same time, it gave a smaller robust solution to the objective function.

6. Conclusions

In this paper, the CBAP considered the tide time window and uncertain arrival time. A variety of three improved PSO algorithms were used to solve the models. At the same time, several improved methods for PSO were created, and numerical examples of different instances were used to verify the effectiveness of the algorithm. The main results of this paper are as follows:
  • A deterministic MIP model can be constructed to solve the CBAP under tidal conditions, aiming to minimize the carbon emissions caused by waiting time, consumed time and the deviation to berth preference.
  • According to real situations in the daily operation of the terminal, this study took vessels’ arrival time as the uncertainty factor to formulate the models. The results have practical significance.
  • Both the uncertainties sets and uncertain scenarios were considered in this paper to construct the two-stage robust optimization models. Robust counterpart constraints were applied to transfer the deterministic MIP model into robust programming models according to corresponding theories.
  • Three different improved PSO algorithms with enhancements were used to solve the mentioned problems. The characteristics were summarized through the comparison between the algorithms. This contribution could provide a reference for subsequent scholars engaged in related fields.
  • The variance in the objective value of the robust models, when the uncertainty fluctuates, is compared. Based on the results, our models have a certain ability to resist unknown risks.
However, this study also has several limitations. For example, there are occasionally extreme uncertainty situations in real life, such as the inability of the vessel to berth or a change in the port of call. The occurrence of this situation would also have a significant impact on the daily operation of the port. There are more uncertain parameters that could affect the BAP, such as facilities interruption, channel capacity, weather conditions, etc. In addition, the port and academic community could also gradually shift their focus to other sources of terminal carbon emissions. These will become the focus of our future research.

Author Contributions

All the authors contributed to the conceptualization, formal analysis, investigation, methodology, and writing (original draft, review, and editing). All authors have read and agreed to the published version of the manuscript.

Funding

This study is supported by the Shanghai philosophy and social science fund under grant 2022ZGL005.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data developed in this study will be made available upon request to the corresponding author.

Acknowledgments

We would like to express our sincere gratitude to the editor and anonymous referees for their insightful and constructive comments that substantially improved this paper. In addition, we would like to express our deep gratitude to the our colleagues at Shanghai University of Engineering Science for their helpful and constructive suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

Indices, Sets and Parameters
V set of vessels, indexed by i and j .
T set of planning time, indexed by t .
G set of tide cycles, indexed by g .
L length of the shoreline.
l i vessel length of vessel i .
h i operation time of vessel i .
p i preferable berthing position of vessel i .
a i estimated arrival time of vessel i .
e i latest shore power using time of vessel i .
c i 1 emission index of auxiliary machine of vessel i in waiting time.
c i 2 emission index of auxiliary machine of vessel i in consuming time.
d i the cost of berth deviation of vessel i .
[ t _ i , g , t ¯ i , g ] berthing time window for vessel i in the g t h tide.
M a sufficiently large positive number.
Decision Variable
x i integer, represents the berthing position of vessel i .
y i i n integer, berthing time of vessel i .
y i o u t integer, departure time of the vessel i .
σ i , j binary, equals one if vessel i berths on the left of vessel j , and zero otherwise.
δ i , j binary, equals one if vessel i berths before vessel j , and zero otherwise.
ζ i , g i n binary, equals one if in-wharf time of vessel i is in the berthing time window of the g t h tide cycle.
ζ i , g o u t binary, equals one if out-wharf time of vessel i is in the departing time window of the g t h tide cycle.

Appendix A. Acronyms of Table 1

We followed the considered type of layout provided by Bierwirth and Meisel [14]: discrete (D) and continuous (C). We identified the two most common uncertain parameters, i.e., arrival time (AT) and operation time (OT). For the decision variable, we identified the three most common items, i.e., berthing time (BT), departure time (DT) and berth position (BP). The service level of the ports, waiting time (W), was the difference between the expected arrival time and the actual berthing time of the vessel; handling time (H), which is also known as the operation time, corresponded to the difference between the starting time and the ending time of the operation of vessel; completion time (C) corresponded to the difference between the vessel’s arrival time and its ending time of the operation; tardiness (T) was the delay caused by a larger completion time than the expected time of departure; deviation from desirable berth position (P), corresponded to either a deviation from a lower cost position or previously arranged position. We considered two common models to solve the uncertain problem, including stochastic programming (SP) and robust optimization (RO). We identified the solution algorithms used for solving the problem. The operator ‘+’ means a combination of methods; the operator ‘A(B)’ means that method ‘B’ is used inside ‘A’; the operator ‘,’ indicates the use of independent methods; and the operator ‘A → B’ indicates that method ‘A’ is used to obtain ‘B’. Acronyms: SA—simulated annealing; B&B—branch-and-bound; EA—evolutionary algorithm; PFE—Pareto front estimation; MCS—Monte Carlo simulation; HA—heuristic algorithm; GWO—grey wolf optimization; LS—local search; RCEH—recovery cost estimation heuristic; SOH—simulation-optimization heuristic; RHH—rolling horizon heuristic; C&CG—column-and-constraint generation; PSO—particle swarm optimization; GA—genetic algorithm; ML—machine learning.

Appendix B. K-Means Clustering

Algorithm A1: K-Means Clustering
Input: Data Set N , Number of Centroids | S | ,
///* INITIALIZATION PROCESS START *///
Choose | S | points in N as centroids μ 1 , , μ s
///* K-MEANS PROCESS START *///
While ( μ 1 , , μ s remains unchanged)
For point n in N
  For centroid s
    Calculate the distance l n , s from n to s
  End For
  Put n into Ω s with the shortest min l n , s  
  End For
  For centroid s in | S | :
   Update μ 1 , , μ s according to Ω s  
  End For
///* K-MEANS PROCESS END *///
Output: position of centroids μ 1 , , μ s , clustering sets Ω 1 , , Ω s , where s S | Ω s | = | N | , Ω s N ,

Appendix C. Tide Time Window

The tide time window used in this study was compiled according to the public information of Shanghai Yangshan Port from 1 February 2023 to 7 February 2023.
PlanningD1D2D3D4D5D6D7
Tide
0153205265322368394404
1129159206262316362394
2126126147189241293339
3148116108122158207258
4195133948193124169
525417811370556596
631424516699533545
73613182501721025228
838637733927620013075
9386409404372319251182
10360412436433409367312
11315383433457457439409
12263329392439465470459
13214265325382427455468
14177203248301353396427
15157154178218264310352
16160127125148183223262
171891289797118149183
18233167110787490116
19275227170116776267
2030328424820014910268
21310321315290250201148
22293332350352338306261
23253312355378384377354

References

  1. Mehregan, E. Designing a sustainable development model with a dynamic system approach. NeuroQuantology 2022, 20, 8143–8164. [Google Scholar]
  2. Kler, R.; Gangurde, R.; Elmirzaev, S.; Hossain, M.S.; Vo, N.V.; Nguyen, T.V.; Kumar, P.N. Optimization of Meat and Poultry Farm Inventory Stock Using Data Analytics for Green Supply Chain Network. Discret. Dyn. Nat. Soc. 2022, 2022, 8970549. [Google Scholar] [CrossRef]
  3. Dang, T.-T.; Nguyen, N.-A.-T.; Nguyen, V.-T.-T.; Dang, L.-T.-H. A Two-Stage Multi-Criteria Supplier Selection Model for Sustainable Automotive Supply Chain under Uncertainty. Axioms 2022, 11, 228. [Google Scholar] [CrossRef]
  4. Jiang, M.; Feng, J.; Zhou, J.; Zhou, L.; Ma, F.; Wu, G.; Zhang, Y. Multi-Terminal Berth and Quay Crane Joint Scheduling in Container Ports Considering Carbon Cost. Sustainability 2023, 15, 5018. [Google Scholar] [CrossRef]
  5. Global CO2 Emissions from Transport by Sub-Sector in the Net Zero Scenario, 2000–2030 [EB/OL]. [2020-11-16]. Available online: https://www.iea.org/data-and-statistics/charts/global-co2-emissions-from-transport-by-sub-sector-in-the-net-zero-scenario-2000-2030 (accessed on 22 September 2022).
  6. Zhen, L.; Sun, Q.; Zhang, W.; Wang, K.; Yi, W. Column Generation for Low Carbon Berth Allocation under Uncertainty. J. Oper. Res. Soc. 2021, 72, 2225–2240. [Google Scholar] [CrossRef]
  7. Peng, Y.; Wang, W.; Liu, K.; Li, X.; Tian, Q. The Impact of the Allocation of Facilities on Reducing Carbon Emissions from a Green Container Terminal Perspective. Sustainability 2018, 10, 1813. [Google Scholar] [CrossRef] [Green Version]
  8. Qu, S.; Shu, L.; Yao, J. Optimal Pricing and Service Level in Supply Chain considering Misreport Behavior and Fairness Concern. Comput. Ind. Eng. 2022, 174, 108759. [Google Scholar] [CrossRef]
  9. He, Q.; Xia, P.; Hu, C.; Li, B. Public Information, Actual Intervention and Inflation Expectations. Transform. Bus. Econ. 2022, 21, 644–666. [Google Scholar]
  10. Xu, Y.; Chen, Q.; Quan, X. Robust Berth Scheduling with Uncertain Vessel Delay and Handling Time. Ann. Oper. Res. 2012, 192, 123–140. [Google Scholar] [CrossRef]
  11. Sheikholeslami, A.; Iiati, G.; Kobari, M. The Continuous Dynamic Berth Allocation Problem at a Marine Container Terminal with Tidal Constraints in the Access Channel. Int. J. Civ. Eng. 2014, 12, 344–353. [Google Scholar]
  12. Segura, F.G.; Segura, E.L.; Moreno, E.V.; Uceda, R.A. A Fully Fuzzy Linear Programming Model to the Berth Allocation Problem. In Proceedings of the 2017 Federated Conference on Computer Science and Information Systems (FedCSIS), Prague, Czech Republic, 3–6 September 2017; pp. 453–458. [Google Scholar]
  13. Guo, L.; Zheng, J.; Du, H.; Du, J.; Zhu, Z. The Berth Assignment and Allocation Problem Considering Cooperative Liner Carriers. Transp. Res. Part E Logist. Transp. Rev. 2022, 164, 102793. [Google Scholar] [CrossRef]
  14. 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]
  15. Bierwirth, C.; Meisel, F. A follow-up survey of berth allocation and quay crane scheduling problems in container terminals. Eur. J. Oper. Res. 2015, 244, 675–689. [Google Scholar] [CrossRef]
  16. Rodrigues, F.; Agra, A. Berth allocation and quay crane assignment/scheduling problem under uncertainty: A survey. Eur. J. Oper. Res. 2022, 303, 501–524. [Google Scholar] [CrossRef]
  17. Ting, C.-J.; Wu, K.-C.; Chou, H. Particle swarm optimization algorithm for the berth allocation problem. Expert Syst. Appl. 2014, 41, 1543–1550. [Google Scholar] [CrossRef]
  18. Agra, A.; Oliveira, M. MIP approaches for the integrated berth allocation and quay crane assignment and scheduling problem. Eur. J. Oper. Res. 2018, 264, 138–148. [Google Scholar] [CrossRef] [Green Version]
  19. 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]
  20. Hendriks, M.; Laumanns, M.; Lefeber, E.; Udding, J.T. Robust cyclic berth planning of container vessels. OR Spectr. 2010, 32, 501–517. [Google Scholar] [CrossRef] [Green Version]
  21. Mauri, G.R.; Ribeiro, G.M.; Lorena, L.A.N.; Laporte, G. An adaptive large neighborhood search for the discrete and continuous berth allocation problem. Comput. Oper. Res. 2016, 70, 140–154. [Google Scholar] [CrossRef]
  22. Kim, K.H.; Moon, K.C. Berth scheduling by simulated annealing. Transp. Res. Part B Methodol. 2003, 37, 541–560. [Google Scholar] [CrossRef]
  23. Sheikholeslami, A.; Ilati, R. A sample average approximation approach to the berth allocation problem with uncertain tides. Eng. Optim. 2018, 50, 1772–1788. [Google Scholar] [CrossRef]
  24. Zhen, L.; Liang, Z.; Zhuge, D.; Lee, L.H.; Chew, E.P. Daily berth planning in a tidal port with channel flow control. Transp. Res. Part B Methodol. 2017, 106, 193–217. [Google Scholar] [CrossRef]
  25. Hsu, H.-P.; Chiang, T.-L.; Wang, C.-N.; Fu, H.-P.; Chou, C.-C. A Hybrid GA with Variable Quay Crane Assignment for Solving Berth Allocation Problem and Quay Crane Assignment Problem Simultaneously. Sustainability 2019, 11, 2018. [Google Scholar] [CrossRef] [Green Version]
  26. Xiang, X.; Liu, C. An expanded robust optimisation approach for the berth allocation problem considering uncertain operation time. Omega 2021, 103, 102444. [Google Scholar] [CrossRef]
  27. Xiang, X.; Liu, C. An almost robust optimization model for integrated berth allocation and quay crane assignment problem. Omega 2021, 104, 102455. [Google Scholar] [CrossRef]
  28. Zhen, L.; Zhuge, D.; Wang, S.; Wang, K. Integrated berth and yard space allocation under uncertainty. Transp. Res. Part B Methodol. 2022, 162, 1–27. [Google Scholar] [CrossRef]
  29. Golias, M.; Portal, I.; Konur, D.; Kaisar, E.; Kolomvos, G. Robust berth scheduling at marine container terminals via hierarchical optimization. Comput. Oper. Res 2014, 41, 412–422. [Google Scholar] [CrossRef]
  30. Ursavas, E.; Zhu, S.X. Optimal policies for the berth allocation problem under stochastic nature. Eur. Oper. Res. 2016, 255, 380–387. [Google Scholar] [CrossRef]
  31. Liu, C.; Xiang, X.; Zheng, L. Two decision models for berth allocation problem under uncertainty considering service level. Flex. Serv. Manuf. J. 2017, 29, 312–344. [Google Scholar] [CrossRef]
  32. Soyster, A.L. Convex programming with set-inclusive constraints and application to inexact linear programming. Oper. Res. 1973, 21, 1154–1157. [Google Scholar] [CrossRef] [Green Version]
  33. Ben-Tal, A.; Nemirovski, A. Robust solutions of uncertain linear programs. Oper. Res. Lett. 1999, 25, 1–13. [Google Scholar] [CrossRef] [Green Version]
  34. Bertsimas, D.; Sim, M. The price of robustness. Oper. Res. 2004, 52, 35–53. [Google Scholar] [CrossRef] [Green Version]
  35. Ji, Y.; Ma, Y. The Robust Maximum Expert Consensus Model with Risk Aversion. Inf. Fusion 2023, 99, 101866. [Google Scholar] [CrossRef]
  36. Bell, W.J.; Dalberto, L.M.; Fisher, M.L.; Greenfield, A.J.; Jaikumar, R. Improving the Distribution of Industrial Gases with an On-Line Computerized Routing and Scheduling Optimizer. Interfaces 1983, 13, 4–23. [Google Scholar] [CrossRef]
  37. Huang, R.; Qu, S.; Yang, X.; Liu, Z. Multi-stage distributionally robust optimization with risk aversion. Ind. Manag. Opt. 2019, 10, 34–39. [Google Scholar] [CrossRef] [Green Version]
  38. Ji, Y.; Du, J.; Wu, X.; Qu, D.; Yang, D. Robust optimization approach to two-echelon agricultural cold chain logistics considering carbon emission and stochastic demand. Environ. Dev. Sustain. 2021, 23, 13731–13754. [Google Scholar] [CrossRef]
  39. Ji, Y.; Du, J.; Han, X.; Wu, X.; Huang, R.; Wang, S.; Liu, Z. A mixed integer robust programming model for two-echelon inventory routing problem of perishable products. Phys. A Stat. Mech. Its Appl. 2020, 548, 124481. [Google Scholar] [CrossRef]
  40. Goh, J.; Sim, M. Robust optimization made easy with ROME. Oper. Res. 2011, 59, 973–985. [Google Scholar] [CrossRef]
  41. Xiang, X.; Liu, C.; Miao, L. A bi-objective robust model for berth allocation scheduling under uncertainty. Transp. Res. Part E Logist. Transp. Rev. 2017, 106, 294–319. [Google Scholar] [CrossRef]
  42. Chargui, K.; Zouadi, T.; Sreedharan, V.R.; Fallahi, A.E.; Reghioui, M. A novel robust exact decomposition algorithm for berth and quay crane allocation and scheduling problem considering uncertainty and energy efficiency. Omega 2023, 118, 102868. [Google Scholar] [CrossRef]
  43. Karafa, J.; Golias, M.M.; Ivey, S.; Saharidis, G.K.D.; Leonardos, N. The berth allocation problem with stochastic vessel handling times. Int. J. Adv. Manuf. Technol. 2012, 65, 473–484. [Google Scholar] [CrossRef]
  44. Mohammadi, M.; Forghani, K. Solving a stochastic berth allocation problem using a hybrid sequence pair-based simulated annealing algorithm. Eng. Optim. 2018, 51, 1810–1828. [Google Scholar] [CrossRef]
  45. Jia, S.; Li, C.L.; Xu, Z. A simulation optimization method for deep-sea vessel berth planning and feeder arrival scheduling at a container port. Transp. Res. Part B Methodol. 2020, 142, 174–196. [Google Scholar] [CrossRef]
  46. Liu, C.; Xiang, X.; Zheng, L. A two-stage robust optimization approach for the berth allocation problem under uncertainty. Flex. Serv. Manuf. J. 2020, 32, 425–452. [Google Scholar] [CrossRef]
  47. Park, H.J.; Cho, S.W.; Lee, C. Particle swarm optimization algorithm with time buffer insertion for robust berth scheduling. Comput. Ind. Eng. 2021, 160, 107585. [Google Scholar] [CrossRef]
  48. Wu, Y.; Miao, L. An efficient procedure for inserting buffers to generate robust berth plans in container terminals. Discret. Dyn. Nat. Soc. 2021, 2021, 6619538. [Google Scholar] [CrossRef]
  49. Kolley, L.; Rückert, N.; Kastner, M.; Jahn, C.; Fischer, K. Robust berth scheduling using machine learning for vessel arrival time prediction. Flex. Serv. Manuf. J. 2023, 35, 29–69. [Google Scholar] [CrossRef]
  50. Bertsimas, D.; Thiele, A. Robust and data-driven optimization: Modern decision making under uncertainty. In Models, Methods, and Applications for Innovative Decision Making; INFORMS: Catonsville, MA, USA, 2006; pp. 95–122. [Google Scholar]
  51. Ben-Tal, A.; El-Ghaoui, L.; Nemirovski, A. Robust Optimization; Princeton University Press: Princeton, NJ, USA, 2009. [Google Scholar]
  52. Rodrigues, F.; Agra, A. An exact robust approach for the integrated berth allocation and quay crane assignment problem under uncertain arrival times. Eur. J. Oper. Res. 2021, 295, 499–516. [Google Scholar] [CrossRef]
  53. Wang, B.; Wang, X.; Wang, N.; Javaheri, Z.; Moghadamnejad, N.; Abedi, M. Machine learning optimization model for reducing the electricity loads in residential energy forecasting. Sustain. Comput. Inform. Syst. 2023, 38, 100876. [Google Scholar] [CrossRef]
  54. Liu, Q.; Kosarirad, H.; Meisami, S.; Alnowibet, K.A.; Hoshyar, A.N. An Optimal Scheduling Method in IoT-Fog-Cloud Network Using Combination of Aquila Optimizer and African Vultures Optimization. Processes 2023, 11, 1162. [Google Scholar] [CrossRef]
  55. Han, X.L.; Lu, Z.Q.; Xi, L.F. A proactive approach for simultaneous berth and quay crane scheduling problem with stochastic arrival and handling time. Eur. J. Oper. Res. 2010, 207, 1327–1340. [Google Scholar] [CrossRef]
  56. Niu, B.; Zhu, Y.; He, X.; Wu, H. MCPSO: A multi-swarm cooperative particle swarm optimizer. Appl. Math. Comput. 2007, 185, 1050–1062. [Google Scholar] [CrossRef] [Green Version]
  57. Lu, J.; Zhang, J.; Sheng, J. Enhanced multi-swarm cooperative particle swarm optimizer. Swarm Evol. Comput. 2022, 69, 100989. [Google Scholar] [CrossRef]
  58. Guo, L.; Wang, J.; Zheng, J. Berth allocation problem with uncertain vessel handling times considering weather conditions. Comput. Ind. Eng. 2021, 158, 107417. [Google Scholar] [CrossRef]
Figure 1. A berthing plan for CBA.
Figure 1. A berthing plan for CBA.
Sustainability 15 10560 g001
Figure 2. Vessels berthing process in tidal terminal.
Figure 2. Vessels berthing process in tidal terminal.
Sustainability 15 10560 g002
Figure 3. Searching process of PSO algorithm.
Figure 3. Searching process of PSO algorithm.
Sustainability 15 10560 g003
Figure 4. Presentation of virtual time axis.
Figure 4. Presentation of virtual time axis.
Sustainability 15 10560 g004
Figure 5. Solutions of deterministic model and robust model.
Figure 5. Solutions of deterministic model and robust model.
Sustainability 15 10560 g005
Figure 6. Convergence of the three particle swarm optimization algorithms. Note: The horizontal axis indicates the number of iterations, and the vertical axis indicates the value of the objective function. (a) Results of solving Example G1-1; (b) Results of solving Example G2-1; (c) Results of solving Example G3-1; (d) Results of solving Example G4-1.
Figure 6. Convergence of the three particle swarm optimization algorithms. Note: The horizontal axis indicates the number of iterations, and the vertical axis indicates the value of the objective function. (a) Results of solving Example G1-1; (b) Results of solving Example G2-1; (c) Results of solving Example G3-1; (d) Results of solving Example G4-1.
Sustainability 15 10560 g006
Figure 7. Virtual time axis efficiency assessment. Note: The vertical axis represents the number of iterations. (a) Solution result of calculation example G1-1; (b) Solution result of calculation example G2-1; (c) Solution result of calculation example G3-1; (d) Solution result of calculation example G4-1.
Figure 7. Virtual time axis efficiency assessment. Note: The vertical axis represents the number of iterations. (a) Solution result of calculation example G1-1; (b) Solution result of calculation example G2-1; (c) Solution result of calculation example G3-1; (d) Solution result of calculation example G4-1.
Sustainability 15 10560 g007
Figure 8. FCFS efficiency evaluation of the initial solution. Note: The vertical axis represents the solution time. (a) Solution result of calculation example G1-1; (b) Solution result of calculation example G2-1; (c) Solution result of calculation example G3-1; (d) Solution result of calculation example G4-1.
Figure 8. FCFS efficiency evaluation of the initial solution. Note: The vertical axis represents the solution time. (a) Solution result of calculation example G1-1; (b) Solution result of calculation example G2-1; (c) Solution result of calculation example G3-1; (d) Solution result of calculation example G4-1.
Sustainability 15 10560 g008
Figure 9. Sensitivity analysis results. Note: The left vertical axis indicates the mean buffer time θ i ¯ . The right vertical axis indicates the objective function value. The horizontal axis indicates the sensitivity analysis parameters ϵ . (a) Results of solving Example G1-1; (b) Results of solving Example G2-1; (c) Results of solving Example G3-1; (d) Results of solving Example G4-1.
Figure 9. Sensitivity analysis results. Note: The left vertical axis indicates the mean buffer time θ i ¯ . The right vertical axis indicates the objective function value. The horizontal axis indicates the sensitivity analysis parameters ϵ . (a) Results of solving Example G1-1; (b) Results of solving Example G2-1; (c) Results of solving Example G3-1; (d) Results of solving Example G4-1.
Sustainability 15 10560 g009
Figure 10. Results of analysis of fluctuations in the number of uncertain scenarios. Notes: (a) Results of solving Example G1-1; (b) Results of solving Example G2-1; (c) Results of solving Example G3-1; (d) Results of solving Example G4-1.
Figure 10. Results of analysis of fluctuations in the number of uncertain scenarios. Notes: (a) Results of solving Example G1-1; (b) Results of solving Example G2-1; (c) Results of solving Example G3-1; (d) Results of solving Example G4-1.
Sustainability 15 10560 g010
Table 1. Classification for the literature related to BAP under uncertainty.
Table 1. Classification for the literature related to BAP under uncertainty.
LiteratureBerth TypeUncertain ParameterRepresentationDecision VariableObjective FunctionTime BufferTideModelSolution Algorithm
ATOTBTDTBPWHCTPHeuristicExact
Xu et al. [10]CS ROSAB&B
Karafa et al. [43]D PD & S ROEA→PFE (MCS)-
Golias et al. [29]DS & US ROHA-
Ursava & Zhu [30]DRT SP--
Xiang et al. [41]CS ROAdaptive GWO (LS)-
Liu et al. [31]CS SPRelax&Fix+RCEH-
Sheikholeslami & Ilati [11]C S SP--
Mohammadi & Forghani [44]CS SPSA-
Jia et al. [45]C S SPSOH-
Liu et al. [46]CS & US SP & RORHH-
Xiang & Liu [26]CS & US SP & RORHHC&CG
Park et al. [47]C S SP & ROPSO-
Wu & Miao [48]C S ROGA-
Kolley et al. [49]C S ROML-
This StudyC S & US ROPSO-
Table 2. Parameter list for three particle swarm optimization algorithms.
Table 2. Parameter list for three particle swarm optimization algorithms.
AlgorithmParameter
PSO ω = 0.3 , w 1 = w 2 = 2 , v max = 3
MCPSO ω = 0.3 , w 1 = w 2 = w 3 = 2 , v max = 3
EMCPSO ω = 0.3 , w 1 = w 2 = w 3 = 2 , v max = 3 , p r o = 1 v , Θ = 20
Table 3. The parameter configuration scale of numerical experimental instances.
Table 3. The parameter configuration scale of numerical experimental instances.
InctanceNumber of Vessel (|V|)Length of Shoreline (L)Planning Horizon (T)
G110180168
G215180168
G320180168
G425180168
Table 4. Comparison of two robust solution times and objective functions.
Table 4. Comparison of two robust solution times and objective functions.
Instance No.Scenario-Based RobustnessUncertainty-Based RobustnessDiff I (%)Diff II (%)
Obj ($)Time (s)Obj ($)Time (s)
G1-1592,5773.07612,0384.01−3.2%−23.4%
G1-2387,8816.18400,4855.17−3.1%19.5%
G1-3400,7527.37430,5968.22−6.9%−10.3%
G1-4472,9404.29493,0213.18−4.1%34.9%
G2-1410,92215.09419,85716.77−2.1%−10.0%
G2-2607,09016.33660,49318.09−8.1%−9.7%
G2-3642,74813.02691,02911.24−7.0%15.8%
G2-4730,857 17.20785,41215.87−6.9%8.4%
G3-1761,95255.19801,59357.1−4.9%−3.3%
G3-2830,50952.37889,40148.99−6.6%6.9%
G3-3830,85655.13909,18252.17−8.6%5.7%
G3-4826,64148.96849,54050.29−2.7%−2.6%
G4-1810,53080.12894,01885.08−9.3%−5.8%
G4-2915,93783.61930,48183.42−1.6%0.2%
G4-3900,44696.03958,37190.14−6.0%6.5%
G4-4828,80280.96883,91082.19−6.2%−1.5%
Table 5. Numerical experimental results of robust models of CPLEX, PSO, MCPSO and EMCPSO for solving different problem case sizes.
Table 5. Numerical experimental results of robust models of CPLEX, PSO, MCPSO and EMCPSO for solving different problem case sizes.
Scale No.CPLEXPSOMCPSOEMCPSO
Optimal Solution ($)CPU Time (s)Optimal Solution ($)CPU Time (s)Gap
(%)
Optimal Solution ($)CPU Time (s)Gap
(%)
Optimal Solution ($)CPU Time (s)Gap
(%)
10G1-1587,9913.09593,8122.070.99%592,5773.060.78%592,5773.070.78%
G1-2380,4254.17387,8815.531.96%387,8816.011.96%387,8816.181.96%
G1-3397,6519.07400,7526.960.78%400,752 7.330.78%400,7527.370.78%
G1-4472,3734.42473,9793.370.34%472,9403.960.12%472,9404.290.12%
15G2-1406,57280.77412,06113.441.35%410,92215.081.07%410,92215.091.07%
G2-2602,45196.93608,05414.070.93%607,09016.220.77%607,09016.330.77%
G2-3635,944103.22643,76612.891.23%642,74813.001.07%642,74813.021.07%
G2-4715,68580.22732,50417.372.35%734,86517.192.68%730,857 17.202.12%
20G3-1745,6231749844,34336.0613.24%762,99645.982.33%761,95255.192.19%
G3-2803,5111836813,31441.731.22%980,76550.1922.06%830,50952.373.36%
G3-3812,6531211830,77549.012.23%831,01952.332.26%830,85655.132.24%
G3-4802,6421742837,31636.064.32%827,28344.083.07%826,64148.962.99%
25G4-1796,355>30 min813,07958.712.10%812,20373.121.99%810,53080.121.78%
G4-2872,653>30 min1,065,24861.2622.07%922,13372.065.67%915,93783.614.96%
G4-3882,444>30 min909,88878.863.11%902,74088.072.30%900,44696.032.04%
G4-4812,631>30 min823,11462.091.29%840,09873.153.38%828,80280.961.99%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Qu, S.; Li, X.; Liu, C.; Tang, X.; Peng, Z.; Ji, Y. Two-Stage Robust Programming Modeling for Continuous Berth Allocation with Uncertain Vessel Arrival Time. Sustainability 2023, 15, 10560. https://doi.org/10.3390/su151310560

AMA Style

Qu S, Li X, Liu C, Tang X, Peng Z, Ji Y. Two-Stage Robust Programming Modeling for Continuous Berth Allocation with Uncertain Vessel Arrival Time. Sustainability. 2023; 15(13):10560. https://doi.org/10.3390/su151310560

Chicago/Turabian Style

Qu, Shaojian, Xinqi Li, Chang Liu, Xufeng Tang, Zhisheng Peng, and Ying Ji. 2023. "Two-Stage Robust Programming Modeling for Continuous Berth Allocation with Uncertain Vessel Arrival Time" Sustainability 15, no. 13: 10560. https://doi.org/10.3390/su151310560

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