一、沙丁魚(yú)優(yōu)化算法
沙丁魚(yú)優(yōu)化算法(Sardine optimization algorithm,SOA)由Zhang HongGuang等人于2023年提出,該算法模擬沙丁魚(yú)的生存策略,具有搜索能力強(qiáng),求解精度高等特點(diǎn)。
沙丁魚(yú)主要以浮游生物為食,這些生物包括細(xì)菌、腔腸動(dòng)物、軟體動(dòng)物、原生動(dòng)物、十足目、幼小藤壺、魚(yú)卵、甲藻、橈足類等。沙丁魚(yú)的季節(jié)餌料組成會(huì)隨著水文條件的變化而改變。在上升流劇烈的時(shí)期,餌料組成以浮游植物為主;而在上升流微弱的時(shí)期,餌料組成則以浮游動(dòng)物為主。沙丁魚(yú)是一種濾食動(dòng)物,它們通過(guò)鰓過(guò)濾海水,捕獲通過(guò)鰓的浮游生物。此外,沙丁魚(yú)擁有一雙透鏡眼,這極大地提高了它們的視力和圖像亮度,因此它們能夠利用視力追蹤在水中過(guò)濾的獵物。除了像大多數(shù)魚(yú)類一樣借助快速的游動(dòng)逃避捕食者外,沙丁魚(yú)還利用群體行為來(lái)躲避捕獵者。例如,當(dāng)遇到捕食沙丁魚(yú)的海豚時(shí),沙丁魚(yú)會(huì)聚成大群來(lái)對(duì)抗海豚的捕食。在沒(méi)有外部威脅或障礙物時(shí),魚(yú)群通常會(huì)聚成接近球形的形態(tài),以便協(xié)同躲避。
參考文獻(xiàn):Zhang, H., Tang, M., Liu, Y.?et al.?Sardine Optimization Algorithm with Agile Locality and Globality Strategies for Real Optimization Problems.?Arab J Sci Eng?48, 9787–9825 (2023). Sardine Optimization Algorithm with Agile Locality and Globality Strategies for Real Optimization Problems | SpringerLink
二、23個(gè)測(cè)試函數(shù)簡(jiǎn)介
23個(gè)測(cè)試函數(shù)簡(jiǎn)介
測(cè)試集:23組基本測(cè)試函數(shù)簡(jiǎn)介及圖像(提供python代碼)_IT猿手的博客-CSDN博客
參考文獻(xiàn):
[1] Yao X, Liu Y, Lin G M. Evolutionary programming made faster[J]. IEEE transactions on evolutionary computation, 1999, 3(2):82-102.
三、SOA求解23個(gè)測(cè)試函數(shù)
(1)部分代碼
close all clear ; clc; SearchAgents_no=20; %? 種群數(shù)量 Function_name='F1'; % Name of the test function that can be from F1 to F23 (Table 1,2,3 in the paper) 設(shè)定適應(yīng)度函數(shù) Max_iteration=100; % Maximum numbef of iterations 設(shè)定最大迭代次數(shù) % Load details of the selected benchmark function [lb,ub,dim,fobj]=Get_Functions_details(Function_name);? %設(shè)定邊界以及優(yōu)化函數(shù) %% Executing SOA algorithm [BestIndividual,BestFitness,curve]=SOA(SearchAgents_no,Max_iteration,lb,ub,dim,fobj); %開(kāi)始優(yōu)化 figure plot(curve,'Color','r','linewidth',2.5) title('Objective space') xlabel('Iteration'); ylabel('Best score obtained so far'); axis tight grid on box on legend('SOA') display(['The best solution obtained by SOA is ', num2str(BestIndividual)]); display(['The best optimal value of the objective funciton found by SOA is ', num2str(BestFitness)]);
(2)部分結(jié)果
文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-707296.html
文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-707296.html
四、完整MATLAB代碼
到了這里,關(guān)于沙丁魚(yú)優(yōu)化算法(Sardine optimization algorithm,SOA)求解23個(gè)函數(shù)MATLAB的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!