一、足球联赛优化的冠军算法
基于足球联赛优化的冠军算法 (Soccer league optimization-based championship algorithm ,SLOCA)由Mohammad R等人于2022年提出,该算法的灵感来自足球团队合作。该算法包括两个主要步骤:资格赛和主要比赛。
参考文献:
[1]Mohammad R. Ghasemi, Mehdi Ghasri and Abdolhamid Salarnia,Soccer league optimization-based championship algorithm (SLOCA):A fast novel meta-heuristic technique for optimization problems,Techno Press Services.Volume 7, Number 4, October 2022 , pages 297-319,DOI: Soccer league optimization-based championship algorithm (SLOCA): A fast novel meta-heuristic technique for optimization problems
二、23个函数介绍
参考文献:
[1] Yao X, Liu Y, Lin G M. Evolutionary programming made faster[J]. IEEE transactions on evolutionary computation, 1999, 3(2):82-102.
三、SLOCA求解23个函数
3.1部分代码
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]=SLOCA(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('SLOCA') saveas(gca,[Function_name '.jpg']); display(['The best solution is ', num2str(Best_pos)]); display(['The best fitness value is ', num2str(Best_fit)]);
3.2部分结果
四、完整MATLAB代码
文件夹夹内包含该算法求解23个函数的完整MATLAB代码,点击main.m即可运行。