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

相关推荐
2301_8035545211 小时前
C++联合体(Union)详解:与结构体的区别、联系与深度解析
java·c++·算法
csbysj202011 小时前
React 表单与事件
开发语言
初圣魔门首席弟子11 小时前
c++ bug 函数定义和声明不一致导致出bug
开发语言·c++·bug
硬汉嵌入式11 小时前
Matlab2025b发布,全新的Simulink示波器
matlab·simulink
IT小农工11 小时前
Word 为每一页设置不同页边距(VBA 宏)
开发语言·c#·word
sali-tec12 小时前
C# 基于halcon的视觉工作流-章42-手动识别文本
开发语言·人工智能·算法·计算机视觉·c#·ocr
csbysj202012 小时前
中介者模式
开发语言
SandySY12 小时前
品三国谈人性
算法·架构
小欣加油12 小时前
leetcode 62 不同路径
c++·算法·leetcode·职场和发展
夏鹏今天学习了吗12 小时前
【LeetCode热题100(38/100)】翻转二叉树
算法·leetcode·职场和发展