2024最新算法:斑翠鸟优化算法(Pied Kingfisher Optimizer ,PKO)求解23个基准函数(提供MATLAB代码)

一、斑翠鸟优化算法

斑翠鸟优化算法(Pied Kingfisher Optimizer ,PKO),是由Abdelazim Hussien于2024年提出的一种基于群体的新型元启发式算法,它从自然界中观察到的斑翠鸟独特的狩猎行为和共生关系中汲取灵感。PKO 算法围绕三个不同的阶段构建:栖息/悬停猎物(探索/多样化)、潜水寻找猎物(开发/集约化)和培养共生关系。这些行为方面被转化为数学模型,能够有效地解决不同搜索空间中的各种优化挑战。

参考文献:

1\]Pied Kingfisher Optimizer: A new bio-inspired algorithm for solving numerical optimization and industrial engineering problems ### 二、23个函数介绍 ![](https://file.jishuzhan.net/article/1764092318060646402/3ea3af6a4cb623b78dd28fe776bae638.webp) 参考文献: \[1\] Yao X, Liu Y, Lin G M. Evolutionary programming made faster\[J\]. IEEE transactions on evolutionary computation, 1999, 3(2):82-102. ### 三、PKO求解23个函数 #### 3.1部分代码 ``` close all ; clear clc Npop=30;                 Function_name='F8';     % Name of the test function that can be from F1 to F23 (  Tmax=500;               [lb,ub,dim,fobj]=Get_Functions_details(Function_name); [Best_fit,Best_pos,Convergence_curve]=PKO(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('PKO') saveas(gca,[Function_name '.jpg']); display(['The best solution is ', num2str(Best_pos)]); display(['The best fitness value is ', num2str(Best_fit)]); ``` #### 3.2部分结果 ![](https://file.jishuzhan.net/article/1764092318060646402/18c0ca9d2f7357ebd3e0bb5fa1344dd1.webp) ![](https://file.jishuzhan.net/article/1764092318060646402/528044b578e82337e2f098e769751c79.webp) ![](https://file.jishuzhan.net/article/1764092318060646402/a5b99fd5a693208603a9b8793a549134.webp) ![](https://file.jishuzhan.net/article/1764092318060646402/4cc15e4618e49f4ddb276f8f6fc53caa.webp) ![](https://file.jishuzhan.net/article/1764092318060646402/d040855d10430aeef1e576a5b6eb92ae.webp) ![](https://file.jishuzhan.net/article/1764092318060646402/8a4cd824d9e7d5329c8a39d921a9898d.webp) ![](https://file.jishuzhan.net/article/1764092318060646402/14aaf67de06baf8a446f7d00b8862725.webp) ### 四、完整MATLAB代码 文件夹夹内包含该算法求解23个函数的完整MATLAB代码,点击main.m即可运行。 ![](https://file.jishuzhan.net/article/1764092318060646402/b4c6d2cf62eb318d7cfc9c3fdb3184e4.webp)

相关推荐
郝学胜-神的一滴5 分钟前
线程同步:并行世界的秩序守护者
java·linux·开发语言·c++·程序人生
superman超哥6 分钟前
Rust 移动语义(Move Semantics)的工作原理:零成本所有权转移的深度解析
开发语言·后端·rust·工作原理·深度解析·rust移动语义·move semantics
im_AMBER6 分钟前
Leetcode 95 分割链表
数据结构·c++·笔记·学习·算法·leetcode·链表
青茶3608 分钟前
【js教程】如何用jq的js方法获取url链接上的参数值?
开发语言·前端·javascript
gihigo199814 分钟前
MATLAB中实现信号迭代解卷积的几种方法
人工智能·深度学习·matlab
Boilermaker199214 分钟前
[算法基础] FooldFill(DFS、BFS)
算法·深度优先·宽度优先
superman超哥17 分钟前
Rust 所有权转移在函数调用中的表现:编译期保证的零成本抽象
开发语言·后端·rust·函数调用·零成本抽象·rust所有权转移
xiaowu08017 分钟前
C# 把dll分别放在指定的文件夹的方法
开发语言·c#
leiming621 分钟前
c++ find 算法
算法
CoovallyAIHub23 分钟前
YOLOv12之后,AI在火场如何进化?2025最后一篇YOLO论文揭示:要在浓烟中看见关键,仅靠注意力还不够
深度学习·算法·计算机视觉