CEC2022代码(Matlab代码)及多种智能优化算法求解CEC2022

news2024/9/23 15:25:59

一、CEC2022测试函数  

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

CEC2022测试函数与理论最优值

Search range:[-100,100]^{D}

二、多种智能优化算法求解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 

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

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

 需要代码请私信博主

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/806910.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Vcenter安全加固-防火墙-只允许特定的IP地址访问Vcenter

一、场景 1.只允许特定的IP地址访问Vcenter。 2、其余全部拒绝。 二、操作步骤 1、登录Vcenter管理界面 https://<Vcenter-ip>:5480 2、点击防火墙-添加 3、添加规则 1、先添加允许访问的IP地址和掩码。 1、先放你的Esxi主机管理地址&#xff0c;不然会托管。 2、…

CTF —— 网络安全大赛

前言 随着大数据、人工智能的发展&#xff0c;人们步入了新的时代&#xff0c;逐渐走上科技的巅峰。 \ ⚔科技是一把双刃剑&#xff0c;网络安全不容忽视&#xff0c;人们的隐私在大数据面前暴露无遗&#xff0c;账户被盗、资金损失、网络诈骗、隐私泄露&#xff0c;种种迹象…

Redhat7/CentOS7 网络配置与管理(nmtui、nmcli、GNOME GUI、ifcfg文件、IP命令)

背景&#xff1a;作为系统管理员&#xff0c;需要经常处理主机网络问题&#xff0c;而配置与管理网络的方法和工具也有好几种&#xff0c;这里整理分享一下网络配置与管理的几种方式。 1、NetworkManager 概述 在 Red Hat Enterprise Linux 7 中&#xff0c;默认网络服务由 N…

LightGlue论文翻译

LightGlue:光速下的局部特征匹配 摘要 - 我们介绍 LightGlue&#xff0c;一个深度神经网络&#xff0c;学习匹配图像中的局部特征。我们重新审视 SuperGlue 的多重设计决策&#xff0c;稀疏匹配的最新技术&#xff0c;并得出简单而有效的改进。累积起来&#xff0c;它们使 Lig…

KafKa脚本操作

所有操作位于/usr/local/kafka_2.12-3.5.1/bin。 rootubuntu2203:/usr/local/kafka_2.12-3.5.1/bin# pwd /usr/local/kafka_2.12-3.5.1/bin rootubuntu2203:/usr/local/kafka_2.12-3.5.1/bin# ls connect-distributed.sh kafka-delegation-tokens.sh kafka-mirror-mak…

PHP使用Redis实战实录1:宝塔环境搭建、6379端口配置、Redis服务启动失败解决方案

宝塔环境搭建、6379端口配置、Redis服务启动失败解决方案 前言一、Redis安装部署1.安装Redis2.php安装Redis扩展3.启动Redis 二、避坑指南1.6379端口配置2.Redis服务启动&#xff08;1&#xff09;Redis服务启动失败&#xff08;2&#xff09;Redis启动日志排查&#xff08;3&a…

使用云服务器和Frp(快速反向代理)框架快速部署实现内网穿透

目录 一. 背景1.1 内网穿透1.2 Frp介绍1.3 Frp配置流程 二. 云服务器配置2.1 配置安全组2.2 编写frps.ini 三. 内网主机配置3.1 编辑frpc.ini文件3.2 启动服务并配置开机自启动 四. 参考文献 一. 背景 现在有一台ubuntu云服务器&#xff0c;我想通过内网穿透将一台内网的主机当…

PS软件打开闪退是什么原因?怎么处理闪退的问题?

Photoshop简称PS&#xff0c;它作为图像处理专家&#xff0c;具有相当强大的功能&#xff0c;但是有小伙伴说不好用&#xff0c;因为打开后会闪退&#xff0c;那该怎么办呢&#xff1f; PS软件闪退的处理方法&#xff1a; 1.下载并安装Adobe Creative Cloud&#xff0c;再登录…

专利背后的故事 | 一种安全访问控制方法

Part 01 专利发明的初衷 在互联网中&#xff0c;不可避免地存在一些具有风险或者异常的数据访问行为&#xff0c;会对企业管理系统、政府管理系统等系统的安全造成威胁。为了保障数据访问的安全&#xff0c;企业需要设置访问控制策略。访问控制策略通常是由一条或多条规则组成…

