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

一、斑翠鸟优化算法

斑翠鸟优化算法(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/1763842098018127873/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/1763842098018127873/18c0ca9d2f7357ebd3e0bb5fa1344dd1.webp) ![](https://file.jishuzhan.net/article/1763842098018127873/528044b578e82337e2f098e769751c79.webp) ![](https://file.jishuzhan.net/article/1763842098018127873/a5b99fd5a693208603a9b8793a549134.webp) ![](https://file.jishuzhan.net/article/1763842098018127873/4cc15e4618e49f4ddb276f8f6fc53caa.webp) ![](https://file.jishuzhan.net/article/1763842098018127873/d040855d10430aeef1e576a5b6eb92ae.webp) ![](https://file.jishuzhan.net/article/1763842098018127873/8a4cd824d9e7d5329c8a39d921a9898d.webp) ![](https://file.jishuzhan.net/article/1763842098018127873/14aaf67de06baf8a446f7d00b8862725.webp) ### 四、完整MATLAB代码

相关推荐
火车叨位去194916 分钟前
力扣top100(day02-05)--二叉树 02
算法·leetcode·职场和发展
James. 常德 student23 分钟前
leetcode-hot-100 (图论)
算法·leetcode·图论
郝学胜-神的一滴33 分钟前
C++中的`auto`与`std::any`:功能、区别与选择建议
开发语言·c++·程序人生·算法
2401_823868222 小时前
织构表面MATLAB仿真
人工智能·机器学习·matlab·信号处理
霖002 小时前
高级项目——基于FPGA的串行FIR滤波器
人工智能·经验分享·matlab·fpga开发·信息与通信·信号处理
坫鹏加油站2 小时前
【Python】支持向量机SVM
python·算法·机器学习·支持向量机
向日葵的小屋2 小时前
csp知识基础——贪心算法
算法·贪心算法
百度Geek说3 小时前
百度智能云x中科大脑:「城市智能体」如何让城市更会思考
算法
霖003 小时前
FPGA的PS基础1
数据结构·人工智能·windows·git·算法·fpga开发
幸幸子.4 小时前
LeetCode 组合总数
c++·算法·leetcode