找回密码
 注册
关于网站域名变更的通知
查看: 552|回复: 2
打印 上一主题 下一主题

金鹰优化求解算法(GEO)

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2021-3-31 08:49 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x

9 o; C) m. H1 s# `  \! n一、源代码
- C0 k: ]% ^; `0 g7 V ! o. [" `+ C# W* t7 l7 A
  • %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  • %
  • %  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)
  • & r+ W: i6 I, r1 x. C$ D
                 ) ~* H+ P& p; c/ j2 L% t& r/ X6 C

% `) ]) M. P5 V4 K# N0 i' r( `, r' ^7 Q5 q2 b* O) n8 i1 }
二、运行结果; m9 i' w" J0 H) c

* [' f9 T( S! _3 F/ D4 ^" q

该用户从未签到

2#
发表于 2021-3-31 13:33 | 只看该作者
                                             

该用户从未签到

3#
发表于 2021-3-31 16:04 | 只看该作者
金鹰优化求解算法(GEO)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-10-5 23:27 , Processed in 0.125000 second(s), 26 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表