一、算法介绍
鹅优化算法(GOOSE Algorithm,GOOSE)是2024年提出的一种智能优化算法,该算法从鹅的休息和觅食行为获得灵感,当鹅听到任何奇怪的声音或动作时,它们会发出响亮的声音来唤醒群中的个体,并保证它们的安全。
![](https://img-blog.csdnimg.cn/img_convert/69a42d128fa08a7fa12295a7c3063b21.png)
参考文献
[1]Hamad R K, Rashid T A. GOOSE algorithm: a powerful optimization tool for real-world engineering challenges and beyond[J]. Evolving Systems, 2024: 1-26.
二、23个函数简介
![](https://img-blog.csdnimg.cn/img_convert/b6ca32dc6f94217c5c6ccbd7525e606a.png)
参考文献:
[1] Yao X, Liu Y, 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='F1'; % 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]=(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('')
saveas(gca,[Function_name '.jpg']);
display(['The best solution is ', num2str(Best_pos)]);
display(['The best fitness value is ', num2str(Best_fit)]);
四、部分结果
![](https://img-blog.csdnimg.cn/img_convert/61bfe75b68353e40fa78fb63eb0b2e00.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/6fc6070573a7b60c8542897fed0d5c10.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/7704a60798605ad5872f6fc7d616a0bf.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/9673bb970d216470f34deac0259a8223.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/10311c55afad69782a234f939394f852.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/489eafbf7d5ce1aeb4cbaf0f8f52da1d.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/54c9a850b804063165297c17a375c3c9.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/3f010dae218d048556172e2825600b75.jpeg)
五、完整MATLAB代码
![](https://img-blog.csdnimg.cn/img_convert/703ffe04d19457310126679351a7ed9c.png)