An Improved Shuffled Frog-Leaping Algorithm for Solving the Dynamic and Continuous Berth Allocation Problem (DCBAP)
Abstract
:Featured Application
Abstract
1. Introduction
2. Literature Review
2.1. The Operations in a Seaport Container Terminal
- Allocation of berths for calling ships (BAP).
- Assigning of QCs for berthed ships for loading and unloading containers (QCAP).
- Scheduling of QCs (QCSP).
- Assigning of yard trucks.
- Scheduling of yard trucks.
2.2. Studies on CBAP
2.3. The Basic SFLA
3. Formulation for a Mathematical Model of the DCBAP
3.1. Definition of the DCBAP
- L:
- the length of a quay;
- H:
- the planning horizon;
- V:
- a finite set of calling vessels; V, where N is the total number of calling ships;
- Ç:
- a finite set of berthing constraints;
- P:
- a set of plans with assignments of berthing positions and start berthing times for ships;, whereis a pair of assignments, whereis the berthing position,is the start berthing time andis length of the calling ship j.
- Z:
- an objective function mappingto a time/cot value Z.
3.2. Berthing Plan Representation for the DCBAP
3.3. Estimation of Increased Handling Times for a Ship
- is the actual berthing position of ship j alongside the quay;
- is the desired berthing position of ship j alongside the quay.
3.4. Estimation of Increased Waiting for a Ship
3.5. Mathematical Model
- Assumptions
- (1)
- Each ship is handled continuously until it is completed.
- (2)
- Each ship has an estimated processing time.
- (3)
- Each ship has a desired berthing position.
- (4)
- Inter-ship clearance distance is included in ship length.
- (5)
- A ship departs immediately if completed.
- Indices
- j
- a ship number; j = {1, …, N}
- x
- a start berthing time; x = {1, …, H}
- y
- a berthing position; y Y = {1, …, L}
- Parameters
- L
- the quay length (meters)
- H
- the planning horizon (hours)
- N
- the total number of ships to call within the planning horizon H
- the length of ship j
- the expected time of arrival of ship j
- the desired berthing position of ship j
- β
- the berth deviation factor (); increased handling times in hours per 100 m deviating from the desired berthing position of a ship
- the cost rate of waiting time (USD/hour)
- the cost rate of handling time (USD/hour)
- Decision Variables
- the berthing position of ship j ()
- the actual start berthing time of ship j ()
- the completion time of ship j ()
- the increased waiting time of ship j ()
- the increased handling time of ship j ().
4. The ISFLA for Solving the Simultaneous DCBAP
4.1. Position Representation
4.2. The ISFLA
4.2.1. Multiple Groups of Frogs
4.2.2. Shuffled Mechanism
- the best is assigned to group 1;
- the 2nd best is assigned to group 2;
- the mth best is assigned to group m;
- the m + 1th best is assigned to group 1 again, and so on.
4.2.3. Discrete Operators with Self-Adaptive Jump
- (1)
- the operator takes the first non-zero value out of the Di(t) and replaces the value at the same position in Xi(t),
- (2)
- the replaced value takes the position of the non-zero value in Xi(t),
- (3)
- repeat the first and second steps until there are no non-zero values in Di(t),
- (4)
- the operator copies the current Xi(t) as Xi(t + 1).Xi(t + 1) = Xi(t) ♁ Di(t) = [1,2,3,4,5,6] ♁ [0,3,0,0,0,0] = [1,3,2,4,5,6]
- Direct-jump prevention: The direct-jump prevention will stop the generation of binary values of 1 for the RVi(t) of frog i in order to prevent it jumping directly to the target frog, as this would waste one local search. This will happen if the frog i is satisfied with the condition NSEi,o(t) ≥ D − 2. In Equation (22), the term −2 refers to the direct-jump prevention, which prevents frog i from jumping directly to the target frog o.
- Neighborhood jump: However, if BR1i(t) ≠ 0, there is always a chance for a frog to jump to the target frog directly. Thus, we let the ISFLA count the total number of binary values of 1 generated so far for the RVi(t) of frog i; if the threshold ωi is reached, instead of allowing a direct jump, the swap(p1, p2) operator, which switches two randomly selected elements in a frog’s position vector, will be used to perform a neighborhood search. The neighborhood search avoids wasting local searches for frogs due to the imposition of direct-jump prevention.
- Push jump: For a frog i freed from direct-jump prevention but idling at its current position, which happens when RVi,k(t) = 0, the ISFLA will introduce one random binary value 1 into RVi(t) in order to push jump this frog.
4.2.4. The Self-Adaptive Mutation Mechanism
- Swap Mutation (SM): two gene values at two positions (p1 < p2) within a chromosome are randomly selected and then swapped.
- Thoros Mutation (TM): this kind of mutation randomly selects three gene positions p1, p2, and p3 (where p1 < p2 < p3) in a chromosome. Then, it changes the gene value of p1 to the position of p2; the gene value of p2 to the position of p3; and finally the gene value of p3 to the position of p1. TM has a higher degree of mutation than SM due to the greater number of mutated genes.
4.3. The Two Stage Procedure
4.3.1. The First Stage
4.3.2. The Second Stage
4.4. The Main Flow Chart of the Two-Stage Approach
- Step 1:
- Generate data (including aj, dj, lj and hj) for all calling ships (j = 1, …, n; where n is the total number of calling ships).
- Step 2:
- Develop a placement sequence using the ISFLA (or FCFS, GA that are to be compared); set s = 1, where s indicates the placement order of a ship.
- Step 3:
- Place the ship j (at the placement order s) into the berth plan, with the lower-left and upper-right corners being located at the coordinates (, ) = (aj, cj) and (, ) = (aj + hj, cj + lj), respectively; Set k = 1.
- Step 4:
- Check whether the ship j with the placement order s has overlapped with the ship with the placement order s-k by using Equation (29). If “No”, then go to Step 5; otherwise, go to Step 8.
- Step 5:
- Check whether s = k. If “Yes”, go to Step 6; otherwise k = k + 1 and go to Step 4 to check the next ship.
- Step 6:
- Check whether the ship j remains with overlap(s) after repositioning. If “Yes”, go to Step 10; otherwise, go to Step 7.
- Step 7:
- Check whether s = N. If “Yes”, go to Step 11; otherwise s = s + 1 and go to Step 3.
- Step 8:
- Estimate the moving cost of each moving direction for repositioning the target ship with the placement order s using Equations (31) and (33). In addition, let i = 1 index the least-cost movement direction as the first priority; i = 2 index the second least-cost movement direction as the second priority; i = 3 index the most-cost movement direction as the 3rd priority.
- Step 9:
- Repositioning the target ship towards the direction with the priority index i. Update the coordinates of the lower-left and upper-right corners of the target ship using Equation (30) or (32). Go to Step 5.
- Step 10:
- Check whether the ship j has been ever overlapped with this ship or had an overlap resolved. If “Yes”, set i = i + 1 (choose the next repositioning direction) and then go to Step 9; otherwise, go to Step 8.
- Step 11:
- Check whether there is another iteration to perform. If “Yes”, go to Step 2; otherwise go to Step 12.
- Step 12:
- Stop.
5. Numerical Examples
5.1. Parameter Settings for Different Approaches
5.2. An Example of a Small-Sized Experiment
5.3. An Example of a Large-Sized Experiment
5.4. Analysis of Results and Discussion
5.4.1. Analysis of Results
- (1)
- Different methods used in the first stage of the two-stage procedure can lead to different planning results.
- (2)
- Among the FCFS, SFLA, and ISFLA, the experimental results showed the ISFLA outperformed the two others, but at the cost of longer computational times.
- (3)
- The FCFS rule is simple and fast in finding a solution. However, with an expected lower waiting time (cost), the FCFS rule lacks the capacity to improve solution quality continuously.
- (4)
- The increase in iterative runs enables ISFLA to explore a wider solution space. This helps improve solution quality, but at the cost of longer computational times.
- (5)
- When the ISFLA repositions a target ship towards the +Y/−Y direction, the handling time for the target ship will increase; when repositioning a target ships towards the +X direction, the waiting time for the target ship will increase. Since the movement towards the +Y/−Y direction results in a smaller increase in handling cost for a target ship, these two directions will have a higher priority, and this can result in better utilization of quay space. However, due to the limited quay space, movement towards the +X direction is sometimes necessary for a target ship. Such repositioning of ships leads to the finding of a near or the optimal solution.
- (6)
- As the average computational times required for the ISFLA to solve a problem size of 60 calling ships is about 1.4 h, the ISFLA is thus concluded to be applicable in practice.
- (7)
- For the ISFLA, increasing the total number of iterative runs usually leads to the finding of a higher-quality solution, due to the wider exploration of the solution space.
- (8)
- Both cost factors c1 and c2 are found able to affect the selection of repositioning direction for a target ship. They can affect the choices of moving direction toward +Y, −Y, or +X for a target ship. In this research, the two cost rates are set to USD 1000/h.
5.4.2. Discussion
- (1)
- To our best knowledge, this is the first research employing SFLA for dealing with the BAP in a seaport container terminal. The SFLA also shows potential in dealing with problems in the yard and landside areas, in addition to the seaside area.
- (2)
- Some early CBAP studies, such as those by Lim [4], Li et al. [28], and Guan et al. [29], assumed static berth allocation and independent handling times of ships in their berthing positions. In such studies, the problems to be solved are equivalent to the CSP with fixed orientation of placed items. In contrast, this present research considers the dynamic nature of ship arrivals and assumes that the handling times of ships are dependent on their berthing positions.
- (3)
- This present research also differs from the studies of Park and Kim [30,31] and Kim and Moon [5], as those studies assumed fixed handling times for ships. In addition, in a strict sense, the BAP solved in the study of Park and Kim [31] was downgraded to a static version of the problem due to ships being able to be served before their ETAs, albeit with some penalty cost imposed in the objective function [1].
- (4)
- The CBAP solved in this study is quite different from the conventional CSP due to the following three differences: first, in the CBAP a variable handling time is considered; second, the CBAP considers the dynamic nature of ship arrivals; third, the CBAP considers the orientation of the ship placed in a berth plan.
- (5)
- Ref. [1] also proposed a two-stage approach for dealing with the CBAP. The first stage generates an initial solution for the DBAP, and then this solution is further transformed into a feasible one by repositioning overlapped and sparsely located ships at the second stage. However, this approach appears to be rigorous, because to find the final solution to the CBAP, it is first necessary to find the solution to the DBAP. In addition, in the first stage, it is necessary to set a minimum and maximum berth length for the DBAP, and to prepare several intermediate berth lengths for this approach. Such calculations for the setting of parameters take a long time. In contrast, our approach appears to be simpler, as it finds the solution to the CBAP directly.
- (6)
- In [1], the proposed heuristic arranges ships in ascending order of their handling time, which is similar to the FCFS rule, before resolving overlaps of ships. This differs from our approach, which creates alternative placement sequences of ships by using the ISFLA so as to explore more alternative solutions.
- (7)
- Based on a simulated annealing approach, the metaheuristic proposed in [34] is capable of exploring alternative solutions by means of an R parameter that denotes the number of sequences of the neighborhood search. However, the sequence approach proposed in [34] is different from the ISFLA proposed in this research. In addition, [34] did not describe the resolution of overlapping ships.
- (8)
- Compared with [1,34], our approach appears to be simpler and more practically applicable. However, it is too early to say that our approach is better than the approaches proposed in [1,34], as more experiments are required for comparison. Nevertheless, according to the objective defined and used in this research, we know that the optimal berthing position and time for a ship in a berth plan are the dj and ETAj of the ship. As the ISFLA will assign a ship to or around the optimal berthing position (dj) and start working time (ETAj) for each ship, we can conclude that the resulting berth plan will be the optimal solution (when Z ≥ 0), or a near-optimal solution (when Z > 0). As the average computational times for our approach when solving a problem with 60 ships was about 1.4 h; this shows the applicability of the proposed method in practice.
- (9)
- This ISFLA is able to improve the simplicity of simple heuristics while avoiding the computational intractability of exact approaches by tuning the total number of iterative runs.
6. Conclusions and Future Research Direction
- (1)
- A novel Shuffled Frog-Leaping Algorithm-based approach (i.e., the ISFLA) was developed to deal with the dynamic and continuous berth allocation problem. To our best knowledge, this kind of approach has never been used for this purpose in a container terminal.
- (2)
- In addition to the Improved Shuffled Frog-Leaping Algorithm, a heuristic was developed, in the second stage of a two-stage procedure, for placing ships and resolving overlaps of ships for the development of a feasible solution.
- (3)
- The Java programing language was used to implement the two-stage procedure, as it facilitates the generation of BAP solutions for practical use. Our small-sized experiments showed that the proposed approach was capable of finding optimal/near-optimal solutions in terms of the objective function defined in this research. In addition, our experiments demonstrated the feasibility of the ISFLA with respect to computational time for solving a large-sized problem of up to 60 ships.
Author Contributions
Funding
Conflicts of Interest
References
- Imai, A.; Sun, X.; Nishimura, E.; Papadimitriou, S. Berth allocation in a container port: Using a continuous location space approach. Transp. Res. Part B 2005, 39, 199–221. [Google Scholar] [CrossRef]
- Vis, I.F.A.; de Koster, R. Transshipment of container at a container terminal: An overview. EJOR 2003, 147, 1–16. [Google Scholar] [CrossRef]
- Bierwirth, C.; Meisel, F. A survey of berth allocation and quay crane scheduling problems in container terminals. EJOR 2010, 202, 615–627. [Google Scholar] [CrossRef]
- Lim, A. The berth scheduling problem. Oper. Res. Lett. 1998, 22, 105–110. [Google Scholar] [CrossRef]
- Kim, K.H.; Moon, K.C. Berth scheduling by simulated annealing. Transp. Res. Part B 2003, 37, 541–560. [Google Scholar] [CrossRef]
- Salido, M.A.; Mario, R.M.; Barber, F. A decision support system for managing combinatorial problems in a container terminal. Knowl.-Based Syst. 2012, 29, 63–74. [Google Scholar] [CrossRef]
- Hsu, H.P. A HPSO for solving dynamic and discrete berth allocation problem and dynamic quay crane assignment problem simultaneously. Swarm Evol. Comput. 2016, 27, 156–168. [Google Scholar] [CrossRef]
- Dorigo, M.; Gambardella, L.M. Ant colony system: A cooperative learning approach to the traveling salesman problem. IEEE Trans. Evol. Comput. 1997, 1, 53–66. [Google Scholar] [CrossRef]
- Gravel, M.; Price, W.L.; Gagné, C. Scheduling Continuous Casting of Aluminium using a Multiple Objective Ant Colony Optimization Metaheuristic. Eur. J. Oper. Res. 2002, 143, 218–229. [Google Scholar] [CrossRef]
- Solnon, C.; Fenet, S. A study of ACO capabilities for solving the Maximum Clique Problem. J. Heuristics 2006, 12, 155–180. [Google Scholar] [CrossRef]
- Bullnheimer, R.F.; Hartl, C. Strauss, an Improved Ant System Algorithm for the Vehicle Routing Problem. Ann. Oper. Res. 1999, 89, 319–328. [Google Scholar] [CrossRef]
- 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. EJOR 2010, 207, 1327–1340. [Google Scholar] [CrossRef]
- Chang, D.F.; Jiang, Z.H.; Yan, W.; He, J.L. Integrating berth allocation and quay crane assignments. Transp. Res. Part E 2010, 46, 975–990. [Google Scholar] [CrossRef]
- Liang, C.J.; Guo, J.Q.; Yang, Y. Multi-objective hybrid genetic algorithm for quay crane dynamic assignment in birth allocation planning. J. Intell. Manuf. 2011, 22, 471–479. [Google Scholar] [CrossRef]
- Rodriguez-Molins, M.; Ingolotti, L.; Barber, F.; Salido, M.A.; Sierra, M.R.; 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]
- Yoshida, H.; Kawata, K.; Fukuyama, Y.; Takayama, S.; Nakanishi, Y. A particle swarm optimization for reactive power and voltage control considering voltage security assessment. IEEE Trans. Power Syst. 2000, 15, 1232–1239. [Google Scholar] [CrossRef]
- Janson, S.; Middendorf, M. A hierarchical particle swarm optimizer and its adaptive variant. IEEE Trans. Syst. Man Cybernatics Part B Cybernatics 2005, 35, 1272–1282. [Google Scholar] [CrossRef]
- 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]
- Eusuff, M.M.; Lansey, K.E. Optimization of Water Distribution Network Design using the Shuffled Frog Leaping Algorithm. J. Water Resour. Plan. Manag. 2003, 129, 210–225. [Google Scholar] [CrossRef]
- Merz, P.; Freisleben, B. A genetic local search approach to quadratic assignment. In Proceedings of the 7th International Conference on Genetic Algorithm, East Lansing, MI, USA, 19–23 July 1997; Morgan Kaufmann: San Diago, GA, USA, 1997; pp. 465–472. [Google Scholar]
- Lai, K.K.; Shih, K. A study of container berth allocation. J. Adv. Transp. 1992, 26, 45–60. [Google Scholar] [CrossRef]
- Brown, G.G.; Lawphongpanich, S.; Thurman, K.P. Optimizing ship berthing. Nav. Res. Logist. 1994, 41, 1–15. [Google Scholar] [CrossRef]
- Brown, G.G.; Cormican, K.J.; Lawphongpanich, S.; Widdis, D.B. Optimizing submarine berthing with a persistence incentive. Nav. Res. Logist. 1997, 44, 301–318. [Google Scholar] [CrossRef]
- Imai, A.; Nagaiwa, K.I.; Tat, C.W. Efficient planning of berth allocation for container terminals in Asia. J. Adv. Transp. 1997, 31, 75–94. [Google Scholar] [CrossRef]
- Imai, A.; Nishimura, E.; Papadimitrious, S. The dynamic berth allocation problem for a container port. Transp. Res. Part B 2001, 35, 401–417. [Google Scholar] [CrossRef]
- Imai, A.; Nishimura, E.; Papadimitriou, S. Berth allocation with service priority. Transp. Res. Part B 2003, 37, 437–457. [Google Scholar] [CrossRef] [Green Version]
- Nishimura, E.; Imai, A.; Papadimitriou, S. Berth allocation planning in the public berth system by genetic algorithms. Eur. J. Oper. Res. 2001, 131, 282–292. [Google Scholar] [CrossRef]
- Li, C.-L.; Cai, X.; Lee, C.-Y. Scheduling with multiple-job-on-one-processor pattern. IIE Trans. 1998, 30, 433–445. [Google Scholar] [CrossRef]
- Guan, Y.; Xiao, W.-Q.; Cheung, R.K.; Li, C.-L. A multiprocessor task scheduling model for berth allocation: Heuristic and worst-case analysis. Oper. Res. Lett. 2002, 30, 343–350. [Google Scholar] [CrossRef]
- Park, K.T.; Kim, K.H. Berth scheduling for container terminals by using a sub-gradient optimization technique. J. Oper. Res. Soc. 2002, 53, 1054–1062. [Google Scholar] [CrossRef]
- Park, Y.-M.; Kim, K.H. A scheduling method for berth and quay cranes. OR Spectr. 2003, 25, 1–23. [Google Scholar] [CrossRef]
- Wang, F.; Lim, A. A stochastic beam search for the berth allocation problem. Decis. Support Syst. 2007, 42, 2186–2196. [Google Scholar] [CrossRef]
- Lee, Y.; Chen, C.Y. An optimization heuristic for the berth scheduling problem. EJOR 2009, 196, 500–508. [Google Scholar] [CrossRef]
- Zhen, L.; Lee, L.H.; Chew, E.P. A decision model for berth allocation under uncertainty. EJOR 2011, 212, 54–68. [Google Scholar] [CrossRef]
- Eusuff, M.M.; Lansey, K.E.; Pasha, F. Shuffled frog-leaping algorithm: A memetic metaheuristic for discrete optimization. Eng. Optim. 2006, 38, 129–154. [Google Scholar] [CrossRef]
- Elbeltagi, E.; Hegazy, T.; Grierson, D. A Modified Shuffled Frog-Leaping Optimization Algorithm: Applications to Project Management. Struct. Infrastruct. Eng. 2007, 3, 53–60. [Google Scholar] [CrossRef]
- Bhattacharjee, K.K.; Sarmah, S.P. Shuffled Frog Leaping Algorithm and Its Application to 0/1 Knapsack Problem. Appl. Soft Comput. 2014, 19, 252–263. [Google Scholar] [CrossRef]
- Zhu, Y.; Zhang, W.M. An Improved Shuffled Frog-leaping Algorithm to Optimize Component Pick-and-Place Sequencing Optimization Problem. Expert Syst. Appl. 2014, 41, 6818–6829. [Google Scholar] [CrossRef]
- Luo, J.; Li, X.; Chen, M.R.; Liu, H. A Novel Hybrid Shuffled Frog Leaping Algorithm for Vehicle Routing Problem with Time Windows. Inf. Sci. 2015, 316, 266–292. [Google Scholar] [CrossRef]
- Edla, R.; Lipare, A.; Cheruku, R.; Kuppili, V. An Efficient Load Balancing of Gateways Using Improved Shuffled Frog Leaping Algorithm and Novel Fitness Function for WSNs. IEEE Sens. J. 2017, 12, 6724–6733. [Google Scholar] [CrossRef]
- Zhang, T.; Zhao, X.; Pan, X.; Li, X.; Lei, Z. Optimal Local Dimming Based on an Improved Shuffled Frog Leaping Algorithm. IEEE Access 2018, 6, 40472–40484. [Google Scholar] [CrossRef]
- Wang, X.; Liu, S.; Li, Q.; Liu, Z. Underwater Sonar Image Detection: A Novel Quantum-Inspired Shuffled Frog Leaping Algorithm. Chin. J. Electron. 2018, 27, 588–594. [Google Scholar] [CrossRef]
- Lei, D.; Cao, S. A novel shuffled frog-leaping algorithm for flexible job shop scheduling with interval processing time. In Proceedings of the IEEE Conferences 2017 36th Chinese Control Conference (CCC), Dalian, China, 26–28 July 2017; pp. 2708–2713. [Google Scholar]
- Shan, W.; Nie, S.-P. Shuffled frog-leaping algorithm based neural network and its using in big data set. In Proceedings of the IEEE Conferences 2017 13th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD), Guilin, China, 29–31 July 2017; pp. 707–711. [Google Scholar]
- Hu, B.; Dai, Y.; Su, Y.; Moore, P.; Zhang, X.; Mao, C.; Chen, J.; Xu, L. Feature Selection for Optimized High-dimensional Biomedical Data using the Improved Shuffled Frog Leaping Algorithm. IEEE ACM Trans. Comput. Biol. Bioinform. 2018, 15, 1765–1773. [Google Scholar]
Parameters | Approaches | ||
---|---|---|---|
FCFS | SFLA | ISFLA | |
F | - | 100 | 100 |
m | - | 10 | 10 |
n = F/m | - | 10 | 10 |
l_iter | - | 5 | 5 |
iterations | 1 | 150 | 150 |
q | - | 5 | - |
- | N | N | |
Rm | - | - | 0.3 |
- | - | 0.5 | |
- | - | 0.5 |
SID | lj | ETAj | dj | Original | Repositioned | c1ΔWj | c2ΔHj | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
X0 | Y0 | X1 | Y1 | X0 | Y0 | X1 | Y1 | ||||||
1 | 144 | 92 | 473.5 | 92 | 473.5 | 125.9 | 617.5 | 92.0 | 473.5 | 125.9 | 617.5 | 0 | 0 |
2 | 164 | 94.4 | 452.1 | 94.4 | 452.1 | 123 | 616.1 | 94.4 | 309.5 | 123.1 | 473.5 | 0 | 55 |
3 | 161 | 60.5 | 492.2 | 60.5 | 492.2 | 88.1 | 653.2 | 60.5 | 492.2 | 88.1 | 653.2 | 0 | 0 |
4 | 73 | 58.1 | 864.8 | 58.1 | 864.8 | 87.2 | 937.8 | 58.1 | 864.8 | 87.2 | 937.8 | 0 | 0 |
5 | 56 | 19.3 | 814.9 | 19.3 | 814.9 | 39.3 | 870.9 | 19.3 | 814.9 | 39.3 | 870.9 | 0 | 0 |
6 | 112 | 55.8 | 67 | 55.8 | 67 | 71 | 179 | 55.8 | 67.0 | 71.0 | 179.0 | 0 | 0 |
7 | 56 | 105.7 | 534.6 | 105.7 | 534.6 | 140.9 | 590.6 | 105.7 | 675.9 | 140.9 | 731.9 | 0 | 47 |
8 | 84 | 64.1 | 249.5 | 64.1 | 249.5 | 70.9 | 333.5 | 64.1 | 249.5 | 70.9 | 333.5 | 0 | 0 |
9 | 193 | 134.6 | 482.9 | 134.6 | 482.9 | 176.8 | 675.9 | 134.6 | 482.9 | 176.8 | 675.9 | 0 | 0 |
10 | 126 | 10.9 | 580.5 | 10.9 | 580.5 | 56.7 | 706.5 | 10.9 | 580.5 | 56.7 | 706.5 | 0 | 0 |
Total | 0 | 102 |
SID | Original | Repositioned | c1ΔWj | c2ΔHj | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
X0 | Y0 | X1 | Y1 | X0 | Y0 | X1 | Y1 | ||||||
1 | 100 | 133.6 | 400.8 | 133.6 | 400.8 | 155.1 | 500.8 | 133.6 | 400.8 | 155.1 | 500.8 | 0 | 0 |
2 | 123 | 121.5 | 623.5 | 121.5 | 623.5 | 151.0 | 746.5 | 181.5 | 275.8 | 211.1 | 398.8 | 60,026 | 115 |
3 | 189 | 111.8 | 543.8 | 111.8 | 543.8 | 121.1 | 732.8 | 219.4 | 466.0 | 228.7 | 655.0 | 107,550 | 26 |
4 | 122 | 3.2 | 486.3 | 3.2 | 486.3 | 18.0 | 608.3 | 3.2 | 256.5 | 18.1 | 378.5 | 0 | 54 |
5 | 87 | 52.3 | 722.5 | 52.3 | 722.5 | 99.6 | 809.5 | 152.1 | 887.4 | 199.5 | 974.4 | 99,817 | 55 |
6 | 53 | 92.7 | 135.0 | 92.7 | 135.0 | 106.6 | 188.0 | 92.7 | 135.0 | 106.6 | 188.0 | 0 | 40 |
7 | 65 | 57.8 | 883.5 | 57.8 | 883.5 | 69.4 | 948.5 | 57.8 | 928.0 | 69.4 | 993.0 | 0 | 15 |
8 | 106 | 9.2 | 585.7 | 9.2 | 585.7 | 35.0 | 691.7 | 9.2 | 761.5 | 35.1 | 867.5 | 0 | 59 |
9 | 180 | 43.9 | 559.1 | 43.9 | 559.1 | 83.6 | 739.1 | 222.9 | 275.8 | 262.7 | 455.8 | 179,036 | 95 |
10 | 157 | 70.3 | 641.4 | 70.3 | 641.4 | 81.9 | 798.4 | 79.3 | 722.2 | 90.9 | 879.2 | 8997 | 27 |
11 | 78 | 3.0 | 880.4 | 3.0 | 880.4 | 20.9 | 958.4 | 3.0 | 880.4 | 20.9 | 958.4 | 0 | 26 |
12 | 123 | 46.3 | 220.2 | 46.3 | 220.2 | 61.6 | 343.2 | 46.3 | 378.5 | 61.7 | 501.5 | 0 | 53 |
13 | 160 | 35.3 | 91.2 | 35.3 | 91.2 | 49.7 | 251.2 | 35.3 | 91.2 | 49.7 | 251.2 | 0 | 47 |
14 | 104 | 44.3 | 314.0 | 44.3 | 314.0 | 72.3 | 418.0 | 79.3 | 423.2 | 107.3 | 527.2 | 34,997 | 24 |
15 | 121 | 134.8 | 366.5 | 134.8 | 366.5 | 180.8 | 487.5 | 199.5 | 844.0 | 245.6 | 965.0 | 64,672 | 159 |
16 | 125 | 18.3 | 395.1 | 18.3 | 395.1 | 42.4 | 520.1 | 18.3 | 253.5 | 42.5 | 378.5 | 0 | 77 |
17 | 188 | 136.3 | 540.7 | 136.3 | 540.7 | 157.4 | 728.7 | 219.4 | 655.0 | 240.5 | 843.0 | 83,050 | 38 |
18 | 119 | 135.6 | 803.4 | 135.6 | 803.4 | 152.0 | 922.4 | 135.6 | 803.4 | 152.1 | 922.4 | 0 | 117 |
19 | 98 | 117.6 | 469.1 | 117.6 | 469.1 | 142.9 | 567.1 | 117.6 | 500.8 | 142.9 | 598.8 | 0 | 11 |
20 | 84 | 50.2 | 536.0 | 50.2 | 536.0 | 74.9 | 620.0 | 50.2 | 130.5 | 75.0 | 214.5 | 0 | 109 |
21 | 103 | 108.5 | 132.6 | 108.5 | 132.6 | 143.9 | 235.6 | 146.1 | 72.5 | 181.5 | 175.5 | 37,605 | 21 |
22 | 140 | 68.6 | 474.8 | 68.6 | 474.8 | 109.9 | 614.8 | 181.5 | 135.8 | 222.9 | 275.8 | 112,926 | 110 |
23 | 63 | 38.3 | 288.7 | 38.3 | 288.7 | 76.0 | 351.7 | 146.1 | 9.5 | 183.9 | 72.5 | 107,805 | 93 |
24 | 190 | 9.1 | 641.1 | 9.1 | 641.1 | 33.0 | 831.1 | 9.1 | 378.5 | 33.1 | 568.5 | 0 | 63 |
25 | 55 | 55.8 | 800.0 | 55.8 | 800.0 | 79.1 | 855.0 | 55.8 | 800.0 | 79.2 | 855.0 | 0 | 90 |
26 | 72 | 57.5 | 638.1 | 57.5 | 638.1 | 92.1 | 710.1 | 59.1 | 58.5 | 93.9 | 130.5 | 1646 | 189 |
27 | 154 | 64.1 | 674.6 | 64.1 | 674.6 | 78.2 | 828.6 | 64.1 | 646.0 | 78.3 | 800.0 | 0 | 51 |
28 | 67 | 88.7 | 543.7 | 88.7 | 543.7 | 95.2 | 610.7 | 88.7 | 527.2 | 95.2 | 594.2 | 0 | 22 |
29 | 125 | 106.1 | 574.6 | 106.1 | 574.6 | 141.1 | 699.6 | 134.0 | 275.8 | 169.1 | 400.8 | 27,922 | 108 |
30 | 79 | 23.7 | 194.4 | 23.7 | 194.4 | 59.1 | 273.4 | 23.7 | 12.2 | 59.1 | 91.2 | 0 | 46 |
31 | 78 | 33.1 | 451.5 | 33.1 | 451.5 | 57.8 | 529.5 | 79.3 | 345.2 | 104.0 | 423.2 | 46,197 | 4 |
32 | 164 | 13.8 | 282.5 | 13.8 | 282.5 | 43.2 | 446.5 | 49.7 | 214.5 | 79.2 | 378.5 | 35,947 | 14 |
33 | 70 | 139.8 | 74.1 | 139.8 | 74.1 | 180.3 | 144.1 | 139.8 | 175.5 | 180.3 | 245.5 | 0 | 34 |
34 | 187 | 104.0 | 722.2 | 104.0 | 722.2 | 133.9 | 909.2 | 104.0 | 722.2 | 134.0 | 909.2 | 0 | 122 |
35 | 107 | 115.8 | 11.7 | 115.8 | 11.7 | 146.1 | 118.7 | 115.8 | 11.7 | 146.1 | 118.7 | 0 | 5 |
36 | 95 | 108.5 | 241.8 | 108.5 | 241.8 | 150.5 | 336.8 | 183.9 | 14.8 | 226.0 | 109.8 | 75,398 | 52 |
37 | 89 | 149.9 | 566.0 | 149.9 | 566.0 | 195.1 | 655.0 | 149.9 | 566.0 | 195.1 | 655.0 | 0 | 35 |
38 | 147 | 33.7 | 270.2 | 33.7 | 270.2 | 49.5 | 417.2 | 93.9 | 188.0 | 109.8 | 335.0 | 60,235 | 28 |
39 | 166 | 121.4 | 80.6 | 121.4 | 80.6 | 148.4 | 246.6 | 222.9 | 109.8 | 249.9 | 275.8 | 101,536 | 10 |
40 | 138 | 36.0 | 843.1 | 36.0 | 843.1 | 76.7 | 981.1 | 134.0 | 665.4 | 174.8 | 803.4 | 98,022 | 87 |
41 | 153 | 19.0 | 709.8 | 19.0 | 709.8 | 28.2 | 862.8 | 35.1 | 415.5 | 44.3 | 568.5 | 16,059 | 53 |
42 | 193 | 15.4 | 568.5 | 15.4 | 568.5 | 63.2 | 761.5 | 15.4 | 568.5 | 63.2 | 761.5 | 0 | 41 |
43 | 138 | 115.9 | 175.5 | 115.9 | 175.5 | 132.7 | 313.5 | 115.9 | 175.5 | 132.8 | 313.5 | 0 | 61 |
44 | 77 | 0.5 | 794.5 | 0.5 | 794.5 | 8.0 | 871.5 | 0.5 | 794.5 | 8.0 | 871.5 | 0 | 19 |
45 | 128 | 48.0 | 476.6 | 48.0 | 476.6 | 75.3 | 604.6 | 79.2 | 594.2 | 106.5 | 722.2 | 31,190 | 52 |
46 | 73 | 39.9 | 563.9 | 39.9 | 563.9 | 79.2 | 636.9 | 39.9 | 855.0 | 79.3 | 928.0 | 0 | 97 |
47 | 120 | 86.0 | 462.5 | 86.0 | 462.5 | 99.4 | 582.5 | 112.5 | 313.5 | 126.0 | 433.5 | 26,528 | 50 |
48 | 150 | 32.6 | 309.9 | 32.6 | 309.9 | 38.4 | 459.9 | 106.6 | 38.0 | 112.5 | 188.0 | 74,040 | 88 |
49 | 84 | 149.5 | 803.6 | 149.5 | 803.6 | 174.1 | 887.6 | 152.1 | 803.4 | 176.7 | 887.4 | 2,617 | 0 |
50 | 189 | 136.4 | 555.5 | 136.4 | 555.5 | 179.0 | 744.5 | 176.7 | 655.0 | 219.4 | 844.0 | 40,317 | 33 |
Total | 1,534,135 | 2825 |
FCFS | SFLA | ISFLA | ||||||
---|---|---|---|---|---|---|---|---|
N | Z | T | Gap (%) | Z | T | Gap (%) | Z | T |
10 | ||||||||
1 | 91.5 | 1.2 | 49.4 | 61.3 | 232.3 | 0.0 | 61.3 | 277.8 |
2 | 378.0 | 1.1 | 12.3 | 336.7 | 235.3 | 0.0 | 336.7 | 258.4 |
3 | 62.6 | 1.0 | 19.8 | 58.3 | 253.1 | 11.5 | 52.3 | 263.4 |
4 | 300.7 | 1.2 | 0.0 | 300.7 | 237.6 | 0.0 | 300.7 | 229.7 |
5 | 196.1 | 1.1 | 70.4 | 136.3 | 244.7 | 18.5 | 115.1 | 288.7 |
6 | 111.4 | 1.1 | 21.5 | 91.6 | 236.8 | 0.0 | 91.6 | 254.8 |
7 | 45.7 | 1.1 | 43.6 | 31.8 | 242.2 | 0.0 | 31.8 | 242.3 |
8 | 44.7 | 1.1 | 0.0 | 46.4 | 225.6 | 3.8 | 44.7 | 252.7 |
9 | 115.2 | 0.9 | 18.1 | 104.6 | 238.2 | 7.2 | 97.6 | 255.0 |
10 | 178.4 | 1.1 | 26.0 | 159.3 | 214.3 | 12.6 | 141.5 | 239.3 |
Avg. | 152.4 | 1.1 | 19.7 | 132.7 | 236.0 | 4.2 | 127.3 | 256.2 |
20 | ||||||||
1 | 15,420.1 | 1.3 | 44.3 | 11,857.1 | 477.7 | 11.0 | 10,682.7 | 532.3 |
2 | 6534.0 | 1.4 | 11.9 | 6358.1 | 473.2 | 8.9 | 5837.8 | 589.0 |
3 | 20,298.3 | 1.3 | 45.7 | 14,688.2 | 476.4 | 5.4 | 13,931.4 | 555.0 |
4 | 190.3 | 1.3 | 15.6 | 186.4 | 489.3 | 13.2 | 164.6 | 634.1 |
5 | 13,228.6 | 1.2 | 54.1 | 9162.4 | 493.2 | 6.7 | 8584.6 | 505.2 |
6 | 24,208.8 | 1.3 | 12.4 | 23,830.8 | 483.1 | 10.6 | 21,539.5 | 531.1 |
7 | 12,199.4 | 1.3 | 73.4 | 8023.5 | 486.1 | 14.0 | 7036.7 | 503.3 |
8 | 1184.4 | 1.4 | 23.0 | 1072.2 | 477.3 | 11.4 | 962.7 | 504.0 |
9 | 2617.2 | 1.3 | (9.1) | 3521.1 | 492.2 | 22.3 | 2878.1 | 519.0 |
10 | 16,312.8 | 1.5 | 60.7 | 11,826.3 | 472.2 | 16.5 | 10,148.6 | 534.8 |
Avg. | 11,219.4 | 1.3 | 37.2 | 9052.6 | 482.1 | 10.7 | 8176.7 | 540.8 |
30 | ||||||||
1 | 205,881.1 | 1.7 | 38.9 | 172,451.7 | 636.3 | 16.3 | 148,249.0 | 707.1 |
2 | 314,277.2 | 1.7 | 7.1 | 316,217.2 | 604.3 | 7.8 | 293,372.9 | 774.5 |
3 | 217,210.3 | 1.4 | 24.4 | 200,271.8 | 625.3 | 14.7 | 174,589.9 | 763.5 |
4 | 73,850.2 | 1.8 | 12.8 | 66,985.2 | 614.1 | 2.3 | 65,480.4 | 769.0 |
5 | 208,806.1 | 1.7 | 54.6 | 156,281.1 | 595.2 | 15.7 | 135,101.2 | 790.8 |
6 | 267,383.0 | 1.5 | 23.1 | 227,438.4 | 593.9 | 4.7 | 217,219.7 | 734.8 |
7 | 66,336.9 | 1.6 | 58.2 | 45,473.9 | 624.2 | 8.5 | 41,919.3 | 727.2 |
8 | 63,760.8 | 1.5 | 50.6 | 48,353.4 | 640.2 | 14.2 | 42,330.5 | 921.0 |
9 | 426,888.0 | 1.6 | 27.7 | 410,358.4 | 619.4 | 22.8 | 334,170.2 | 903.2 |
10 | 203,769.2 | 1.5 | 89.1 | 117,136.1 | 644.1 | 8.7 | 107,743.6 | 730.7 |
Avg. | 204,816.3 | 1.6 | 31.3 | 176,096.7 | 619.7 | 12.9 | 156,017.7 | 782.2 |
40 | ||||||||
1 | 546,703.7 | 1.7 | 38.0 | 462,767.2 | 1859.2 | 16.8 | 396,146.0 | 2400.5 |
2 | 175,292.0 | 1.7 | 1.3 | 199,519.4 | 1974.2 | 15.3 | 173,015.2 | 2451.3 |
3 | 705,100.7 | 1.7 | 19.4 | 672,451.2 | 1833.9 | 13.8 | 590,775.2 | 2527.8 |
4 | 357,388.6 | 1.7 | 30.1 | 305,318.6 | 1968.2 | 11.1 | 274,705.5 | 2537.7 |
5 | 706,807.6 | 1.7 | 2.8 | 716,680.6 | 1992.7 | 4.2 | 687,587.7 | 2430.5 |
6 | 1,562,685.5 | 1.8 | 50.0 | 1,132,683.5 | 1934.2 | 8.7 | 1,041,642.0 | 2801.5 |
7 | 667,840.4 | 1.7 | 36.2 | 528,633.0 | 1917.2 | 7.8 | 490,389.6 | 2566.2 |
8 | 1,371,378.0 | 1.7 | 44.8 | 1,167,187.2 | 1906.5 | 23.2 | 947,068.4 | 2729.9 |
9 | 1,060,564.8 | 1.8 | 33.0 | 926,136.3 | 1939.1 | 16.2 | 797,123.9 | 2618.1 |
10 | 755,054.9 | 1.7 | 64.1 | 643,065.9 | 1989.3 | 39.8 | 460,135.2 | 2715.9 |
Avg. | 790,881.6 | 1.7 | 35.0 | 675,444.3 | 1931.5 | 15.3 | 585,858.9 | 2578.0 |
50 | ||||||||
1 | 2,592,060.5 | 1.9 | (0.1) | 3,070,361.5 | 2456.1 | 18.3 | 2,595,948.5 | 3223.3 |
2 | 2,648,510.2 | 2.0 | 14.1 | 2,644,852.3 | 2341.4 | 13.9 | 2,321,576.5 | 3530.5 |
3 | 2,785,803.8 | 2.0 | 18.9 | 2,843,812.2 | 2442.1 | 21.3 | 2,343,809.5 | 3098.9 |
4 | 2,507,274.3 | 1.9 | 27.9 | 1,973,747.2 | 2543.2 | 0.7 | 1,960,933.9 | 2977.0 |
5 | 1,636,155.9 | 1.9 | 17.9 | 1,656,152.2 | 2523.5 | 19.3 | 1,388,291.0 | 2815.0 |
6 | 1,475,022.1 | 2.1 | 8.9 | 1,555,821.3 | 2422.4 | 14.9 | 1,354,645.0 | 2988.4 |
7 | 2,293,968.9 | 2.0 | 74.7 | 1,593,912.9 | 2366.2 | 21.4 | 1,313,400.6 | 2999.6 |
8 | 1,555,521.0 | 2.4 | 6.7 | 1,865,321.0 | 2229.2 | 27.9 | 1,458,157.2 | 2931.3 |
9 | 2,291,265.0 | 2.0 | 4.8 | 2,471,635.0 | 2553.1 | 13.0 | 2,186,907.5 | 3142.6 |
10 | 1,756,002.7 | 2.7 | 32.3 | 1,553,631.6 | 2323.2 | 17.1 | 1,327,251.5 | 3214.5 |
Avg. | 2,154,158.4 | 2.1 | 18.0 | 2,122,924.7 | 2420.0 | 16.3 | 1,825,092.1 | 3092.1 |
60 | ||||||||
1 | 4,709,809.5 | 7.5 | 35.6 | 4,299,681.4 | 5213.3 | 23.8 | 3,472,396.1 | 5822.7 |
2 | 2,953,025.4 | 7.6 | 16.4 | 2,854,712.4 | 5327.0 | 12.5 | 2,536,974.7 | 5538.9 |
3 | 4,767,009.0 | 7.6 | 30.2 | 4,336,401.3 | 5282.1 | 18.4 | 3,662,545.9 | 5397.2 |
4 | 3,228,876.4 | 7.6 | 38.9 | 2,686,814.4 | 5177.0 | 15.6 | 2,324,015.3 | 3254.3 |
5 | 5,007,260.9 | 7.6 | 3.2 | 5,196,307.9 | 5153.0 | 7.1 | 4,852,986.7 | 3432.5 |
6 | 4,287,543.9 | 7.3 | 43.0 | 3,766,731.2 | 5431.2 | 25.6 | 2,997,992.0 | 5497.2 |
7 | 3,798,522.1 | 7.9 | (4.1) | 4,336,601.6 | 5369.6 | 9.5 | 3,959,739.6 | 6162.2 |
8 | 4,813,647.0 | 8.9 | 10.3 | 5,254,204.0 | 5161.3 | 20.4 | 4,364,050.0 | 2824.0 |
9 | 3,559,317.1 | 8.1 | 44.0 | 3,153,893.1 | 5134.1 | 27.6 | 2,470,898.9 | 3330.4 |
10 | 4,990,244.7 | 8.3 | 3.0 | 5,770,216.7 | 5284.1 | 19.1 | 4,842,827.4 | 7417.4 |
Avg. | 4,211,525.6 | 7.8 | 18.7 | 4,165,556.4 | 5253.3 | 17.4 | 3,548,442.7 | 4867.7 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hsu, H.-P.; Chiang, T.-L. An Improved Shuffled Frog-Leaping Algorithm for Solving the Dynamic and Continuous Berth Allocation Problem (DCBAP). Appl. Sci. 2019, 9, 4682. https://doi.org/10.3390/app9214682
Hsu H-P, Chiang T-L. An Improved Shuffled Frog-Leaping Algorithm for Solving the Dynamic and Continuous Berth Allocation Problem (DCBAP). Applied Sciences. 2019; 9(21):4682. https://doi.org/10.3390/app9214682
Chicago/Turabian StyleHsu, Hsien-Pin, and Tai-Lin Chiang. 2019. "An Improved Shuffled Frog-Leaping Algorithm for Solving the Dynamic and Continuous Berth Allocation Problem (DCBAP)" Applied Sciences 9, no. 21: 4682. https://doi.org/10.3390/app9214682
APA StyleHsu, H. -P., & Chiang, T. -L. (2019). An Improved Shuffled Frog-Leaping Algorithm for Solving the Dynamic and Continuous Berth Allocation Problem (DCBAP). Applied Sciences, 9(21), 4682. https://doi.org/10.3390/app9214682