一、进化动态约束多目标优化测试集DCP1-DCP9
参考文献:
[1]G. Chen, Y. Guo, Y. Wang, J. Liang, D. Gong and S. Yang, “Evolutionary Dynamic Constrained Multiobjective Optimization: Test Suite and Algorithm,” in IEEE Transactions on Evolutionary Computation, doi: 10.1109/TEVC.2023.3313689.
动态多目标优化:进化动态约束多目标优化测试集DCP1-DCP9的TruePF(提供MATLAB代码)-CSDN博客
二、部分代码
close all clear clc warning off; ft=10; nt=10; maxgen=300; preEvolution=5; NS=500; for idx=1:9 Problem=strcat('DCP',num2str(idx)); PF = GeneratePF(Problem,ft,nt,maxgen,preEvolution,NS); for i = 1 : ceil((maxgen-preEvolution)/ft+1) t{i} = strcat('t=',num2str((i-1) / nt)); end colorstr=ColorLine(size(PF,2)); figure for i=1:size(PF,2) plot(PF(i).PF(:,1),PF(i).PF(:,2),'.','color',colorstr(i,:)); hold on end h=legend(t); h.NumColumns=2; h.Location='southeastoutside'; title(strcat(Problem,'-truePF')) if idx==8||idx==1||idx==3||idx==6||idx==9 xlabel('\it\fontname{Times New Roman}f_1+2t'); ylabel('\it\fontname{Times New Roman}f_2+2t'); elseif idx==4||idx==5||idx==7 xlabel('\it\fontname{Times New Roman}f_1+t'); ylabel('\it\fontname{Times New Roman}f_2+t'); else xlabel('\it\fontname{Times New Roman}f_1'); ylabel('\it\fontname{Times New Roman}f_2'); end saveas(gca,strcat(Problem,'.jpg')) end