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代码

相关推荐
skytier21 小时前
Construct内报错和定位解决
算法
skytier21 小时前
Ascend print数据落盘使用
算法
etcix21 小时前
dmenux.c: integrate dmenu project as one file
c语言·前端·算法
papership21 小时前
【入门级-算法-6、排序算法:选择排序】
数据结构·算法·排序算法
RickyWasYoung21 小时前
【代码】matlab-遗传算法工具箱
开发语言·matlab
汉克老师21 小时前
第十四届蓝桥杯青少组C++选拔赛[2023.2.12]第二部分编程题(4、最大空白区)
c++·算法·蓝桥杯·蓝桥杯c++·c++蓝桥杯
共享家95271 天前
优先搜索(DFS)实战
算法·leetcode·深度优先
一只懒洋洋1 天前
中值滤波、方框滤波、高斯滤波、均值滤波、膨胀、腐蚀、开运算、闭运算
算法·均值算法
shellvon1 天前
你怎么被识别的?从TLS到Canvas的设备追踪术
后端·算法
薛定谔的算法1 天前
JavaScript栈的实现与应用:从基础到实战
前端·javascript·算法