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

目录

一、CEC2022测试函数  

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

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

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

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

一、CEC2022测试函数  

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

101c0aba55d646df8717383eba32ba96.png

CEC2022测试函数与理论最优值

eq?Search%20range%3A%5B-100%2C100%5D%5E%7BD%7D

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

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

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

d4b8526375e94bccbba8b81bcc680915.png

 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

86bcccfce47440c6aeeb691478fbe562.png

 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

90189fb8f9b8464ea0624fbeece7d845.png

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

11da29868cff48f6a90a7117206a6f3e.png

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

964a2866ee9942188a64fcd88d852deb.png

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 

3ef6305f85c94dc4acb4ac786dfa0efb.png

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

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

 需要代码请私信博主

e5c295a7f5b64fd09890fd99f89e1e7d.png

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

SpringBoot使用JKS或PKCS12证书实现https

SpringBoot使用JKS或PKCS12证书实现https 生成JKS类型的证书 可以利用jdk自带的keytool工具来生成证书文件&#xff0c; 默认生成的是JKS证书 cmd命令如下: 执行如下命令&#xff0c;并按提示填写证书内容&#xff0c;最后会生成server.keystore文件 keytool -genkey tomcat…

VMware Linux Centos 配置网络并设置为静态ip

在root用户下进行以下操作 1. 查看子网ip和网关 &#xff08;1&#xff09;进入虚拟网络编辑器 &#xff08;2&#xff09;进入NAT设置 &#xff08;3&#xff09;记录子网IP和子网掩码 2. 修改网络配置文件 &#xff08;1&#xff09;cd到网络配置文件路径下 [rootlo…

【element-ui】form表单初始化页面如何取消自动校验rules

问题描述&#xff1a;elementUI表单提交页面&#xff0c;初始化页面是获取接口数据&#xff0c;给form赋值&#xff0c;但是有时候这些会是空值情况&#xff0c;如果是空值&#xff0c;再给form表单赋值的话&#xff0c;页面初始化时候进行rules校验会不通过&#xff0c;此时前…

OpenMMLab MMDetectionV3.1.0-SAM(环境安装、模型测试、训练以及模型后处理工具)

OpenMMLab Playground 概况 当前通用目标检测的研究方向正在朝着大型多模态模型发展。除了图像输入之外&#xff0c;最近的研究成果还结合了文本模式来提高性能。添加文本模态后&#xff0c;通用检测算法的一些非常好的属性开始出现&#xff0c;例如&#xff1a; 可以利用大量…

在政策+市场双轮驱动下,深眸科技助力机器视觉行业走向成熟

近年来&#xff0c;随着人工智能发展的不断提速&#xff0c;机器视觉作为其重要的前沿分支&#xff0c;凭借着机器代替人眼来做测量和判断的能力&#xff0c;广泛应用于工业领域的制造生产环节&#xff0c;用来保证产品质量、控制生产流程、感知环境等&#xff0c;并迸发出强劲…

AI绘画| 迪士尼风格|可爱头像【附Midjourney提示词】

Midjourney案例分享 图片预览 迪士尼风格&#xff5c;可爱头像 高清原图及关键词Prompt已经放在文末网盘&#xff0c;需要的自取 在数字艺术的新时代&#xff0c;人工智能绘画已经迅速崭露头角。作为最先进的技术之一&#xff0c;AI绘画结合了艺术和科学&#xff0c;开启了一…

【工作】vant的search组件手动聚焦

背景 为了方便用户使用&#xff0c;第一次进来时默认输入框聚焦&#xff0c;但是当用户并没有输入手机号&#xff0c;点击按钮时&#xff0c;需要给一个友好提示&#xff0c;并且输入框重新聚集上。 过程 最开始以为search组件这个方法肯定已经实现了并且看官网文档上也有对…

redis的事务、redis持久化方案、Java操作redis数据库

五、redis的事务 开启事务&#xff1a; 要等左边的提交事务&#xff0c;右边才能拿到修改后的值 本来name不能增加&#xff0c;会报错&#xff0c;但是事务中没提交不知道错 此时提交数据&#xff1a; redis事务将成功的正常提交&#xff0c;失败的才回滚&#xff0c;所以不具备…

【计算机网络】11、网桥(bridge)、集线器(hub)、交换机(switch)、路由器(router)、网关(gateway)

文章目录 一、网桥&#xff08;bridge)二、集线器&#xff08;hub&#xff09;三、交换机&#xff08;switch)四、路由器&#xff08;router&#xff09;五、网关&#xff08;gateway&#xff09; 对于hub&#xff0c;一个包过来后&#xff0c;直接将包转发到其他口。 对于桥&…

