Research on Task Assignment Method Based on Multi-Strategy Improved Whale Migration Hybrid Genetic Algorithm
Featured Application
Abstract
1. Introduction
1.1. Literature Review
1.2. Research Gaps and Contributions
- (1)
- A constrained task-assignment model is formulated for multi-unmanned-vehicle logistics distribution. The model jointly considers vehicle fixed costs, load-dependent energy consumption, vehicle-capacity limitations, customer service time windows, and route-continuity requirements. Hard operational requirements are represented through explicit feasibility constraints, whereas violations of customer time windows are handled through a soft-constraint penalty mechanism. This formulation provides a unified optimization objective for task allocation and route planning in practical distribution scenarios.
- (2)
- A coordinated hybrid optimization framework integrating genetic evolution with hierarchical whale migration is developed. Rather than simply executing the GA and WMA independently or sequentially, the proposed framework uses binary tournament selection and an improved order-crossover operator to generate and recombine candidate routes. The resulting population is then reorganized according to fitness and further optimized through hierarchical whale-migration updates, dynamic mutation, and local route refinement. This coordinated search process improves population diversity, convergence stability, and solution feasibility under coupled operational constraints.
- (3)
- The population is divided into a multi-level structure based on fitness values, where high-level individuals dominate the convergence of global exploration. A hierarchical competition and cooperation mechanism for the whale swarm is established, and individuals achieve efficient information flow through intra-layer local competition and cross-layer information interaction. Low-level individuals improve optimization accuracy via local competition, which strengthens the robustness of the algorithm in complex constrained delivery scenarios and simultaneously optimizes convergence speed and global search efficiency, effectively addressing the deficiency of a single information transmission mode in traditional whale swarm algorithms.
- (4)
- A route-oriented refinement mechanism is constructed by combining an iteration-dependent mutation strategy with 2-opt local search. The mutation probability is gradually decreased during the optimization process to encourage broader exploration in the early stage and improve search stability in the later stage, while the 2-opt operator refines promising routes by eliminating inefficient path segments. Together with the hierarchical competition mechanism, these operators improve the balance between population-level exploration and solution-level local refinement. Their individual contributions are further evaluated through ablation experiments under identical experimental settings.
2. Model Construction
2.1. Problem Description
- (1)
- The model is specifically defined as follows:
| Symbol | Description |
|---|---|
| Customer center (excluding distribution centers) | |
| Unmanned vehicle set, including vehicles | |
| Electricity cost coefficient | |
| Maximum load capacity of the unmanned vehicle | |
| Distance from node to node | |
| Load of the -th unmanned vehicle traveling from to | |
| Required load at customer point | |
| Fixed cost of the unmanned vehicle | |
| Arrival time of vehicle at customer | |
| Advance penalty coefficient | |
| Late penalty coefficient | |
| Vehicle current load | |
| Unit energy consumption per distance with load | |
| No-load battery consumption per unit distance | |
| Full-load battery consumption per unit distance | |
| Time window penalty for vehicle at customer | |
| Total energy consumption | |
| Transportation energy cost | |
| Fixed vehicle cost | |
| Time window penalty cost | |
| Earliest allowable service time of customer | |
| Latest allowable service time of customer | |
| Electricity consumption of vehicle on arc → | |
| Time window penalty of vehicle serving customer | |
| Binary decision variable: if vehicle k travels from node to node otherwise | |
| Travel time from node to node | |
| A sufficiently large positive constant used to deactivate conditional constraints | |
| Visiting-order variable of customer |
- (2)
- Reducing distribution costs is an important optimization objective of the urban logistics distribution system. In practical logistics distribution tasks, the task assignment process should prioritize economic cost as the core orientation. Its key objective is to minimize the overall distribution cost while ensuring that goods are delivered efficiently and on time. Economic cost remains a crucial influencing factor throughout the entire task assignment process.
- (3)
- Objective Function
- (4)
- Constraint Functions
2.2. Whale Migration Algorithm
2.3. Genetic Algorithm
3. Multi-Strategy Improved Whale Migration Hybrid Genetic Algorithm
3.1. Hybrid Genetic Algorithm Strategy
3.1.1. Binary Tournament Selection Strategy
3.1.2. Improved OX Operator
3.1.3. Dynamic Mutation Strategy and 2-Opt Local Search Operator
3.2. Hierarchical Competition Strategy
3.3. Whale Migration Hybrid Genetic Algorithm
| Algorithm 1 WMA-GA |
| Inputs: Population size , maximum number of iterations , crossover probability , maximum mutation probability , local search probability Outputs: optimal solution |
| 1. Initialize population , calculate fitness values, and record the optimal value |
| 2. for gen = 1 to do |
| 3. // GA module |
| 4. Select parent population via binary tournament selection 5. for each pair in parent population do |
| 6. if rand() < then |
| 7. Perform improved OX to generate offspring 8. else 9. Keep parents as offspring |
| 10. end if |
| 11. 12. for each offspring in Offspring do |
| 13. if rand() < then 14. Perform mutation 15. end if 16. if rand() < 17. Perform 2-opt local search |
| 18. end if |
| 19. Update the population individuals |
| 20. end for |
| 21. // WMA module |
| 22. Sort the population by fitness and divide into layers |
| 23. for each individual m do |
| 24. if individual m is a follower then |
| 25. Search for neighboring individuals in the same layer for competition |
| 26. if the fitness of the individual is better than that of the neighboring individual |
| 27. Update position according to Equation (25)//Winner update: local exploitation |
| 28. else |
| 29. Update position according to Equation (26)//Loser update: global exploration 30. end if 31. else//individual m is a leader 32. Update position according to Equation (19)//Leader update: convergence guidance 33. end if 34. end for 35. Calculate fitness values, retain better individuals, and update the global best |
| 36. end for 37. Output the optimal solution |
4. Testing and Result Analysis of the WMA-GA
4.1. Test Function Selection
4.2. Algorithm Performance Test
4.2.1. Time Complexity Analysis of the Algorithm
4.2.2. Results Analysis
4.2.3. Statistical Analysis
5. Multi-Task Assignment of Multiple Unmanned Vehicles Based on the Whale Migration Algorithm Combined with the Genetic Algorithm
5.1. Application of WMA-GA in Task Allocation for Logistics Unmanned Vehicles
- (1)
- Encoding and Decoding
- (2)
- Feasibility Check and Repair
- (3)
- Algorithm Initialization
5.2. Simulation Experiment
- (1)
- The delivery task involves two types of nodes, namely the distribution center and customers. The distribution center serves as the starting point and end point for unmanned vehicles to perform delivery tasks, as well as the location for loading goods, and undertakes functions such as scheduling, sorting, and packaging. The location coordinates, specific demand, and time window for receiving delivery services of each customer are all known.
- (2)
- There is only one distribution center with known location coordinates. All logistics unmanned vehicles depart from the distribution center and return to it after completing their tasks.
- (3)
- One logistics unmanned vehicle can serve multiple customers, but each customer can only be served by one unmanned vehicle exactly once.
- (4)
- The driving speed of the unmanned vehicles is known and is not affected by natural conditions, human factors, or other external factors. The charging problem during delivery is not considered, and only the cost of unified charging at night is taken into account.
- (5)
- The load capacity of each vehicle shall not exceed the maximum load capacity of the unmanned vehicle. It is assumed that when the unmanned vehicle arrives at the service point for delivery, the service time is 0 and no power is consumed.
- (6)
- During the driving process, the unmanned vehicles must comply with traffic rules and deliver goods in accordance with the predetermined route. During the delivery process, the unmanned vehicles will not withdraw midway due to damage or other reasons, unless an emergency occurs requiring intervention or maintenance.
5.2.1. Experimental Settings
5.2.2. Small-Scale Benchmark Instance Analysis
5.2.3. Medium- and Large-Scale Benchmark Instance Analysis
5.2.4. Runtime Analysis for Medium- and Large-Scale Instances
5.2.5. Wall-Clock-Equalized Supplementary Comparison
5.2.6. Statistical Significance Analysis of Task-Assignment Results
5.3. Sensitivity Analysis
5.4. Ablation Study
- Full WMA-GA: Includes all improved modules and serves as the performance baseline.
- Without the 2-opt local search module: Only the 2-opt-based local search operator is removed.
- The improved OX operator and binary tournament selection strategy are combined into the “GA improvement module”. In the ablation experiment, after removing this module, the algorithm adopts the original OX crossover and the default selection mechanism of WMA.
- Without the hierarchical competition framework: Only the hierarchical competition update strategy is removed, reverting to the original WMA mechanism.
6. Discussion
7. Conclusions and Future Work
- (1)
- A task allocation model for logistics unmanned vehicle delivery is established with practical constraints, including vehicle capacity, time windows, and cruising range. A unified fitness function is constructed, which takes the minimum total cost as the optimization objective, enabling the algorithm to effectively solve the problem to a certain extent.
- (2)
- The proposed WMA-GA integrates GA-based recombination, dynamic mutation, 2-opt route refinement, and hierarchical whale-migration competition, thereby improving the balance between global exploration and local exploitation.
- (3)
- Simulation experiments verify the effectiveness of the WMA-GA. Comparative tests are carried out based on benchmark functions. The results demonstrate that WMA-GA possesses excellent global search and local exploitation capabilities. It can effectively address the unmanned vehicle distribution task allocation problem and outperforms several mainstream algorithms.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Mogire, E.; Kilbourn, P.; Luke, R. Last Mile Delivery Technologies for Electronic Commerce: A Bibliometric Review. J. Electron. Commer. Organ. 2025, 23, 1–26. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; You, X.; Zhang, X.; Zuo, J. Construction of Dynamic Trafficability Map for Unmanned Vehicles Considering Multiple Environmental Factors and Path Planning. Sci. Rep. 2025, 15, 9957. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, X.; Duan, Z.; Yue, H. Route Optimization for Unmanned Delivery Vehicles Using Improved Q-Learning and Lego-Loma. J. Eng. Proj. Prod. Manag. 2026, 16, 2025-196. [Google Scholar] [CrossRef] [Scilit]
- Wen, J.; Wang, F.; Su, Y. A Bi-Layer Collaborative Planning Framework for Multi-UAV Delivery Tasks in Multi-Depot Urban Logistics. Drones 2025, 9, 512. [Google Scholar] [CrossRef] [Scilit]
- Guo, S.; Hu, H.; Xue, H. A Two-Echelon Multi-Trip Capacitated Vehicle Routing Problem with Time Windows for Fresh E-Commerce Logistics under Front Warehouse Mode. Systems 2024, 12, 205. [Google Scholar] [CrossRef] [Scilit]
- Jiang, H.; Zhang, Z.; Wang, C.; Xiang, X. A Multiobjective Evolutionary Algorithm Incorporating Neighborhood Detection for the Vehicle Routing Problem with Soft Time Windows. Complex Intell. Syst. 2025, 11, 419. [Google Scholar] [CrossRef] [Scilit]
- Yanhu, Z.; Lijuan, Y.; ShuMei, K.; Decheng, M. Research on Multi-Objective Optimization of Multi-Endpoint VRP with Time Window for the Distribution of Seasonal Products by Multi-Homing Heterogeneous Fleets. Expert Syst. Appl. 2026, 298, 129595. [Google Scholar] [CrossRef] [Scilit]
- Wei, Y.; Wang, Y.; Hu, X. The two-echelon truck–unmanned ground vehicle routing problem with time-dependent travel times. Transp. Res. Part E Logist. Transp. Rev. 2025, 194, 103954. [Google Scholar] [CrossRef] [Scilit]
- Miller, N.; Goulet, N.; Ayalew, B. Energy-Aware Collaborative Teaming and Route Planning for Unmanned Ground Vehicles. IFAC-PapersOnLine 2024, 58, 1007–1012. [Google Scholar] [CrossRef] [Scilit]
- Gao, X.; Liu, S.; Wang, Y.; Yu, D.Z.; Peng, Y.; Ma, X. Consideration of Carbon Emissions in Multi-Trip Delivery Optimization of Unmanned Vehicles. Sustainability 2024, 16, 2357. [Google Scholar] [CrossRef] [Scilit]
- Ji, Y.; Su, K.; Chen, C. Route Optimization for Electric Vehicle Cold Chain Delivery Under a Mixed Public–Private Charging Mode: A China-Oriented Case Study. Appl. Sci. 2026, 16, 4700. [Google Scholar] [CrossRef] [Scilit]
- Álvarez, P.; Serrano-Hernandez, A.; Lerga, I.; Faulin, J. Using Modeling Techniques for Sustainable Last Mile Deliveries in Urban Areas: A VRP Simulation in Pamplona’s Old Town Using Cargo Bikes. Comput. Ind. Eng. 2026, 216, 111928. [Google Scholar] [CrossRef] [Scilit]
- Wang, C.; Cao, Z.; Wu, Y.; Teng, L.; Wu, G. Deep Reinforcement Learning for Solving Vehicle Routing Problems With Backhauls. IEEE Trans. Neural Netw. Learn. Syst. 2025, 36, 4779–4793. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, Y.; Hong, X.; Wang, Y.; Zhao, J.; Sun, G.; Qin, B. Token-Based Deep Reinforcement Learning for Heterogeneous VRP with Service Time Constraints. Knowl.-Based Syst. 2024, 300, 112173. [Google Scholar] [CrossRef] [Scilit]
- Yan, D.; Guan, Q.; Ou, B.; Yan, B.; Cao, H. Graph-Driven Deep Reinforcement Learning for Vehicle Routing Problems with Pickup and Delivery. Appl. Sci. 2025, 15, 4776. [Google Scholar] [CrossRef] [Scilit]
- Zhang, W.; Wang, X.; Mu, Y.; Deng, M.; Li, P. Deep Reinforcement Learning with Evolutionary Algorithm-Guided Imitation for Capacitated Vehicle Routing Problems. Appl. Soft Comput. 2025, 184, 113705. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Wei, J.; Luo, T.; Zhou, J. Mcaaco: A Multi-Objective Strategy Heuristic Search Algorithm for Solving Capacitated Vehicle Routing Problems. Complex Intell. Syst. 2025, 11, 211. [Google Scholar] [CrossRef] [Scilit]
- Li, Q.; Fan, T.W.; Kei, L.S.; Li, Z. Scalable and Energy-Efficient Task Allocation in Industry 4.0: Leveraging Distributed Auction and IBPSO. PLoS ONE 2025, 20, e0314347. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, H.; Zhang, Y.; Zhao, F.; Zhou, L.; Zhou, B. Rich Vehicle Routing Optimization Based on Variable Neighborhood Descent and Differential Evolution Algorithm. Sci. Rep. 2025, 15, 32887. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dupanloup, I.; Schneider, S.; Excoffier, L. A Simulated Annealing Approach to Define the Genetic Structure of Populations. Mol. Ecol. 2002, 11, 2571–2581. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chávez, J.J.S.; Escobar, J.W.; Echeverri, M.G. A Multi-Objective Pareto Ant Colony Algorithm for the Multi-Depot Vehicle Routing Problem with Backhauls. Int. J. Ind. Eng. Comput. 2016, 7, 35–48. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Chen, Y.; Li, Y.; Zhang, T.; Wu, T. A Two-Stage Hybrid NSGA-III with BWO for Path Planning and Task Allocation in Agricultural Land Preparation. PLoS ONE 2025, 20, e0315670. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, G.; Gao, J.; Chen, D. Research on Vehicle Routing Problem with Time Windows Based on Improved Genetic Algorithm and Ant Colony Algorithm. Electronics 2025, 14, 647. [Google Scholar] [CrossRef] [Scilit]
- Hvattum, L.M. Where to Split in Hybrid Genetic Search for the Capacitated Vehicle Routing Problem. Algorithms 2025, 18, 165. [Google Scholar] [CrossRef] [Scilit]
- Stamadianos, T.; Taxidou, A.; Marinaki, M.; Marinakis, Y. Swarm Intelligence and Nature Inspired Algorithms for Solving Vehicle Routing Problems: A Survey. Oper. Res. 2024, 24, 47. [Google Scholar] [CrossRef] [Scilit]
- Chang, Y.; Yu, J.; Wang, Y.; Xie, X. An Improved Salp Swarm Algorithm for Solving a Multi-Temperature Joint Distribution Route Optimization Problem. Mathematics 2025, 13, 677. [Google Scholar] [CrossRef] [Scilit]
- Xia, M.; Chong, Q.; Dong, M. A Constrained Multi-Objective Evolutionary Algorithm with Two-Stage Resources Allocation. Swarm Evol. Comput. 2023, 79, 101313. [Google Scholar] [CrossRef] [Scilit]
- Ghasemi, M.; Deriche, M.; Trojovský, P.; Mansor, Z.; Zare, M.; Trojovská, E.; Abualigah, L.; Ezugwu, A.E.; Mohammadi, S. kadkhoda An Efficient Bio-Inspired Algorithm Based on Humpback Whale Migration for Constrained Engineering Optimization. Results Eng. 2025, 25, 104215. [Google Scholar] [CrossRef] [Scilit]
- Meniz, B. Genetic Algorithm Optimization with Selection Operator Decider. Arab. J. Sci. Eng. 2025. [Google Scholar] [CrossRef] [Scilit]
- Bolotbekova, A.; Hakli, H.; Beskirli, A. Trip Route Optimization Based on Bus Transit Using Genetic Algorithm with Different Crossover Techniques: A Case Study in Konya/Türkiye. Sci. Rep. 2025, 15, 2491. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nakanishi, Y.; Doi, M.; Sato, H. Impact of Static/Dynamic Tournament Sizing in Evolutionary Multi- and Many-Objective Optimization. J. Adv. Comput. Intell. Intell. Inform. 2026, 30, 311–325. [Google Scholar] [CrossRef] [Scilit]
- Zheng, H.; Shi, X.; Pan, Z.; Wang, Y.; Yun, X. A Multi-Load AGV Task Allocation Method Considering Battery Constraints. J. Phys. Conf. Ser. 2025, 3108, 012006. [Google Scholar] [CrossRef] [Scilit]
- Palamutçuoğlu, B.T.; Çavuşoğlu, S.; Çamlı, A.Y.; Virlanuta, F.O.; Bacalum, S.; Züngün, D.; Moisescu, F. Solution of the Capacity-Constrained Vehicle Routing Problem Considering Carbon Footprint Within the Scope of Sustainable Logistics with Genetic Algorithm. Sustainability 2025, 17, 727. [Google Scholar] [CrossRef] [Scilit]
- Gopal, G.; Kumar, R.; Jawa, I.; Kumar, N. Enhanced Order Crossover for Permutation Problems. Int. J. Innov. Res. Sci. Eng. Technol. 2015, 4, 151–157. [Google Scholar] [CrossRef] [Scilit]
- Janson, S.; Middendorf, M. A Hierarchical Particle Swarm Optimizer and Its Adaptive Variant. IEEE Trans. Syst. Man Cybern. Part B 2005, 35, 1272–1282. [Google Scholar] [CrossRef]
- Ge, Y.; Chen, D.; Zou, F.; Fu, M.; Ge, F. Large-Scale Multiobjective Optimization with Adaptive Competitive Swarm Optimizer and Inverse Modeling. Inf. Sci. 2022, 608, 1441–1463. [Google Scholar] [CrossRef] [Scilit]
- Du, N.; Ji, Y.; Wu, C.; Hou, A.; Nie, W. Scheduling DAG-Structured Workloads Based on Whale Optimization Algorithm. J. Supercomput. 2025, 81, 911. [Google Scholar] [CrossRef] [Scilit]
- Pérez-Delgado, M.-L.; Román-Gallego, J.-Á.; Pérez-Delgado, M.-L.; Román-Gallego, J.-Á. Computational Complexity of Swarm-Based Algorithms: A Detailed Analysis. AIMS Math. 2025, 10, 15539–15587. [Google Scholar] [CrossRef]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Scilit]
- Xue, J.; Shen, B. Dung Beetle Optimizer: A New Meta-Heuristic Algorithm for Global Optimization. J. Supercomput. 2023, 79, 7305–7336. [Google Scholar] [CrossRef] [Scilit]
- Xue, J.; Shen, B. A Novel Swarm Intelligence Optimization Approach: Sparrow Search Algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef] [Scilit]
- Liu, L.; Chen, Y.; Li, A.; Chen, Y. Research on Intelligent Logistics Warehouse Scheduling Optimization Based on Integrated Reinforcement Learning. Int. J. High Speed Electron. Syst. 2025, 35, 2540715. [Google Scholar] [CrossRef] [Scilit]
- Zhu, Y.; Song, Q.; Li, M. Optimization of Multi-AGV Task Allocation Based on an Improved PSO Algorithm. PLoS ONE 2025, 20, e0321616. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Majhi, N.; Mishra, R. A Novel Hybrid Genetic Algorithm and Nelder-Mead Approach and It’s Application for Parameter Estimation. F1000Research 2025, 13, 1073. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fu, H.; Li, H.; Ramayah, T.; Fu, A. A Hybrid Genetic Based Approach for Solving Vehicle Routing Problem in Cold Chain Logistics Distribution. J. Logist. Inform. Serv. Sci. 2023, 10, 362–387. [Google Scholar] [CrossRef] [Scilit]











