✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
瞪羚优化算法Gazelle optimization algorithm
⛄ 部分代码
clear all
clc
format long
SearchAgents_no=50; % Number of search agents
Function_name='F1';
Max_iteration=1000; % Maximum number of iterations
[lb,ub,dim,fobj]=Get_Functions_details(Function_name);
[Best_score,Best_pos,Convergence_curve]=GOA2(SearchAgents_no,Max_iteration,lb,ub,dim,fobj);
% function topology
figure('Position',[500 400 700 290])
subplot(1,2,1);
func_plot(Function_name);
title('Function Topology')
xlabel('x_1');
ylabel('x_2');
zlabel([Function_name,'( x_1 , x_2 )'])
% Convergence curve
subplot(1,2,2);
semilogy(Convergence_curve,'Color','r')
title('Objective space')
xlabel('Iteration');
ylabel('Best score obtained so far');
display(['The best solution obtained by GOA is : ', num2str(Best_pos,10)]);
display(['The best optimal value of the objective function found by GOA is : ', num2str(Best_score,10)]);
disp(sprintf('--------------------------------------'));
⛄ 运行结果



⛄ 参考文献
[1] Agushaka J O , Ezugwu A E , Abualigah L . Gazelle optimization algorithm: a novel nature-inspired metaheuristic optimizer[J]. Neural Computing and Applications, 2022.
❤️ 关注我领取海量matlab电子书和数学建模资料
❤️部分理论引用网络文献,若有侵权联系博主删除
本文介绍了瞪羚优化算法(Gazelle Optimization Algorithm, GOA),提供了一段MATLAB实现代码,并展示了运行结果。通过GOA求解优化问题,展示目标函数的地形和收敛曲线。文章引用了相关研究文献,关注作者可获取更多MATLAB资源。"
84339453,291030,PHP parse_ini_file 函数详解与实战,"['PHP', '配置处理', '文件操作', '函数扩展', '编程技巧']
874

被折叠的 条评论
为什么被折叠?



