Submitted:
20 June 2026
Posted:
22 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Analysis and Improvement of Seagull Optimization Algorithm
2.1. Analysis of Seagull Optimization Algorithm
2.1.1. Migration Behavior
- Avoid collisions [19]
- Move to the optimal position [19]
- Optimal location migration [19]
2.1.2. Attack Behavior
2.2. Limitations of Seagull Optimization Algorithm
2.2.1. Room for Improvement in Initial Population Generation
- Lack of population diversity
- Lack of prediction of the optimal solution
2.2.2. Potential Enhancements in the Optimization Process
2.3. Improvement of Seagull Optimization Algorithm
2.3.1. Improvement of Initial Population Generation
- The idea of Latin Hypercube Sampling (LHS)
- Mathematical description of Latin Hypercube Sampling
- Advantages and applications of Latin hypercube sampling
2.3.2. Improvement of Optimization Strategy




| Steps | Methods | Average step length | Search radius |
|---|---|---|---|
| 100 | Levy Flight | 1.3788 ± 0.3522 | 172.0278 ± 306.9391 |
| Linear Random | 0.7969 ± 0.0189 | 29.8907 ± 15.5099 | |
| 500 | Levy Flight | 1.3831 ± 0.3742 | 171.2379 ± 327.3488 |
| Linear Random | 0.7977 ± 0.0193 | 27.5139 ± 14.8903 | |
| 100 | Levy Flight | 1.4121 ± 0.7411 | 204.5708 ± 719.1354 |
| Linear Random | 0.7976 ± 0.0191 | 28.0201 ± 14.7558 |
2.3.3. Pseudo Code of LLSOA
| Algorithm: SOA algorithm based on LHS and Levy modification(LLSOA) |
|---|
| Input: N (pop size), MaxIter, dim, [lb,ub], fobj, opt |
| Output: GBestX, GBestF, curve |
| 1: // Phase 1: Latin Hypercube Sampling Initialization |
| 2: X ← zeros(N,dim) |
| 3: for d = 1:dim, X(:,d) ← (randperm(N)’/N + rand(N,1)/N); end |
| 4: for i = 1:N, [fit(i),unsafe(i)] ← fobj(X(i,:),opt); fit(i) ← fit(i)*(1+0.5*unsafe(i)); end |
| 5: [~,idx] ← sort(fit); X ← X(idx,:); GBestF ← fit(idx(1)); GBestX ← X(1,:) |
| 6: // Phase 2: Main Loop with Levy Flight Enhancement |
| 7: for t = 1:MaxIter |
| 8: // SOA migration & attacking |
| 9: for i = 1:N |
| 10: A ← 2 - t*2/MaxIter; Cs ← X(i,:)*A; Ms ← 2*A^2*rand()*(X(1,:)-X(i,:)) |
| 11: Ds ← abs(Cs+Ms); θ ← rand(); r ← exp(θ); P ← [r*cos(2πθ), r*sin(2πθ), r*θ] |
| 12: Xnew(i,:) ← Ds.*P + X(1,:) |
| 13: lr ← 0.3*(1-t/MaxIter); Xnew(i,:) ← (1-lr)*Xnew(i,:) + lr*GBestX |
| 14: if t<MaxIter/2, Xnew(i,:) ← Xnew(i,:) + 0.05*(1-t/MaxIter)*(rand(1,dim)-0.5); end |
| 15: end |
| 16: Xnew ← max(min(Xnew,ub),lb) |
| 17: // Evaluate new population |
| 18: for i = 1:N, [fit(i),unsafe(i)] ← fobj(Xnew(i,:),opt); fit(i) ← fit(i)*(1+0.5*unsafe(i)); end |
| 19: X ← Xnew |
| 20: // Update global best |
| 21: for i = 1:N |
| 22: if unsafe(i)<GBestUnsafe || (unsafe(i)==GBestUnsafe && fit(i)<GBestF) |
| 23: GBestF ← fit(i); GBestX ← X(i,:); GBestUnsafe ← unsafe(i) |
| 24: end |
| 25: // Levy Flight perturbation (enhanced global search) |
| 26: L ← levy(1,dim,1.5); scale ← [1.2,1.2,0.5]; scale ← repmat(scale,1,dim/3) |
| 27: cand ← GBestX + 0.1*L.*(ub-lb).*scale |
| 28: cand ← max(min(cand,ub),lb) |
| 29: [fit_c,unsafe_c] ← fobj(cand,opt); fit_c ← fit_c*(1+0.5*unsafe_c) |
| 30: if unsafe_c<GBestUnsafe || (unsafe_c==GBestUnsafe && fit_c<GBestF) |
| 31: GBestF ← fit_c; GBestX ← cand; GBestUnsafe ← unsafe_c |
| 32: end |
3. Simulation Scenario and Fitness Function Design
3.1. Simulation Environment Scenario

