✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

​智能优化算法​​​       ​​神经网络预测​​​       ​​雷达通信 ​​​      ​​无线传感器​​​        ​​电力系统​

​信号处理​​​              ​​图像处理​​​               ​​路径规划​​​       ​​元胞自动机​​​        ​​无人机 ​

⛄ 内容介绍

鱼鹰算法Osprey Optimization Algorithm求解单目标优化问题附matlab代码

⛄ 部分代码

%% 

% Osprey Optimization Algorithm: A new bio-inspired metaheuristic algorithm for solving engineering optimization problems

% Pavel Trojovský1 and Mohammad Dehghani

% Department of Mathematics, Faculty of Science, University of Hradec Králové, 50003 Hradec Králové, Czech Republic

% " Optimizer"

%%

clc

clear

close all

%%

%%

Fun_name='F1'; % number of test functions: 'F1' to 'F23'

SearchAgents=30;                      % population members 

Max_iterations=1000;                  % maximum number of iteration

[lowerbound,upperbound,dimension,fitness]=fun_info(Fun_name); % Object function information

[Best_score,Best_pos,OOA_curve]=OOA(SearchAgents,Max_iterations,lowerbound,upperbound,dimension,fitness);  % Calculating the solution of the given problem using OOA 

%%

display(['The best optimal value of the objective funciton found by OOA  for ' [num2str(Fun_name)],'  is : ', num2str(Best_score)]);

%%

⛄ 运行结果

鱼鹰算法Osprey Optimization Algorithm求解单目标优化问题附matlab代码_ci

鱼鹰算法Osprey Optimization Algorithm求解单目标优化问题附matlab代码_Max_02

鱼鹰算法Osprey Optimization Algorithm求解单目标优化问题附matlab代码_Max_03

⛄ 参考文献

⛳️ 完整代码

❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料