2024最新群智能优化算法:大甘蔗鼠算法(Greater Cane Rat Algorithm,GCRA)求解23个函数,提供MATLAB代码

一、大甘蔗鼠算法

大甘蔗鼠算法(Greater Cane Rat Algorithm,GCRA)由Jeffrey O. Agushaka等人于2024年提出,该算法模拟大甘蔗鼠的智能觅食行为。

参考文献

1\]Agushaka J O, Ezugwu A E, Saha A K, et al. Greater Cane Rat Algorithm (GCRA): A Nature-Inspired Metaheuristic for Optimization Problems\[J\]. Heliyon, 2024. ### 二、23个函数介绍 ![](https://file.jishuzhan.net/article/1796558336154406914/3ea3af6a4cb623b78dd28fe776bae638.webp) [参考文献](https://so.csdn.net/so/search?q=%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE&spm=1001.2101.3001.7020 "参考文献"): \[1\] Yao X, Liu Y, [Lin](https://so.csdn.net/so/search?q=Lin&spm=1001.2101.3001.7020 "Lin") G M. Evolutionary programming made faster\[J\]. IEEE transactions on evolutionary computation, 1999, 3(2):82-102. ### 三、部分代码 ``` close all ; clear clc Npop=30; Function_name='F8'; % Name of the test function that can be from F1 to F23 ( Tmax=300; [lb,ub,dim,fobj]=Get_Functions_details(Function_name); [Best_fit,Best_pos,Convergence_curve]=GCRA(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('GCRA') saveas(gca,[Function_name '.jpg']); display(['The best solution is ', num2str(Best_pos)]); display(['The best fitness value is ', num2str(Best_fit)]); ``` ### 四、部分结果 ![](https://file.jishuzhan.net/article/1796558336154406914/15b1832a4e8cbba60db00e2508eaa674.webp) ![](https://file.jishuzhan.net/article/1796558336154406914/71b4e71c5146f9be944051b8d04a23ec.webp) ![](https://file.jishuzhan.net/article/1796558336154406914/0c39454c2b670a368136b9880ca8138e.webp) ![](https://file.jishuzhan.net/article/1796558336154406914/430c1323aa711c129778110a8222e731.webp) ![](https://file.jishuzhan.net/article/1796558336154406914/d54d4407f64348f692e71a30c2330e8f.webp) ![](https://file.jishuzhan.net/article/1796558336154406914/0be472809a2aa5ccb7219a0a60b3aa82.webp) ![](https://file.jishuzhan.net/article/1796558336154406914/2450f396704c64355fd09b312fa5092f.webp) ### 五、完整MATLAB代码

相关推荐
阳光_你好几秒前
详细说明Qt 中共享内存方法: QSharedMemory 对象
开发语言·数据库·qt
鹿屿二向箔16 分钟前
阀门流量控制系统MATLAB仿真PID
开发语言·matlab
jiet_h18 分钟前
深入解析Kapt —— Kotlin Annotation Processing Tool 技术博客
android·开发语言·kotlin
没有黑科技19 分钟前
0.雷达信号
matlab
序属秋秋秋19 分钟前
算法基础_基础算法【高精度 + 前缀和 + 差分 + 双指针】
c语言·c++·学习·算法
玉树临风ives20 分钟前
leetcode 2360 图中最长的环 题解
算法·leetcode·深度优先·图论
anda010927 分钟前
11-leveldb compact原理和性能优化
java·开发语言·性能优化
tRNA做科研28 分钟前
通过Bioconductor/BiocManager安装生物r包详解(问题汇总)
开发语言·r语言·生物信息学·bioconductor·biocmanager
Tiger Z29 分钟前
R 语言科研绘图 --- 韦恩图-汇总
开发语言·程序人生·r语言·贴图
爱吃馒头爱吃鱼32 分钟前
QML编程中的性能优化二
开发语言·qt·学习·性能优化