An Improved Genetic Algorithm for the Granularity-Based Split Vehicle Routing Problem with Simultaneous Delivery and Pickup
Abstract
:1. Introduction
2. Problem Definition
2.1. The Basic VRP Model
2.2. The Proposed GSVRPSDP Model
- The customer not only has a delivery demand, but also has a pickup demand. To meet the two demands efficiently, vehicles can deliver and pick up shipments simultaneously.
- The demands of customers are composed of individual shipments, and each shipment has a weight feature and a volume feature. Meanwhile, the vehicle not only has a weight constraint, but also has a volume constraint.
- The demands of customers can be split, which means that vehicles can deliver part of the shipments and pick up part of the shipments from each customer.
3. A Genetic-Simulated Hybrid Algorithm for Solving the GSVRPSDP
Algorithm 1: GA-SA for solving the GSVRPSDP |
3.1. Solution Representation and Evaluation
3.2. Initial Population and Termination Condition
3.3. Individuals Updating Based on SA
3.3.1. Rescheduling Customers
3.3.2. Optimizing Loading
3.3.3. Optimizing Routes
4. Experiment Setup
4.1. Experimental Data
4.2. Parameter Settings
4.3. Sensitivity Analysis ()
5. Results and Analysis
5.1. Results
- GA-SA can obtain lower total costs than the traditional GA in terms of best, worst and average. It shows that rescheduling customers based on a probability can help GA get out of the local optimal and obtain better routes.
- GA-SA outperforms GA-SA in four instances, which means that the loading optimization and route optimization can further improve the diversity of individuals and achieve much better results.
- Among all five compared algorithms, GA-SA obtains the lowest costs in terms of best, worst and average in four instances. Specifically, the average total costs of GA-SA in four instances are 4.7%, 10.4%, 19.2% and 13.4% lower than that of GA-SA, GA, PSO and GA, respectively. It shows the efficiency of the proposed strategy.
Customer No. | Algorithm | Best | Average | Worst |
---|---|---|---|---|
8 | GA-SA | 286.8 | 288.2 | 290.9 |
GA-SA | 286.8 | 289.8 | 291.8 | |
GA | 294.6 | 297.3 | 305.3 | |
PSO | 300.7 | 307.8 | 318.2 | |
SA | 294.7 | 301.2 | 307.2 | |
16 | GA-SA | 542.4 | 561.1 | 571.3 |
GA-SA | 547.6 | 565.1 | 583.6 | |
GA | 558.4 | 573.8 | 587.6 | |
PSO | 581.4 | 589.5 | 601.5 | |
SA | 566.2 | 578.5 | 592.1 | |
32 | GA-SA | 1161.8 | 1204.5 | 1251.9 |
GA-SA | 1187.9 | 1221.3 | 1321.6 | |
GA | 1265.7 | 1289.2 | 1339.6 | |
PSO | 1422.6 | 1476.7 | 1573.1 | |
SA | 1314.1 | 1325.9 | 1364.5 | |
64 | GA-SA | 2639.9 | 2787.7 | 2994.6 |
GA-SA | 2897.3 | 3002.3 | 3276.2 | |
GA | 3194.5 | 3240.3 | 3348.4 | |
PSO | 3512.1 | 3620.5 | 3766.4 | |
SA | 3340.3 | 3384.9 | 3452.1 | |
Average of four instances | GA-SA | 1157.7 | 1210.4 | 1277.2 |
GA-SA | 1229.9 (5.9%) | 1269.6 (4.7%) | 1368.3 (6.7%) | |
GA | 1328.3 (12.8%) | 1350.2 (10.4%) | 1395.2 (8.5%) | |
PSO | 1454.2 (20.4%) | 1498.6 (19.2%) | 1564.8 (18.4%) | |
SA | 1378.8 (16.0%) | 1397.6 (13.4%) | 1429.0 (10.6%) |
5.2. Effectiveness Analysis
5.3. Analysis of the Superiority of Simultaneous Pickup and Delivery
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Adewumi, A.; Adeleke, O. A Survey of Recent Advances in Vehicle Routing Problems. Int. J. Syst. Assur. Eng. Manag. 2018, 9, 155–172. [Google Scholar] [CrossRef]
- Pillac, V.; Gendreau, M.; Guéret, C.; Medaglia, A.L. A Review of Dynamic Vehicle Routing Problems. Eur. J. Oper. Res. 2013, 225, 1–11. [Google Scholar] [CrossRef] [Green Version]
- Sluijk, N.; Florio, A.M.; Kinable, J.; Dellaert, N.; Van Woensel, T. Two-echelon Vehicle Routing Problems: A Literature Review. Eur. J. Oper. Res. 2023, 304, 865–886. [Google Scholar] [CrossRef]
- Dantzig, G.B.; Ramser, J.H. The Truck Dispatching Problem. Manag. Sci. 1959, 6, 80–91. [Google Scholar] [CrossRef]
- Worawattawechai, T.; Intiyot, B.; Jeenanunta, C.; Ferrell, W.G. A learning enhanced golden ball algorithm for the vehicle routing problem with backhauls and time windows. Comput. Ind. Eng. 2022, 168, 108044. [Google Scholar] [CrossRef]
- Wu, Y.; Cai, Y.; Fang, C. Evolutionary Multitasking for Bidirectional Adaptive Codec: A Case Study on Vehicle Routing Problem with Time Windows. Appl. Soft. Comput. 2023, 145, 110605. [Google Scholar] [CrossRef]
- Chen, J.F.; Wu, T.H. Vehicle Routing Problem with Simultaneous Deliveries and Pickups. J. Oper. Res. Soc. 2006, 57, 579–587. [Google Scholar] [CrossRef]
- Wu, H.; Gao, Y. An Ant Colony Optimization Based on Local Search for the Vehicle Routing Problem with Simultaneous Pickup-delivery and Time Window. Appl. Soft Comput. 2023, 139, 110203. [Google Scholar] [CrossRef]
- Subramanian, A.; Penna, P.H.V.; Uchoa, E.; Ochi, L.S. A Hybrid Algorithm for the Heterogeneous Fleet Vehicle Routing Problem. Eur. J. Oper. Res. 2012, 221, 285–295. [Google Scholar] [CrossRef]
- Stavropoulou, F. The Consistent Vehicle Routing Problem with heterogeneous fleet. Comput. Oper. Res. 2022, 140, 105644. [Google Scholar] [CrossRef]
- Muñoz-Herrera, S.; Suchan, K. Local Optima Network Analysis of Multi-Attribute Vehicle Routing Problems. Mathematics 2022, 10, 4644. [Google Scholar] [CrossRef]
- Zhang, J.; Zhu, Y.; Li, X.; Ming, M.; Wang, W.; Wang, T. Multi-Trip Time-Dependent Vehicle Routing Problem with Split Delivery. Mathematics 2022, 10, 3527. [Google Scholar] [CrossRef]
- Alshraideh, M.; Mahafzah, B.; Al-Sharaeh, S.; Hawamdeh, Z. A Robotic Intelligent Wheelchair System Based on Obstacle Avoidance and Navigation Functions. J. Exp. Theor. Artif. Intell. 2015, 27, 471–482. [Google Scholar] [CrossRef]
- Min, H. The Multiple Vehicle Routing Problem with Simultaneous Delivery and Pickup. Transp. Res. Part A Gen. 1989, 23, 377–386. [Google Scholar] [CrossRef]
- Gajpal, Y.; Abad, P. An Ant Colony System (ACS) for Vehicle Routing Problem with Simultaneous Delivery and Pickup. Comput. Oper. Res. 2009, 36, 3215–3223. [Google Scholar] [CrossRef]
- Polat, O.; Kalayci, C.B.; Kulak, O.; Günther, H.O. A Perturbation Based Variable Neighborhood Search Heuristic for Solving the Vehicle Routing Problem with Simultaneous Pickup and Delivery with Time Limit. Eur. J. Oper. Res. 2015, 242, 369–382. [Google Scholar] [CrossRef]
- Xu, D.; Li, K.; Zou, X.; Liu, L. An Unpaired Pickup and Delivery Vehicle Routing Problem with Multi-visit. Transp. Res. Part E Logist. Trans. Rev. 2017, 103, 218–247. [Google Scholar] [CrossRef]
- Bouanane, K.; Amrani, M.E.; Benadada, Y. The Vehicle Routing Problem with Simultaneous Delivery and Pickup: A Taxonomic Survey. Int. J. Logist. Syst. Manag. 2022, 41, 77–119. [Google Scholar] [CrossRef]
- Dror, M.; Trudeau, P. Split Delivery Routing. Nav. Res. Logist. 1990, 37, 383–402. [Google Scholar] [CrossRef]
- Khmelev, A.; Kochetov, Y. A Hybrid VND Method for the Split Delivery Vehicle Routing Problem. Electron. Notes Discret. Math. 2015, 47, 5–12. [Google Scholar] [CrossRef]
- Archetti, C.; Bianchessi, N.; Speranza, M.G. A Column Generation Approach for the Split Delivery Vehicle Routing Problem. Networks 2011, 10, 241–254. [Google Scholar] [CrossRef]
- Wilck, J.H., IV; CAavalier, T.M. A Genetic Algorithm for the Split Delivery Vehicle Routing Problem. Am. J. Oper. Res. 2012, 2, 207–216. [Google Scholar]
- Berbotto, L.; Garcia, S.; Nogales, F. A Randomized Granular Tabu Search Heuristic for the Split Delivery Vehicle Routing Problem. Ann. Oper. Res. 2014, 222, 153–173. [Google Scholar] [CrossRef]
- Bortfeldt, A.; Yi, J. The Split Delivery Vehicle Routing Problem with Three-Dimensional Loading Constraints. Eur. J. Oper. Res. 2020, 282, 545–558. [Google Scholar] [CrossRef]
- Nowak, M.; Ergun, O.; White, C.C., III. An Empirical Study on the Benefit of Split Loads with the Pickup and Delivery Problem. Eur. J. Oper. Res. 2009, 198, 734–740. [Google Scholar] [CrossRef] [Green Version]
- Chen, Q.; Li, K.; Liu, Z. Model and Algorithm for an Unpaired Pickup and Delivery Vehicle Routing Problem with Split Loads. Transp. Res. Part E Logist. Transp. Rev. 2014, 69, 218–235. [Google Scholar] [CrossRef]
- Nowak, M.; Ergun, Ö.; White, C.C., III. Pickup and Delivery with Split Loads. Transp. Sci. 2008, 42, 32–43. [Google Scholar] [CrossRef] [Green Version]
- Salazar-González, J.J.; Santos-Hernández, B. The Split-Demand One-Commodity Pickup-and-Delivery Travelling Salesman Problem. Transp. Res. Part B Methodol. 2015, 75, 58–73. [Google Scholar] [CrossRef]
- Şahin, M.; Çavuşlar, G.; Öncan, T.; Şahin, G.; Aksu, D.T. An Efficient Heuristic for the Multi-Vehicle One-To-One Pickup and Delivery Problem with Split Loads. Transp. Res. Part C Emerg. Technol. 2013, 27, 169–188. [Google Scholar] [CrossRef]
- Li, Z.P.; Zhao, F.; Liu, H.W. Intelligent Water Drops Algorithm for Vehicle Routing Problem with Multiple Time Windows. Oper. Res. Manag. Sci. 2015, 24, 1–10. [Google Scholar]
- Wolfinger, D. A Large Neighborhood Search for the Pickup and Delivery Problem with Time Windows, Split Loads and Transshipments. Comput. Oper. Res. 2021, 126, 105110. [Google Scholar] [CrossRef]
- Ren, T.; Luo, T.; Jia, B.; Yang, B.; Wang, L.; Xing, L. Improved Ant Colony Optimization for the Vehicle Routing Problem with Split Pickup and Split Delivery. Swarm Evol. Comput. 2023, 77, 101228. [Google Scholar] [CrossRef]
- Bortfeldt, A. A Hybrid Algorithm for the Capacitated Vehicle Routing Problem with Three-Dimensional Loading Constraints. Comput. Oper. Res. 2012, 39, 2248–2257. [Google Scholar] [CrossRef]
- Yu, V.F.; Aloina, G.; Susanto, H.; Effendi, M.K.; Lin, S.-W. Regional Location Routing Problem for Waste Collection Using Hybrid Genetic Algorithm-Simulated Annealing. Mathematics 2022, 10, 2131. [Google Scholar] [CrossRef]
- Jiang, H.; Wu, Y.; Zhang, Q. Optimization of Ordering and Allocation Scheme for Distributed Material Warehouse Based on IGA-SA Algorithm. Mathematics 2020, 8, 1746. [Google Scholar] [CrossRef]
- Su, X.X.; Wang, H.W.; Qin, H.; Wang, K. Hybrid Heuristic Algorithm for Solving Multi-Distributor Vehicle Path Problem. Oper. Res. Manag. 2022, 31, 42–47. [Google Scholar]
- Lacomme, P.; Toussaint, H.; Duhamel, C. A GRASP × ELS for the Vehicle Routing Problem with Basic Three-Dimensional Loading Constraints. Eng. Appl. Artif. Intell. 2013, 26, 1795–1810. [Google Scholar] [CrossRef]
Parameter | Description |
---|---|
C | The fixed costs of vehicle operation |
C | The variable costs per unit distance travelled |
N | The number of customers |
V | The set of nodes (V = 0, 1, 2, 3, …, N, |
where 0 denotes the distribution center; | |
1, 2, …, N denotes customer points) | |
K | The number of vehicles to be used |
SV | The set of vehicles (SV = 1, 2, 3, …, K) |
d | The distance from the customer i to the customer j |
M_W | The maximum load of the vehicle |
M_V | The maximum volume of the vehicle |
m | The weight of the shipments of the ith customer |
to be delivered. | |
v | The volume of the shipments of the ith customer |
to be delivered. | |
m | The weight of the shipments to be picked up from the |
ith customer. | |
v | The volume of the shipments to be picked up from the |
ith customer. | |
m | The weight of shipments on the vehicle k before |
it is sent to the customer j after finishing | |
pickup and delivery at the customer i. | |
v | The volume of shipments on the vehicle k before |
it is sent to the customer j after finishing | |
pickup and delivery at the customer i. |
Serial No. | X | Y | No. of Delivery | Volume Set (m) | Weight Set (kg) | No. of Pickup | Volume Set (m) | Weight Set (kg) |
---|---|---|---|---|---|---|---|---|
0 | 25 | 25 | - | - | - | - | - | - |
1 | 26 | 5 | 12 | {2.5, 2.0, 1.1, 0.5, 0.8, 2.0, 1.7, 0.7, 1.7, 0.8, 2.1, 1.6} | {1.6, 1.2, 0.5, 1.9, 1.4, 1.5, 1.4, 1.0, 1.8, 0.7, 1.7, 2.1} | 6 | {1.7, 1.9, 2.5, 1.2, 1.3, 1.2 } | {1.9, 1.2, 2, 1.4, 1.1, 2.1} |
2 | 17 | 31 | 3 | {1.3, 1.1, 0.1} | {1.2, 2.2, 0.2} | 5 | {0.9, 0.9, 1.1, 1.2, 1.7} | {0.3, 2.0, 0.6, 0.5, 1.7} |
3 | 14 | 22 | 4 | {1.5, 1.7, 0.1, 1.9} | {0.1, 1.5, 1.6, 0.8} | 12 | {0.8, 1.6, 2.3, 1.4, 0.7, 1.2, 0.4, 1.9, 1.2, 2.2, 1.7, 2.3} | {1.7, 0.7, 2.1, 1.1, 2.2, 2.2, 0.2, 2.3, 1.4, 1.7, 1.7, 1.1} |
4 | 35 | 26 | 5 | {1.3, 0.7, 1.2, 2.1, 1.1} | {1.7, 1.1, 1.4, 1.9, 1.4} | 8 | {1.1, 2.1, 0.6, 2.5, 2.5, 1.8, 1.1, 2.2} | {0.7, 1.5, 2.5, 1.2, 1.8, 0.3, 2.4, 1.5} |
5 | 30 | 42 | 10 | {1.2, 0.9, 0.1, 1.0, 1.2, 1.7, 1.4, 2.3, 0.1, 0.5} | {2.1, 0.4, 0.2, 1.4, 0.9, 0.8, 1.6, 1.1, 0.6, 0.9} | 4 | {1.0, 0.5, 2.3, 2.1} | {1.9, 2.3, 0.9, 1.5} |
6 | 10 | 11 | 8 | {2.4, 0.8, 1.1, 1.7, 1.5, 0.5, 1.6, 0.7} | {1.8, 2.1, 1.5, 0.9, 2.2, 1.1, 0.6, 0.9} | 3 | {1.1, 2.0, 1.5} | {2.1, 0.8, 1.1} |
7 | 41 | 21 | 3 | {1.5, 1.1, 1.3} | {1.2, 1.9, 0.8} | 5 | {2.5, 1.8, 1.1, 1.3, 1.9} | {1.8, 1.3, 0.4, 1.6, 1.2} |
8 | 44 | 12 | 5 | {0.9, 2.5, 1.2, 1.4, 1.1} | {1.6, 1.9, 1.5, 2.0, 1.3} | 7 | {0.4, 0.9, 2.2, 0.6, 1.2, 1.3, 2.4} | {0.5, 0.8, 2.2, 1.2, 1.5, 0.6, 0.1} |
Parameter | Description | Value |
---|---|---|
M | Vehicle load | 15 kg |
V | Vehicle volume | 15 m |
C | Vehicle start-up costs | 6 |
C | Vehicle change costs | 1 |
P | Crossover probability | 0. 9 |
P | Mutation probability | 0. 1 |
POPSIZE | Population size | 40 |
Generations | Evolutionary algebra | 50 |
tournament_size | Select operation | 5 |
Tend | Termination temperature | 1 |
w | Inertia factor | 0.2 |
C | Self-perception factor | 0.4 |
C | Social perception factor | 0.4 |
Routes | Space Utilization | Capacity Utilization | |
---|---|---|---|
Vehicle 1 | [0, 16, 8, 10, 0] | 92.7% | 98.7% |
Vehicle 2 | [0, 16, 7, 0] | 93.3% | 72.7% |
Vehicle 3 | [0, 12, 4, 0] | 78.7% | 81.3% |
Vehicle 4 | [0, 12, 3, 0] | 90.7% | 96.7% |
Vehicle 5 | [0, 13, 3, 2, 0] | 71.3% | 77.3% |
Vehicle 6 | [0, 11, 1, 13, 0] | 97.3% | 98.7% |
Vehicle 7 | [0, 1, 15, 0] | 82.7% | 94.7% |
Vehicle 8 | [0, 6, 15, 0] | 79.3% | 99.3% |
Vehicle 9 | [0, 5, 14, 0] | 95.3% | 93.3% |
Vehicle 10 | [0, 9, 14, 0] | 79.8% | 76.7% |
GA-SA Average | 86.1% | 88.9% | |
GA Average | 71.2% | 74.8% | |
PSO Average | 60.9% | 65.7% |
Delivery | Pickup | Mean | |
---|---|---|---|
8 Customers Instance | |||
pickup and delivery | - | - | 288.2 |
delivery + pickup | 254.3 | 271.4 | 525.7 |
Growth multiplier | - | - | 82.4% |
16 Customers Instance | |||
pickup and delivery | - | - | 561.1 |
delivery + pickup | 515.6 | 500.7 | 1016.3 |
Growth multiplier | - | - | 81.1% |
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. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, Y.; Qin, Z.; Liu, J. An Improved Genetic Algorithm for the Granularity-Based Split Vehicle Routing Problem with Simultaneous Delivery and Pickup. Mathematics 2023, 11, 3328. https://doi.org/10.3390/math11153328
Liu Y, Qin Z, Liu J. An Improved Genetic Algorithm for the Granularity-Based Split Vehicle Routing Problem with Simultaneous Delivery and Pickup. Mathematics. 2023; 11(15):3328. https://doi.org/10.3390/math11153328
Chicago/Turabian StyleLiu, Yuxin, Zihang Qin, and Jin Liu. 2023. "An Improved Genetic Algorithm for the Granularity-Based Split Vehicle Routing Problem with Simultaneous Delivery and Pickup" Mathematics 11, no. 15: 3328. https://doi.org/10.3390/math11153328
APA StyleLiu, Y., Qin, Z., & Liu, J. (2023). An Improved Genetic Algorithm for the Granularity-Based Split Vehicle Routing Problem with Simultaneous Delivery and Pickup. Mathematics, 11(15), 3328. https://doi.org/10.3390/math11153328