2024最新算法:吸血水蛭优化器(Blood-Sucking Leech Optimizer,BSLO)求解23个函数,MATLAB代码

一、算法介绍

吸血水蛭优化器(Blood-Sucking Leech Optimizer,BSLO)是2024年提出的一种智能优化算法,该算法模拟了水蛭的探索、定向水蛭的利用、定向水蛭的切换机制、无方向水蛭的搜索策略和重新跟踪策略。

参考文献:

1\]Bai, Jianfu, et al. "Blood-Sucking Leech Optimizer." Advances in Engineering Software, vol. 195, Elsevier BV, Sept. 2024, p. 103696, doi:[10.1016/j.advengsoft.2024.103696](https://doi.org/10.1016/j.advengsoft.2024.103696 "10.1016/j.advengsoft.2024.103696") ### 二、23个函数简介 ![](https://img-blog.csdnimg.cn/img_convert/2be5617d327a4d00267f36665262e0a1.png) [参考文献](https://so.csdn.net/so/search?q=%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE&spm=1001.2101.3001.7020 "参考文献"): \[1\] Yao X, Liu Y, [Lin](https://so.csdn.net/so/search?q=Lin&spm=1001.2101.3001.7020 "Lin") G M. Evolutionary programming made faster\[J\]. IEEE transactions on evolutionary computation, 1999, 3(2):82-102. ### 三、部分代码 ``` close all ; clear clc Npop=30; Function_name='F1'; % Name of the test function that can be from F1 to F23 ( Tmax=300; [lb,ub,dim,fobj]=Get_Functions_details(Function_name); [Best_fit,Best_pos,Convergence_curve]=(Npop,Tmax,lb,ub,dim,fobj); figure('Position',[100 100 660 290]) %Draw search space subplot(1,2,1); func_plot(Function_name); title('Parameter space') xlabel('x_1'); ylabel('x_2'); zlabel([Function_name,'( x_1 , x_2 )']) %Draw objective space subplot(1,2,2); semilogy(Convergence_curve,'Color','r','linewidth',3) title('Search space') xlabel('Iteration'); ylabel('Best score obtained so far'); axis tight grid on box on legend('') saveas(gca,[Function_name '.jpg']); display(['The best solution is ', num2str(Best_pos)]); display(['The best fitness value is ', num2str(Best_fit)]); ``` ### 四、部分结果 ![](https://img-blog.csdnimg.cn/img_convert/7f0ec1bae506b768268b9c431e44afcd.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/530f231cdeed74596520d8c6ec0f0456.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/35398b36e9a459076cc3adb0da9bb026.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/22a0402693409234fc549510ec52c9c1.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/b92488d1c1d5676e1a88cc0c0873a3cd.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/721854cb1844464d39abe67dd8ad4cc1.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/3ae22b9f1c4d53cad9fbb037cbaa4fb9.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/2f7f5c4946eaa792d5249dfe7c91829f.jpeg) ![](https://img-blog.csdnimg.cn/img_convert/f59041d031fa22330e7555cb01cea5aa.jpeg) ### 五、完整MATLAB代码 ![](https://img-blog.csdnimg.cn/img_convert/4dcc07757ac488d195089ca4e2ac5c08.png)

相关推荐
想睡hhh10 分钟前
c++STL——stack、queue、priority_queue的模拟实现
开发语言·c++·stl
小鹿鹿啊18 分钟前
C语言编程--14.电话号码的字母组合
c语言·开发语言·算法
Sunlight_77720 分钟前
第六章 QT基础:6、QT的Qt 时钟编程
开发语言·qt·命令模式
cloues break.20 分钟前
C++初阶----模板初阶
java·开发语言·c++
wwww.wwww41 分钟前
Qt软件开发-摄像头检测使用软件V1.1
开发语言·c++·qt
小O的算法实验室43 分钟前
2024年ESWA SCI1区TOP:量子计算蜣螂算法QHDBO,深度解析+性能实测
算法·论文复现·智能算法·智能算法改进
C语言魔术师1 小时前
509. 斐波那契数
算法·动态规划
Wendy_robot1 小时前
【前缀和计算和+哈希表查找次数】Leetcode 560. 和为 K 的子数组
c++·算法·leetcode
o独酌o1 小时前
算法习题-力扣446周赛题解
算法·leetcode
一只鱼^_1 小时前
第十六届蓝桥杯大赛软件赛省赛 C/C++ 大学B组 [京津冀]
c语言·数据结构·c++·算法·贪心算法·蓝桥杯·动态规划