| Function | Type | Function Name | Dimension | Range | Optimal Value |
|---|---|---|---|---|---|
| F1 | Unimodal | Shifted and Rotated Bent Cigar Function | 100 | [−100, 100] | 100 |
| F2 | Multimodal | Shifted and Rotated Rastrigin’s Function | 100 | [−100, 100] | 500 |
| F3 | Multimodal | Shifted and Rotated Lunacek Bi_Rastrigin Function | 100 | [−100, 100] | 700 |
| F4 | Hybrid | Hybrid Function 2 (N = 3) | 100 | [−100, 100] | 1200 |
| F5 | Hybrid | Hybrid Function 4 (N = 4) | 100 | [−100, 100] | 1400 |
| F6 | Hybrid | Hybrid Function 6 (N = 5) | 100 | [−100, 100] | 1900 |
| F7 | Composition | Composition Function 1 (N = 3) | 100 | [−100, 100] | 2100 |
| F8 | Composition | Composition Function 3 (N = 4) | 100 | [−100, 100] | 2300 |
| F9 | Composition | Composition Function 5 (N = 5) | 100 | [−100, 100] | 2500 |
| Function | Statistic | GA | SSA | GWO | DBO | WMA | WMA-GA |
|---|---|---|---|---|---|---|---|
| F1 | Mean | 3.06 × 1011 | 2.68 × 1011 | 4.83 × 1010 | 7.52 × 1010 | 3.12 × 108 | 2.44 × 107 |
| Std | 4.29 × 1010 | 1.57 × 1010 | 8.58 × 109 | 6.19 × 1010 | 5.66 × 107 | 4.66 × 106 | |
| Best | 2.43 × 1011 | 2.48 × 1011 | 3.74 × 1010 | 2.68 × 1010 | 2.53 × 108 | 2.02 × 107 | |
| F2 | Mean | 2.21 × 103 | 2.04 × 103 | 1.19 × 103 | 1.58 × 103 | 9.93 × 102 | 8.69 × 102 |
| Std | 1.27 × 102 | 2.77 × 101 | 6.47 × 101 | 2.60 × 102 | 3.36 × 101 | 3.68 × 101 | |
| Best | 2.05 × 103 | 2.02 × 103 | 1.09 × 103 | 1.33 × 103 | 3.68 × 101 | 8.07 × 102 | |
| F3 | Mean | 7.70 × 103 | 4.01 × 103 | 2.02 × 103 | 2.51 × 103 | 2.24 × 103 | 1.50 × 103 |
| Std | 5.29 × 102 | 4.44 × 101 | 1.03 × 102 | 1.49 × 102 | 1.26 × 102 | 2.66 × 102 | |
| Best | 7.18 × 103 | 3.94 × 103 | 1.92 × 103 | 2.30 × 103 | 2.15 × 103 | 1.24 × 103 | |
| F4 | Mean | 1.58 × 1011 | 1.89 × 1011 | 7.54 × 109 | 5.06 × 109 | 2.22 × 108 | 3.30 × 107 |
| Std | 2.76 × 1010 | 1.86 × 1010 | 3.02 × 109 | 1.88 × 109 | 5.31 × 107 | 1.23 × 107 | |
| Best | 1.11 × 1011 | 1.58 × 1011 | 4.19 × 109 | 3.14 × 109 | 1.46 × 108 | 5.22 × 107 | |
| F5 | Mean | 8.47 × 107 | 1.32 × 108 | 1.00 × 107 | 1.77 × 107 | 1.11 × 106 | 6.47 × 105 |
| Std | 3.50 × 107 | 8.03 × 107 | 7.03 × 106 | 7.45 × 106 | 3.03 × 105 | 2.53 × 105 | |
| Best | 4.62 × 107 | 5.72 × 107 | 4.03 × 106 | 1.10 × 107 | 6.08 × 105 | 4.14 × 105 | |
| F6 | Mean | 9.70 × 109 | 2.43 × 1010 | 7.30 × 107 | 9.69 × 107 | 1.87 × 106 | 5.07 × 103 |
| Std | 5.31 × 109 | 2.38 × 109 | 5.95 × 107 | 9.59 × 107 | 2.81 × 105 | 2.32 × 103 | |
| Best | 1.39 × 109 | 2.17 × 1010 | 3.37 × 106 | 1.45 × 107 | 1.54 × 106 | 2.14 × 103 | |
| F7 | Mean | 4.37 × 103 | 4.97 × 103 | 2.98 × 103 | 3.89 × 103 | 2.92 × 103 | 2.63 × 103 |
| Std | 1.30 × 102 | 1.13 × 102 | 7.39 × 101 | 2.17 × 102 | 5.87 × 101 | 3.23 × 101 | |
| Best | 4.21 × 103 | 4.84 × 103 | 2.90 × 103 | 3.64 × 103 | 2.87 × 103 | 2.59 × 103 | |
| F8 | Mean | 5.72 × 103 | 6.16 × 103 | 3.59 × 103 | 4.41 × 103 | 3.47 × 103 | 3.11 × 103 |
| Std | 1.78 × 102 | 4.22 × 102 | 1.21 × 102 | 1.54 × 102 | 7.04 × 101 | 4.64 × 101 | |
| Best | 5.54 × 103 | 5.67 × 103 | 3.47 × 103 | 4.19 × 103 | 3.36 × 103 | 3.06 × 103 | |
| F9 | Mean | 5.05 × 104 | 2.81 × 104 | 5.82 × 103 | 1.26 × 104 | 3.64 × 103 | 3.49 × 103 |
| Std | 1.36 × 104 | 2.02 × 103 | 4.61 × 102 | 6.31 × 103 | 1.01 × 102 | 6.34 × 101 | |
| Best | 3.39 × 104 | 2.57 × 104 | 5.15 × 103 | 6.34 × 103 | 3.49 × 103 | 3.38 × 103 |
| Compared Algorithm | + | = | − |
|---|---|---|---|
| GA | 9 | 0 | 0 |
| SSA | 9 | 0 | 0 |
| GWO | 8 | 1 | 0 |
| DBO | 9 | 0 | 0 |
| WMA | 7 | 2 | 0 |
| Parameter | Symbol | Parameter Settings | Unit |
|---|---|---|---|
| Maximum available vehicles | 10 | vehicles | |
| Maximum load capacity per vehicle | 50 | demand units | |
| Vehicle travel speed | 30 | km/h | |
| Energy consumption per unit distance under no load | 0.5 | kWh/km | |
| Energy consumption per unit distance under full load | 1 | kWh/km | |
| Electricity price coefficient | 1.2 | cost units/kWh | |
| Fixed usage cost of a single vehicle | 75 | cost units |
| Customer | X-Coordinate | Y-Coordinate | Demand | Earliest Arrival Time | Latest Arrival Time |
|---|---|---|---|---|---|
| 1 | 5 | 10 | 3 | 08:15 | 10:13 |
| 2 | 8 | 12 | 10 | 16:12 | 18:59 |
| 3 | 13 | 4 | 7 | 09:44 | 12:50 |
| 4 | 15 | 25 | 10 | 09:53 | 12:08 |
| 5 | 16 | 16 | 7 | 09:21 | 12:32 |
| 6 | 11 | 10 | 1 | 14:44 | 18:20 |
| 7 | 24 | 30 | 3 | 16:03 | 18:19 |
| 8 | 21 | 12 | 5 | 15:43 | 19:06 |
| 9 | 18 | 20 | 10 | 12:31 | 15:27 |
| 10 | 21 | 35 | 10 | 12:58 | 15:41 |
| 11 | 35 | 12 | 4 | 12:15 | 15:22 |
| 12 | 12 | 15 | 8 | 09:08 | 11:59 |
| 13 | 7 | 13 | 10 | 15:26 | 17:48 |
| 14 | 14 | 23 | 5 | 09:43 | 12:31 |
| 15 | 16 | 32 | 9 | 08:24 | 11:44 |
| 16 | 19 | 34 | 2 | 13:53 | 16:11 |
| 17 | 23 | 16 | 5 | 12:51 | 15:46 |
| 18 | 27 | 25 | 10 | 10:19 | 13:06 |
| 19 | 20 | 10 | 8 | 08:20 | 10:36 |
| 20 | 32 | 19 | 4 | 08:33 | 12:11 |
| 21 | 9 | 13 | 7 | 14:22 | 17:20 |
| 22 | 19 | 24 | 3 | 09:34 | 11:23 |
| 23 | 26 | 9 | 2 | 10:32 | 14:04 |
| 24 | 28 | 34 | 10 | 11:23 | 15:32 |
| 25 | 30 | 35 | 4 | 12:00 | 16:23 |
| 26 | 11 | 27 | 1 | 13:12 | 15:23 |
| 27 | 23 | 28 | 2 | 12:24 | 15:21 |
| 28 | 13 | 15 | 4 | 9:12 | 12:21 |
| 29 | 27 | 18 | 3 | 10:22 | 13:45 |
| 30 | 3 | 15 | 6 | 11:34 | 15:23 |
| Parameter | Parameter Settings |
|---|---|
| Population size | 100 |
| Maximum iterations | 500 |
| Crossover probability | 0.8 |
| Tournament size | 2 |
| Number of leaders | 50 |
| Base mutation probability | 0.15 |
| 2-opt local search probability | 0.2 |
| Algorithm | Transportation Cost | Time Window Penalty Cost | Fixed Cost | Total Cost |
|---|---|---|---|---|
| GA | 351.39 | 41.90 | 300 | 693.29 |
| SSA | 373.67 | 36.34 | 300 | 710.01 |
| GWO | 316.23 | 27.21 | 300 | 643.44 |
| WMA | 311.45 | 38.72 | 300 | 650.17 |
| WMA-GA | 285.66 | 24.87 | 300 | 610.53 |
| Customer Scale | Algorithm | Obj | Std | Gap | CPU |
|---|---|---|---|---|---|
| 60 | GA | 1628.23 | 20.35 | −13.24% | 46.28 |
| WMA | 1496.31 | 21.51 | −5.59% | 50.49 | |
| ALNS | 1474.96 | 19.45 | −4.22% | 61.42 | |
| WMA-GA | 1412.67 | 20.14 | — | 73.49 | |
| 70 | GA | 1982.67 | 24.57 | −13.08% | 50.75 |
| WMA | 1817.28 | 24.65 | −5.17% | 66.34 | |
| ALNS | 1784.35 | 23.78 | −3.42% | 75.47 | |
| WMA-GA | 1723.34 | 23.12 | — | 87.76 | |
| 80 | GA | 2545.13 | 28.97 | −11.35% | 54.56 |
| WMA | 2378.69 | 28.40 | −5.14% | 78.25 | |
| ALNS | 2294.84 | 27.41 | −1.68% | 88.43 | |
| WMA-GA | 2256.32 | 26.45 | — | 94.36 | |
| 90 | GA | 3023.76 | 37.28 | −8.27% | 66.48 |
| WMA | 2852.96 | 34.65 | −2.77% | 93.46 | |
| ALNS | 2834.19 | 34.20 | −2.13% | 109.73 | |
| WMA-GA | 2773.83 | 31.57 | — | 123.64 | |
| 100 | GA | 3563.46 | 46.74 | −8.93% | 71.46 |
| WMA | 3412.32 | 41.76 | −4.90% | 123.23 | |
| ALNS | 3378.37 | 40.94 | −3.94% | 135.68 | |
| WMA-GA | 3245.17 | 38.98 | — | 142.21 |
| Customer Scale | Time Budget (s) | GA Mean ± Std | WMA Mean ± Std | ALNS Mean ± Std | WMA-GA Mean ± Std |
|---|---|---|---|---|---|
| 60 | 73.49 | 1605.47 ± 18.91 | 1481.66 ± 20.12 | 1460.93 ± 18.69 | 1415.26 ± 21.15 |
| 80 | 94.36 | 2516.74 ± 27.58 | 2365.85 ± 27.56 | 2288.97 ± 26.13 | 2259.48 ± 27.28 |
| 100 | 142.21 | 3520.61 ± 45.24 | 3395.72 ± 40.74 | 3367.23 ± 39.41 | 3249.91± 40.52 |
| Customer Scale | Compared Algorithm | Adjusted p-Value | Result |
|---|---|---|---|
| 30 | GA | <0.001 | + |
| 30 | SSA | <0.001 | + |
| 30 | GWO | 0.018 | + |
| 30 | WMA | 0.026 | + |
| 60 | GA | <0.001 | + |
| 60 | WMA | 0.004 | + |
| 60 | ALNS | 0.047 | + |
| 70 | GA | <0.001 | + |
| 70 | WMA | 0.004 | + |
| 70 | ALNS | 0.029 | + |
| 80 | GA | <0.001 | + |
| 80 | WMA | 0.002 | + |
| 80 | ALNS | 0.012 | + |
| 90 | GA | <0.001 | + |
| 90 | WMA | 0.001 | + |
| 90 | ALNS | 0.009 | + |
| 100 | GA | <0.001 | + |
| 100 | WMA | 0.001 | + |
| 100 | ALNS | 0.021 | + |
| Pop Size | Obj | CPU |
|---|---|---|
| 50 | 643.76 | 34.21 |
| 100 | 610.25 | 59.46 |
| 150 | 609.44 | 113.54 |
| 200 | 612.76 | 204.97 |
| Obj | CPU | |
|---|---|---|
| 0.6 | 634.33 | 54.59 |
| 0.7 | 632.78 | 57.21 |
| 0.8 | 612.49 | 59.79 |
| 0.9 | 618.62 | 62.46 |
| Obj | CPU | |
|---|---|---|
| 0.05 | 625.46 | 56.75 |
| 0.10 | 618.38 | 58.23 |
| 0.15 | 611.53 | 60.06 |
| 0.20 | 634.29 | 67.34 |
| Obj | CPU | |
|---|---|---|
| 0.2 | 611.14 | 57.24 |
| 0.3 | 627.25 | 61.53 |
| 0.4 | 641.77 | 70.29 |
| 0.5 | 648.36 | 83.75 |
| Parameter | Selected Setting | Compared Setting | Adjusted p-Value | Result |
|---|---|---|---|---|
| Population size | 100 | 50 | 0.006 | + |
| Population size | 100 | 150 | 0.732 | = |
| Population size | 100 | 200 | 0.412 | = |
| Pc | 0.8 | 0.6 | 0.008 | + |
| Pc | 0.8 | 0.7 | 0.012 | + |
| Pc | 0.8 | 0.9 | 0.173 | = |
| Pm | 0.15 | 0.05 | 0.021 | + |
| Pm | 0.15 | 0.10 | 0.196 | = |
| Pm | 0.15 | 0.20 | 0.005 | + |
| PLS | 0.2 | 0.3 | 0.032 | + |
| PLS | 0.2 | 0.4 | 0.006 | + |
| PLS | 0.2 | 0.5 | 0.002 | + |
| Number of Customers | Algorithm | Obj | CPU |
|---|---|---|---|
| 30 | Baseline | 608.29 | 38.76 |
| No-OPT | 624.58 | 34.53 | |
| No-GA | 636.79 | 32.56 | |
| No-HC | 643.54 | 29.14 | |
| 50 | Baseline | 1277.93 | 58.25 |
| No-OPT | 1312.36 | 54.56 | |
| No-GA | 1339.44 | 50.32 | |
| No-HC | 1362.45 | 47.28 | |
| 80 | Baseline | 2278.63 | 92.56 |
| No-OPT | 2325.57 | 85.18 | |
| No-GA | 2456.14 | 79.89 | |
| No-HC | 2476.84 | 77.21 |
| Customers | Comparison | Adjusted p-Value | Result |
|---|---|---|---|
| 30 | No-OPT | 0.081 | = |
| 30 | No-GA | 0.019 | + |
| 30 | No-HC | 0.006 | + |
| 50 | No-OPT | 0.034 | + |
| 50 | No-GA | 0.008 | + |
| 50 | No-HC | 0.003 | + |
| 80 | No-OPT | 0.017 | + |
| 80 | No-GA | 0.002 | + |
| 80 | No-HC | <0.001 | + |
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. |
© 2026 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.
Share and Cite
Yang, Y.; Yang, S.; Li, J.; Cao, L. Research on Task Assignment Method Based on Multi-Strategy Improved Whale Migration Hybrid Genetic Algorithm. Appl. Sci. 2026, 16, 9933. https://doi.org/10.3390/app16199933
Yang Y, Yang S, Li J, Cao L. Research on Task Assignment Method Based on Multi-Strategy Improved Whale Migration Hybrid Genetic Algorithm. Applied Sciences. 2026; 16(19):9933. https://doi.org/10.3390/app16199933
Chicago/Turabian StyleYang, Yu, Shuo Yang, Jianjun Li, and Lin Cao. 2026. "Research on Task Assignment Method Based on Multi-Strategy Improved Whale Migration Hybrid Genetic Algorithm" Applied Sciences 16, no. 19: 9933. https://doi.org/10.3390/app16199933
APA StyleYang, Y., Yang, S., Li, J., & Cao, L. (2026). Research on Task Assignment Method Based on Multi-Strategy Improved Whale Migration Hybrid Genetic Algorithm. Applied Sciences, 16(19), 9933. https://doi.org/10.3390/app16199933