边写代码边学习之卷积神经网络CNN

1. 卷积神经网络CNN 卷积神经网络&#xff08;Convolutional Neural Network&#xff0c;CNN&#xff09;是一种深度学习神经网络的架构&#xff0c;主要用于图像识别、图像分类和计算机视觉等任务。它是由多层神经元组成的神经网络&#xff0c;其中包含卷积层、池化层和全连接…

HCIP——前期综合实验

前期综合实验 一、实验拓扑二、实验要求三、实验思路四、实验步骤1、配置接口IP地址2、交换机配置划分vlan10以及vlan203、总部分部&#xff0c;骨干网配置OSPF分部总部骨干网 4、配置BGP建立邻居关系总部骨干网分部 5、发布用户网段6、将下一跳改为本地7、允许AS重复8、重发布…

Java中集合容器详解:简单使用与案例分析

目录 一、概览 1.1 Collection 1. Set 2. List 3. Queue 1.2 Map 二、容器中的设计模式 迭代器模式 适配器模式 三、源码分析 ArrayList 1. 概览 2. 扩容 3. 删除元素 4. 序列化 5. Fail-Fast Vector 1. 同步 2. 扩容 3. 与 ArrayList 的比较 4. 替代方案…

C#——多线程之Thread

C#——多线程之Thread 前言一、Thread是什么&#xff1f;二、各应用场景以及实例分析1.前台线程和后台线程&#xff1a;2.异步处理3.线程状态及手动销毁线程4.线程同步/等待线程完成 总结 前言 上次简单讲述了关于多线程中Task的相关应用以及场景。今天我们来看一下多线程中Th…

【LeetCode】27. 移除元素

题目大概意思是剔除nums数组中出现的所有val值。可以用快慢双指针法来做。 快的指针在前面遍历找值不为val的元素的下标&#xff0c;慢的负责接收值不为val的元素&#xff0c;并及时更新数组。 class Solution {public int removeElement(int[] nums, int val) {//快慢指针法in…

单网卡实现 双IP 双网段(内外网)同时运行

前提是内外网是同一网线连接&#xff08;双网线双网卡的具体可以自己搜索下。理论上都设置静态IP后把外网跃点设置小&#xff0c;内网跃点设置大&#xff0c;关闭自动跃点设置同一个接口跃点数&#xff0c;在通过命令提示符添加内网网址走内网网关就可以了&#xff09;。 需要使…

华为OD机试真题 JavaScript 实现【机器人活动区域】【2023Q1 200分】,附详细解题思路

目录 一、题目描述二、输入描述三、输出描述四、解题思路五、JavaScript算法源码六、效果展示1、输入2、输出 华为OD机试 2023B卷题库疯狂收录中&#xff0c;刷题点这里 刷的越多&#xff0c;抽中的概率越大&#xff0c;每一题都有详细的答题思路、详细的代码注释、样例测试&am…

iOS--Runloop

Runloop概述 一般来说&#xff0c;一个线程一次只能执行一个任务&#xff0c;执行完成后线程就会退出。就比如之前学OC时使用的命令行程序&#xff0c;执行完程序就结束了。 而runloop目的就是使线程在执行完一次代码之后不会结束程序&#xff0c;而是使该线程处于一种休眠的状…

【iOS】GCD深入学习

关于GCD和队列的简单介绍请看&#xff1a;【iOS】GCD学习 本篇主要介绍GCD中的方法。 栅栏方法:dispatch_barrier_async 我们有时候需要异步执行两组操作&#xff0c;而且第一组操作执行完之后&#xff0c;才能开始执行第二组操作&#xff0c;当然操作组里也可以包含一个或者…

windows下安装anaconda、pycharm、cuda、cudnn、PyTorch-GPU版本

目录 一、anaconda安装及虚拟环境创建 1.anaconda的下载 2.Anaconda的安装 3.创建虚拟环境 3.1 环境启动 3.2 切换镜像源 3.3环境创建 3.4 激活环境 3.5删除环境 二、pycharm安装 1.pycharm下载 2.pycharm的安装 三、CUDA的安装 1.GPU版本和CUDA版本、cudnn版本、显卡…

Redis 客户端有哪些?

文章目录 JedisLettuceRedisson最佳实践 - 到底用哪个&#xff1f; Redis 最常见的 Java 客户端有两个&#xff0c;Jedis 和 Lettuce&#xff0c;高级客户端有 Redisson&#xff0c;见下图&#xff08;图源 Clients | Redis&#xff09; Jedis Github地址&#xff1a;redis/j…
最新文章