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

相关推荐
yzx9910136 分钟前
基于 Q-Learning 算法和 CNN 的强化学习实现方案
人工智能·算法·cnn
iCxhust8 分钟前
Prj10--8088单板机C语言8259测试(1)
c语言·开发语言
亮亮爱刷题9 分钟前
算法练习-回溯
算法
眼镜哥(with glasses)1 小时前
蓝桥杯 国赛2024python(b组)题目(1-3)
数据结构·算法·蓝桥杯
крон3 小时前
【Auto.js例程】华为备忘录导出到其他手机
开发语言·javascript·智能手机
zh_xuan4 小时前
c++ 单例模式
开发语言·c++·单例模式
老胖闲聊4 小时前
Python Copilot【代码辅助工具】 简介
开发语言·python·copilot
Blossom.1184 小时前
使用Python和Scikit-Learn实现机器学习模型调优
开发语言·人工智能·python·深度学习·目标检测·机器学习·scikit-learn
曹勖之5 小时前
基于ROS2,撰写python脚本,根据给定的舵-桨动力学模型实现动力学更新
开发语言·python·机器人·ros2
豆沙沙包?5 小时前
2025年- H77-Lc185--45.跳跃游戏II(贪心)--Java版
java·开发语言·游戏