CEC2022:CEC2022测试函数及多种智能优化算法求解CEC2022对比

目录

一、CEC2022测试函数

二、多种智能优化算法求解CEC2022

[2.1 本文参与求解CEC2022的智能优化算法](#2.1 本文参与求解CEC2022的智能优化算法)

[2.2 部分测试函数运行结果与收敛曲线](#2.2 部分测试函数运行结果与收敛曲线)

[三、带标记收敛曲线代码(获得代码后可自行更改)](#三、带标记收敛曲线代码(获得代码后可自行更改))

一、CEC2022测试函数

CEC2022测试集共有12个单目标测试函数,每个测试函数可选择的维度分别为10维、20维。该测试集合也是目前高质量论文应用最广泛的测试集,CEC2022测试集函数复杂,非常具有挑战力。

CEC2022测试函数与理论最优值

二、多种智能优化算法求解CEC2022

2.1 本文参与求解CEC2022的智能优化算法

本文选取一些经典的智能优化算法参与测试CEC2022测试函数,具体有:沙丘猫优化算法(SCSO)、蜣螂优化算法(DBO)、算术优化算法(AOA)、黏菌算法(SMA)、人工大猩猩部队优化算法(GTO)、蛇优化算法(SO)、非洲秃鹫优化算法(AVOA)以及灰狼算法(GWO)、鲸鱼算法(WOA)、引力搜索算法(GSA)。种群规模设为50、最大迭代次数为500。

2.2 部分测试函数运行结果与收敛曲线

F2:

The best optimal values of the objective funciton found by GSA is : 474.5299

The best optimal values of the objective funciton found by GWO is : 411.197

The best optimal values of the objective funciton found by WOA is : 416.4015

The best optimal values of the objective funciton found by AVOA is : 400.0163

The best optimal values of the objective funciton found by GTO is : 404.0752

The best optimal values of the objective funciton found by DBO is : 408.9161

The best optimal values of the objective funciton found by SO is : 407.3562

The best optimal values of the objective funciton found by SMA is : 407.083

The best optimal values of the objective funciton found by AOA is : 1154.5349

The best optimal values of the objective funciton found by SCSO is : 423.5253

F5:

The best optimal values of the objective funciton found by GSA is : 1006.2953

The best optimal values of the objective funciton found by GWO is : 900.1918

The best optimal values of the objective funciton found by WOA is : 3903.9517

The best optimal values of the objective funciton found by AVOA is : 953.213

The best optimal values of the objective funciton found by GTO is : 918.2926

The best optimal values of the objective funciton found by DBO is : 967.949

The best optimal values of the objective funciton found by SO is : 903.3099

The best optimal values of the objective funciton found by SMA is : 900.6152

The best optimal values of the objective funciton found by AOA is : 1378.7241

The best optimal values of the objective funciton found by SCSO is : 1437.0716

F8:

The best optimal values of the objective funciton found by GSA is : 2253.7266

The best optimal values of the objective funciton found by GWO is : 2225.0024

The best optimal values of the objective funciton found by WOA is : 2231.3405

The best optimal values of the objective funciton found by AVOA is : 2225.3089

The best optimal values of the objective funciton found by GTO is : 2204.8334

The best optimal values of the objective funciton found by DBO is : 2224.6929

The best optimal values of the objective funciton found by SO is : 2222.9351

The best optimal values of the objective funciton found by SMA is : 2220.9324

The best optimal values of the objective funciton found by AOA is : 2445.8039

The best optimal values of the objective funciton found by SCSO is : 2216.7517

F10:

The best optimal values of the objective funciton found by GSA is : 2636.9688

The best optimal values of the objective funciton found by GWO is : 2500.2949

The best optimal values of the objective funciton found by WOA is : 2500.6209

The best optimal values of the objective funciton found by AVOA is : 2500.4701

The best optimal values of the objective funciton found by GTO is : 2500.4813

The best optimal values of the objective funciton found by DBO is : 2500.5967

The best optimal values of the objective funciton found by SO is : 2500.351

The best optimal values of the objective funciton found by SMA is : 2500.5584

The best optimal values of the objective funciton found by AOA is : 2708.7742

The best optimal values of the objective funciton found by SCSO is : 2630.1491

F12:

The best optimal values of the objective funciton found by GSA is : 3026.5742

The best optimal values of the objective funciton found by GWO is : 2872.1718

The best optimal values of the objective funciton found by WOA is : 2911.8117

The best optimal values of the objective funciton found by AVOA is : 2865.403

The best optimal values of the objective funciton found by GTO is : 2863.4948

The best optimal values of the objective funciton found by DBO is : 2864.956

The best optimal values of the objective funciton found by SO is : 2865.3162

The best optimal values of the objective funciton found by SMA is : 2863.4012

The best optimal values of the objective funciton found by AOA is : 3035.8413

The best optimal values of the objective funciton found by SCSO is : 2868.6205

三、带标记收敛曲线代码(获得代码后可自行更改)

Matlab 复制代码
figure
maker_index=1:15:500;
semilogy(curve_compare(1,:),'k-*','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(2,:),'k-o','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(3,:),'b-<','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(4,:),'k-s','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(5,:),'k-d','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(6,:),'k-p','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(7,:),'r-p','MarkerIndices',maker_index,'LineWidth',1)
hold on
semilogy(curve_compare(8,:),'b-p','MarkerIndices',maker_index,'LineWidth',1)
xlabel('迭代次数');
ylabel('目标函数值');
grid on
box on

++需要代码请私信博主++

相关推荐
wearegogog12321 小时前
基于Q-learning的栅格地图路径规划MATLAB仿真程序
开发语言·算法·matlab
旖-旎21 小时前
深搜练习(组合总和)(7)
c++·算法·深度优先·力扣
小O的算法实验室21 小时前
2026年ASOC,基于人工势场的差分进化算法改进框架,深度解析+性能实测
算法·论文复现·智能算法·智能算法改进
爱学习的张大21 小时前
具身智能论文精读(五):OpenVLA
人工智能·算法
刘大猫.1 天前
宝马发布全新AI智能座舱助手 能理解用户复杂出行需求
人工智能·算法·机器学习·ai·大模型·算力·ai智能座舱助手
如何原谅奋力过但无声1 天前
【灵神高频面试题合集01-03】相向双指针、滑动窗口
数据结构·python·算法·leetcode
leoufung1 天前
LeetCode 42:接雨水 —— 从“矩形法”到双指针的完整思考过程
java·算法·leetcode
_日拱一卒1 天前
LeetCode:543二叉树的直径
算法·leetcode·职场和发展
汉克老师1 天前
GESP2025年3月认证C++五级( 第一部分选择题(9-15))
c++·算法·高精度计算·二分算法·gesp5级·gesp五级
穿条秋裤到处跑1 天前
每日一道leetcode(2026.04.28):获取单值网格的最小操作数
算法·leetcode·职场和发展