win10 查文件(夹)被占用

1、打开任务管理器-性能-打开资源监视器(左下角) 2、找到关联的句柄&#xff0c;输入文件(夹)地址 3、选择进程关闭

动态规划(组合总和+不同的二叉搜索树)

一)组合总和 377. 组合总和 Ⅳ - 力扣&#xff08;LeetCode&#xff09; 排列:所有情况是有序的 组合:所有情况是无序的 一)定义一个状态表示: 有限制条件下的组合问题: 1)dp[i][j]表示从前i个物品中进行挑选&#xff0c;总体积不超过j&#xff0c;所有的选法中&#xff0c;要的…

wxwidgets Ribbon使用简单实例

// RibbonSample.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <wx/wx.h> #include "wx/wxprec.h" #include "wx/app.h" #include "wx/frame.h" #include "wx/textctrl.h" #include "…

Linux中的pause函数

2023年7月29日&#xff0c;周六上午 函数原型 在Linux中&#xff0c;pause()函数用于使当前进程暂停执行&#xff0c;直到接收到一个信号。 #include <unistd.h>int pause(void);pause()函数不接受任何参数。 通常&#xff0c;pause()函数用于编写简单的信号处理程序&…

管理类联考——写作——实战篇——结构篇——不同角度

角度1——两种结构 人类面临的所有问题就是&#xff1a; 是什么? 为什么? 好不好(意义)? 怎么办? 结构引领思路&#xff1a; 想什么&#xff0c;比做什么更重要 怎么想&#xff0c;比想什么更重要 提纲挈领&#xff0c;纲举目张。先抓纲领&#xff0c;纲即结构&#xff…

SQL注入实操三(SQLi-labs 31-40)

文章目录 一、sqli-labs靶场1.轮子模式总结2.Less-31 FUN with WAFa.注入点判断b.轮子测试c.获取数据库名称d.获取表信息e.获取列信息f.获取表内数据 3.Less-32 Bypass addslashes()a.注入点判断b.轮子测试c.获取数据库名称d.获取表信息e.获取列信息f.获取表内数据 4.Less-33a.…

openGauss学习笔记-24 openGauss 简单数据管理-模式匹配操作符

文章目录 openGauss学习笔记-24 openGauss 简单数据管理-模式匹配操作符24.1 LIKE24.2 SIMILAR TO24.3 POSIX正则表达式 openGauss学习笔记-24 openGauss 简单数据管理-模式匹配操作符 数据库提供了三种独立的实现模式匹配的方法&#xff1a;SQL LIKE操作符、SIMILAR TO操作符…

秸秆变建材 | 更低碳,更高效!

秸秆是农作物收割后的残余资源&#xff0c;作为建材使用历史悠久。早在1886年美国内布拉斯加州就有了秸秆建筑。 其后秸秆建筑经历了两个发展高峰期&#xff1a;在第一个高峰期&#xff0c;1905年德国将麦秸和胶黏剂混合制成板材&#xff1b;1920年美国路易安那州建立了蔗渣制板…

【业务功能篇58】Springboot + Spring Security 权限管理 【中篇】

4.2.3 认证 4.2.3.1 什么是认证&#xff08;Authentication&#xff09; 通俗地讲就是验证当前用户的身份&#xff0c;证明“你是你自己”&#xff08;比如&#xff1a;你每天上下班打卡&#xff0c;都需要通过指纹打卡&#xff0c;当你的指纹和系统里录入的指纹相匹配时&…

【计算机视觉 | 目标检测】arxiv 计算机视觉关于目标检测的学术速递(7 月 26 日论文合集)

文章目录 一、检测相关(7篇)1.1 Personal Protective Equipment Detection in Extreme Construction Conditions1.2 RecursiveDet: End-to-End Region-based Recursive Object Detection1.3 Re-mine, Learn and Reason: Exploring the Cross-modal Semantic Correlations for L…

【每日一题】—— A - 1-2-4 Test (AtCoder Beginner Contest 270)

&#x1f30f;博客主页&#xff1a;PH_modest的博客主页 &#x1f6a9;当前专栏&#xff1a;每日一题 &#x1f48c;其他专栏&#xff1a; &#x1f534; 每日反刍 &#x1f7e1; C跬步积累 &#x1f7e2; C语言跬步积累 &#x1f308;座右铭&#xff1a;广积粮&#xff0c;缓称…