【优化求解】金鹰优化求解算法(GEO)matlab源码

 


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  
%  Golden Eagle Optimizer (GEO) source codes version 1.0
%  

% To use this code in your own project 
% remove the line for 'GetFunctionDetails' function 
% and define the following parameters: 
% fun   : function handle to the .m file containing the objective function
%		  the .m file you define should accept the whole population 'x' 
%		  as input and return a column vector containing objective function 
%		  values of all of the population members
% nvars : number of decision/design variables 
% lb    : lower bound of decision variables (must be of size 1 x nvars)
% ub    : upper bound of decision variables (must be of size 1 x nvars)
%
% GEO will return the following: 
% x     : best solution found 
% fval  : objective function value of the found solution 
% 



%% Inputs 

FunctionNumber = 1; % 1-23

options.PopulationSize = 50;
options.MaxIterations  = 1000;



%% Run Multi-Objective Golden Eagle Optimizer 

[fun,nvars,lb,ub] = GetFunctionDetails (FunctionNumber);

options.AttackPropensity = [0.5 ,   2];
options.CruisePropensity = [1   , 0.5];

[x,fval,ConvergenceCurve] = GEO (fun,nvars,lb,ub, options);



%% Plot results 

PlotResults (fun,lb,ub, FunctionNumber,ConvergenceCurve) 


【优化求解】金鹰优化求解算法(GEO)matlab源码_第1张图片

完整代码或者代写添加QQ1575304183

往期回顾>>>>>>

【优化求解】混沌粒子群matlab源码

【优化求解】土狼算法matlab源码

【优化求解】基于混沌反向学习改进灰狼算法matlab源码

【优化求解】粒子群优化灰狼算法matlab源码

【优化求解】改进灰狼算法求解重油热解模型matlab源码

【优化求解】多目标灰狼优化算法MOGWOmatlab源码

【优化求解】蜉蝣算法matlab源码

【优化求解】平衡优化器算法matlab源码

【优化求解】麻雀算法matlab源码

【优化求解】探路者优化算法matlab源码

【优化求解】改进的萤火虫算法matlab源码

【优化求解】磷虾群算法(Krill Herd Algorithm,KHA)

【优化求解】差分进化算法(Differential Evolution)matlab源码

【优化求解】冠状病毒群体免疫优化算法(CHIO)matlab源码

你可能感兴趣的:(matlab,优化求解)