3.2. Constraints for UAV Flight
- To ensure flight safety, a “safety global surface” centered at the UAV with a radius of 1 unit is set. The collision and boundary - crossing of the UAV are determined through the surface of the safety globe.
- Collision with buildings must be avoided during UAV flight.
- It is forbidden for the UAV to fly out of the map boundary and enter the internal space of the building.
- The minimum flight altitude of the UAV shall not be less than 5 units.
3.3. Fitness Function Design
- Path length cost
- Path curvature cost
- comprehensive collision punishment
- Obstacle avoidance logic design
4. Experimental Verification
4.1. Experiment Environment
- CPU:13th Gen Intel(R) Core(TM) i9-13900HX 2.20 GHz
- RAM:64.0 GB
- GPU:Intel(R) UHD Graphics & NVIDIA GeForce RTX 4060 Laptop GPU
- Disk Drive:NVMe Micron 3400
- Software Simulation Environment:Unreal Engine 4.27.2, Airsim 1.81, Matlab 2024b
4.2. Simulation Experiments
4.2.1. Ablation Experiment
- Ablation experiment 1: 10 architectural drawings


| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| SOA | 61.2601 | 94.71 | 0 | 0 | 152.95 |
| SOA+LHS | 275330287655.3500 | 94.20 | 12 | 3 | 142.63 |
| SOA+LEVY | 76.4871 | 94.37 | 0 | 0 | 152.77 |
| SOA+LHS+LEVY | 30.6776 | 90.46 | 0 | 0 | 153.92 |
- Ablation experiment 2: 10 architectural drawings
| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| SOA | 14023293552.2919 | 89.99 | 21 | 3 | 200.53 |
| SOA+LHS | 655275211490.5550 | 91.53 | 21 | 5 | 185.99 |
| SOA+LEVY | 101.1416 | 99.71 | 0 | 0 | 202.06 |
| SOA+LHS+LEVY | 39.8940 | 113.62 | 0 | 0 | 199.98 |


- Ablation experiment 3: 12 architectural drawings


| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| SOA | 30264054424.8301 | 110.04 | 9 | 1 | 179.26 |
| SOA+LHS | 62201876421.5537 | 140.45 | 7 | 1 | 174.37 |
| SOA+LEVY | 87.0198 | 110.56 | 0 | 0 | 174.15 |
| SOA+LHS+LEVY | 35.8866 | 112.20 | 0 | 0 | 179.79 |
- Ablation experiment 4: 15 architectural drawings
| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| SOA | 5743118830.9908 | 135.66 | 16 | 2 | 180.09 |
| SOA+LHS | 230855717510.9580 | 146.3500 | 24 | 4 | 162.74 |
| SOA+LEVY | 83.6572 | 138.46 | 0 | 0 | 167.44 |
| SOA+LHS+LEVY | 33.3409 | 133.26 | 0 | 0 | 166.78 |


4.2.2. Comparative Experiment
- Comparative experiment 1: 10 architectural drawings
| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| DBO | 72.3092 | 93.73 | 0 | 0 | 144.82 |
| GWO | 72.1246 | 97.13 | 0 | 0 | 144.36 |
| PIO | 74.4112 | 96.82 | 0 | 0 | 148.98 |
| PSO | 72.4777 | 96.16 | 0 | 0 | 145.14 |
| LLSOA | 30.6776 | 90.46 | 0 | 0 | 153.92 |
- Comparative experiment 2: 10 architectural drawings




| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| DBO | 175126.12 | 90.35 | 12 | 0 | 194.88 |
| GWO | 4850918.77 | 89.66 | 12 | 0 | 192.68 |
| PIO | 20458254330.13 | 89.26 | 13 | 2 | 190.75 |
| PSO | 4845780.75 | 90.34 | 12 | 0 | 191.88 |
| LLSOA | 39.89 | 113.62 | 0 | 0 | 199.98 |
- Comparative experiment 3: 12 architectural drawings


| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| DBO | 439623855.95 | 113.89 | 5 | 1 | 177.04 |
| GWO | 20896306570.14 | 108.95 | 4 | 1 | 171.65 |
| PIO | 39076890211.26 | 108.17 | 3 | 1 | 175.67 |
| PSO | 20896306568.70 | 110.26 | 4 | 1 | 171.58 |
| LLSOA | 35.89 | 112.20 | 0 | 0 | 179.79 |
- Comparative experiment 4: 15 architectural drawings


| Algorithm | Fitness value (200 steps) |
Calculation time (s) | Unsafe points verified | Times of climbing obstacle avoidance | Path length |
|---|---|---|---|---|---|
| DBO | 93803.42 | 137.97 | 6 | 0 | 162.26 |
| GWO | 984938.04 | 136.99 | 6 | 0 | 163.25 |
| PIO | 96549281756.69 | 137.54 | 7 | 2 | 159.4 |
| PSO | 1442272.54 | 136.37 | 0 | 6 | 163.84 |
| LLSOA | 33.34 | 133.26 | 0 | 0 | 166.78 |
4.3. High-Fidelity Simulation Validation


| Noise Parameters Settings | Maximum Trajectory Deviation | Average Trajectory Deviation | Standard Deviation | Root Mean Square Error | |
|---|---|---|---|---|---|
| Basic Experiment |
GPS horizontal error:0 GPS vertical error:0 IMU acceleration noise:0 IMU gyroscope noise:0 |
8.3331 | 3.8099 | 2.4602 | 4.5345 |
| Low noise level Experiment |
GPS horizontal error:0.3 GPS vertical error:0.3 IMU acceleration noise:0.12 IMU gyroscope noise:0.15 |
8.3081 | 3.858 | 2.4521 | 4.5706 |
| High noise level Experiment |
GPS horizontal error:1.2 GPS vertical error:1.2 IMU acceleration noise:0.5 IMU gyroscope noise:0.6 |
8.5259 | 3.9159 | 2.5497 | 4.6722 |
5. Analysis and Conclusion
5.1. Analysis of Ablation Experiment
5.2. Analysis of Comparative Experiment
5.3. Analysis of the High-Fidelity Simulation Verification
5.4. Conclusion and Prospect
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Dhiman, G.; Kumar, V. Seagull Optimization Algorithm: Theory and Its Applications for Large-Scale Industrial Engineering Problems. Knowl.-Based Syst. 2019, *165*, 169–196. [Google Scholar] [CrossRef]
- Xue, J.; Shen, B. Dung Beetle Optimizer: A New Meta-Heuristic Algorithm for Global Optimization. J. Supercomput. 2023, *79*, 7305–7336. [Google Scholar] [CrossRef]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, *69*, 46–61. [Google Scholar] [CrossRef]
- Duan, H.; Qiao, P. Pigeon-Inspired Optimization: A New Swarm Intelligence Optimizer for Air Robot Path Planning. Int. J. Intell. Comput. Cybern. 2014, *7*(1), 24–37. [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the 1995 IEEE International Conference on Neural Networks (ICNN’95), Perth, WA, Australia, 27 November–1 December 1995; IEEE: Piscataway, NJ, USA, 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
- Huang, G.; Hu, M.; Yang, X.; Wang, X.; Wang, Y.; Huang, F. A Review of Constrained Multi-Objective Evolutionary Algorithm-Based Unmanned Aerial Vehicle Mission Planning: Key Techniques and Challenges. Drones 2024, *8*(7), 316. [Google Scholar] [CrossRef]
- Quadt, T.; Lindelauf, R.; Voskuijl, M.; Monsuur, H.; Čule, B. Dealing with Multiple Optimization Objectives for UAV Path Planning in Hostile Environments: A Literature Review. Drones 2024, *8*(12), 769. [Google Scholar] [CrossRef]
- Li, J.; Li, J.; Zhang, J.; Meng, W. A Comprehensive Review of Path-Planning Algorithms for Multi-Drone Swarms. Drones 2026, *10*(1), 11. [Google Scholar] [CrossRef]
- Khaneghaei, M.; Asadi, D.; Ebrahimi, B.; Nahavandi, S. Intelligent hybrid optimization algorithms for multi-agent aerial robots path planning: review of the recent emerging trends and open research directions. Artif. Intell. Rev. 2026, *59*, 94. [Google Scholar] [CrossRef]
- Jones, M.R.; Djahel, S.; Welsh, K. Path-Planning for Unmanned Aerial Vehicles with Environment Complexity Considerations: A Survey. *ACM Comput. Surv.* 2023, *55*(13s), 1–37. [Google Scholar] [CrossRef]
- Yuan, W.; Shi, Y. UAV Path Planning Based on APF-Q-Learning. In *6GN for Future Wireless Networks*; Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering; Springer: Cham, Switzerland, 2023; Vol. 505, pp. 290–300. [Google Scholar] [CrossRef]
- Holland, J.H. Genetic algorithms and the optimal allocation of trials. SIAM J. Comput. 1973, *2*(2), 88–105. [Google Scholar] [CrossRef]
- Storn, R.; Price, K. Differential Evolution – A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces. J. Glob. Optim. 1997, *11*(4), 341–359. [Google Scholar] [CrossRef]
- Zhou, Z.; Liu, H.; Dai, Y.; Qin, L. A Tent-Lévy-Based Seagull Optimization Algorithm for the Multi-UAV Collaborative Task Allocation Problem. *Appl. Sci.* 2024, 14(13), 5398. [Google Scholar] [CrossRef]
- Ziqi, H. UAV Path Planning Based on Bird Flock Migration. In *Proceedings of the 6th International Conference on Computing and Data Science (CONF-CDS 2024)*, 2024; pp. 17–30. [Google Scholar] [CrossRef]
- Liu, Y.; Gu, Z.L.; Li, C.; Wang, B.G.; Wu, H.N.; Liu, W.J. UAV Path Planning Algorithm Based on Improved RRT. In *Proceedings of the Third International Seminar on Artificial Intelligence, Networking, and Information Technology (AINIT 2022)*, 2023; SPIE. [Google Scholar] [CrossRef]
- Zhou, Z.; Yang, X.; Niu, B. An Improved DMSQPSO Algorithm For 3D UAV Path Planning. In *Proceedings of the 2023 8th International Conference on Intelligent Information Processing (ICIIP 2023)*; ACM: New York, NY, USA, 2023. [Google Scholar] [CrossRef]
- Wang, J.; Zhao, Z.; Qu, J.; Yin, Y. UAV Path Planning in Three-Dimensional Complex Environments. In *Lecture Notes in Electrical Engineering*; Springer: Singapore, 2024. [Google Scholar] [CrossRef]
- Dhiman, G.; Singh, K.K.; Soni, M.; Nagar, A.; Dehghani, M.; Slowik, A.; Kaur, A.; Sharma, A.; Houssein, E.H.; Cengiz, K. MOSOA: A New Multi-objective Seagull Optimization Algorithm. Expert Syst. Appl. 2021, *167*, 114150. [Google Scholar] [CrossRef]
- Huang, Q.; Xia, L.; Wang, H.; Zhang, B. An Improved Seagull Optimization Algorithm for Multi-Center Maintenance Task Allocation of UAV Swarm Under Resource Constraints. in *2025 IEEE 8th Information Technology and Mechatronics Engineering Conference (ITOEC)*, Chongqing, China, 2025. [Google Scholar]
- Yan, A.; Hu, K. Improved Strategy and Its Application to the Optimization of Seagull Optimization Algorithm. Inf. Control 2022, *51*(6), 688–698. [Google Scholar] [CrossRef]
- Lyu, T. Research on Demand Response Strategy of User-Side Typical Resources for Promoting Renewable Energy Consumption. Master’s Thesis, Zhejiang University, Hangzhou, China, 2023. [Google Scholar]
- Sun, C.; Wang, X.; Jiang, G. NSST Image Enhancement Based on Levy-SOA Adaptive Threshold Segmentation and Improved Guided Filtering. Control Eng. China 2024, *31*(7), 1297–1304. [Google Scholar] [CrossRef]
- Shen, Y.; Jin, L.; Hu, K.; Hu, X.; Xue, C. Research on Logistics UAV Path Planning. *Proceedings of SPIE*; SPIE, 2024. [Google Scholar] [CrossRef]
- Rahman, M.; Sarkar, N.I.; Lutui, R. A Survey on Multi-UAV Path Planning: Classification, Algorithms, Open Research Problems, and Future Directions. *Drones* 2025, 9(4), 263. [Google Scholar] [CrossRef]
- Lv, C.; Xu, B.; Shi, C. UAV Path Planning Based on Improved TD3 Algorithm. In *Proceedings of the 2023 5th International Conference on Internet of Things, Automation and Artificial Intelligence (IoTAAI 2023)*; ACM: New York, NY, USA, 2023; pp. 1–6. [Google Scholar] [CrossRef]
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 (http://creativecommons.org/licenses/by/4.0/).