一、狐猴优化算法
狐猴优化算法(Lemurs Optimizer,LO)由Ammar Kamal Abasi等人于2022年提出,该算法模拟狐猴的跳跃和跳舞行为,具有结构简单,思路新颖,搜索速度快等优势。狐猴优化算法(Lemurs Optimizer,LO)MATLAB_IT猿手的博客-CSDN博客
狐猴头体长约为30-45厘米,尾长为40-50厘米,体重约2千克左右。头小,额低,耳大,两耳都长有很多茸毛,头部两侧也是长毛丛生,吻部长而突出,下门齿呈梳状,使得整个颜面看上去宛如狐狸,所以被称为狐猴。但它的身体却更像猴类,身体背部的毛呈浅灰褐色,腹部为灰白色。额部、耳背和颊部为白色,与黑色的吻部和眼圈构成了鲜明的对比色彩,十分有趣。特别是那条具有11-12个黑白相间圆环的长尾,是其独一无二的特征,极易与其他狐猴区别开来。狐猴的后肢比前肢长,因此攀爬、奔跑和跳跃能力都非常强,可以在树枝间一跃9米,它的掌心和脚底长着长毛,可以增加起跳和落地时的摩擦力从而不会滑倒,它甚至能够像人一样直立行走,长尾巴起到的平衡作用是不可忽视的。但是由于前肢短软无力,所以环尾狐猴下树的时候头上脚下倒退着地。
参考文献:
[1]Abasi AK, Makhadmeh SN, Al-Betar MA, Alomari OA, Awadallah MA, Alyasseri ZAA, Doush IA, Elnagar A, Alkhammash EH, Hadjouni M. Lemurs Optimizer: A New Metaheuristic Algorithm for Global Optimization. Applied Sciences. 2022; 12(19):10057. Applied Sciences | Free Full-Text | Lemurs Optimizer: A New Metaheuristic Algorithm for Global Optimization
二、无人机模型
单个无人机三维路径规划问题及其建模_IT猿手的博客-CSDN博客
参考文献:
[1]胡观凯,钟建华,李永正,黎万洪.基于IPSO-GA算法的无人机三维路径规划[J].现代电子技术,2023,46(07):115-120
三、LO求解无人机路径规划
(1)部分代码
close all clear clc warning off; %% 三维路径规划模型定义 global startPos goalPos N N=2;%待优化点的个数(可以修改) startPos = [10, 10, 80]; %起点(可以修改) goalPos = [80, 90, 150]; %终点(可以修改) SearchAgents_no=30; % 种群大小(可以修改) Function_name='F2'; %F1:随机产生地图 F2:导入固定地图 Max_iteration=100; %最大迭代次数(可以修改) % Load details of the selected benchmark function [lb,ub,dim,fobj]=Get_Functions_details(Function_name); [Best_score,Best_pos,curve]=LO(SearchAgents_no,Max_iteration,lb,ub,dim,fobj);%算法优化求解 AlgorithmName='LO';%算法名字 figure semilogy(curve,'Color','r','linewidth',3) xlabel('迭代次数'); ylabel('飞行路径长度'); legend(AlgorithmName) display(['算法得到的最优适应度: ', num2str(Best_score)]); Position=[Best_pos(1:dim/3); Best_pos(1+dim/3:2*(dim/3)); Best_pos(1+(2*dim/3):end)]'; %优化点的XYZ坐标(每一行是一个点) plotFigure(Best_pos,AlgorithmName)%画最优路径
(2)部分结果
无人机飞行路径:
1.0000000e+01 1.0000000e+01 8.0000000e+011.1740476e+01 1.2629578e+01 8.4872670e+011.3410134e+01 1.5126455e+01 8.9558985e+011.5010881e+01 1.7494187e+01 9.4062223e+011.6544621e+01 1.9736327e+01 9.8385662e+011.8013260e+01 2.1856432e+01 1.0253258e+021.9418705e+01 2.3858055e+01 1.0650625e+022.0762859e+01 2.5744752e+01 1.1030996e+022.2047630e+01 2.7520078e+01 1.1394699e+022.3274923e+01 2.9187587e+01 1.1742060e+022.4446642e+01 3.0750834e+01 1.2073408e+022.5564695e+01 3.2213374e+01 1.2389071e+022.6630985e+01 3.3578762e+01 1.2689376e+022.7647420e+01 3.4850552e+01 1.2974652e+022.8615904e+01 3.6032300e+01 1.3245226e+022.9538343e+01 3.7127561e+01 1.3501425e+023.0416643e+01 3.8139889e+01 1.3743578e+023.1252708e+01 3.9072839e+01 1.3972013e+023.2048446e+01 3.9929966e+01 1.4187057e+023.2805761e+01 4.0714825e+01 1.4389038e+023.3526559e+01 4.1430970e+01 1.4578284e+023.4212745e+01 4.2081957e+01 1.4755122e+023.4866225e+01 4.2671341e+01 1.4919881e+023.5488906e+01 4.3202676e+01 1.5072888e+023.6082691e+01 4.3679516e+01 1.5214472e+023.6649487e+01 4.4105418e+01 1.5344959e+023.7191199e+01 4.4483935e+01 1.5464677e+023.7709733e+01 4.4818623e+01 1.5573955e+023.8206995e+01 4.5113037e+01 1.5673121e+023.8684890e+01 4.5370731e+01 1.5762501e+023.9145324e+01 4.5595260e+01 1.5842424e+023.9590201e+01 4.5790179e+01 1.5913218e+024.0021429e+01 4.5959043e+01 1.5975210e+024.0440912e+01 4.6105406e+01 1.6028729e+024.0850556e+01 4.6232824e+01 1.6074101e+024.1252266e+01 4.6344852e+01 1.6111656e+024.1647949e+01 4.6445044e+01 1.6141719e+024.2039509e+01 4.6536955e+01 1.6164621e+024.2428852e+01 4.6624140e+01 1.6180687e+024.2817885e+01 4.6710153e+01 1.6190247e+024.3208511e+01 4.6798551e+01 1.6193627e+024.3602638e+01 4.6892887e+01 1.6191156e+024.4002170e+01 4.6996716e+01 1.6183161e+024.4409013e+01 4.7113593e+01 1.6169971e+024.4825073e+01 4.7247074e+01 1.6151912e+024.5252255e+01 4.7400712e+01 1.6129313e+024.5692465e+01 4.7578064e+01 1.6102502e+024.6147609e+01 4.7782682e+01 1.6071806e+024.6619591e+01 4.8018124e+01 1.6037554e+024.7110318e+01 4.8287942e+01 1.6000072e+024.7621696e+01 4.8595693e+01 1.5959689e+024.8155629e+01 4.8944931e+01 1.5916733e+024.8714023e+01 4.9339210e+01 1.5871531e+024.9298784e+01 4.9782087e+01 1.5824411e+024.9911817e+01 5.0277115e+01 1.5775701e+025.0555029e+01 5.0827849e+01 1.5725729e+025.1230324e+01 5.1437844e+01 1.5674823e+025.1939608e+01 5.2110656e+01 1.5623310e+025.2684787e+01 5.2849838e+01 1.5571518e+025.3467766e+01 5.3658947e+01 1.5519774e+025.4290451e+01 5.4541536e+01 1.5468408e+025.5154748e+01 5.5501160e+01 1.5417746e+025.6062562e+01 5.6541375e+01 1.5368117e+025.7015798e+01 5.7665735e+01 1.5319848e+025.8016362e+01 5.8877795e+01 1.5273266e+025.9066160e+01 6.0181110e+01 1.5228701e+026.0167098e+01 6.1579235e+01 1.5186479e+026.1321080e+01 6.3075724e+01 1.5146928e+026.2530013e+01 6.4674133e+01 1.5110376e+026.3795802e+01 6.6378016e+01 1.5077151e+026.5120352e+01 6.8190929e+01 1.5047581e+026.6505570e+01 7.0116425e+01 1.5021994e+026.7953361e+01 7.2158060e+01 1.5000717e+026.9465630e+01 7.4319388e+01 1.4984078e+027.1044282e+01 7.6603966e+01 1.4972404e+027.2691225e+01 7.9015346e+01 1.4966025e+027.4408362e+01 8.1557085e+01 1.4965267e+027.6197600e+01 8.4232737e+01 1.4970458e+027.8060844e+01 8.7045857e+01 1.4981927e+028.0000000e+01 9.0000000e+01 1.5000000e+02