91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 7KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-17
  • 語言: Matlab
  • 標簽: 未分類??

資源簡介

matlab開發-多目標優化差分進化算法。為多目標優化運行基本差分進化(DE)算法。

資源截圖

代碼片段和文件信息

%%?CostFunction.m?
%?J??[OUT]?:?The?objective?Vector.?J?is?a?matrix?with?as?many?rows?as
%????????????trial?vectors?in?X?and?as?many?columns?as?objectives.
%?X???[IN]?:?Decision?Variable?Vector.?X?is?a?matrix?with?as?many?rows?as
%????????????trial?vector?and?as?many?columns?as?decision?variables.
%?Dat?[IN]?:?Parameters?defined?in?NNCparam.m
%?
%%
%%?Beta?version?
%?Copyright?2006?-?2012?-?CPOH??
%?Predictive?Control?and?Heuristic?Optimization?Research?Group
%??????http://cpoh.upv.es
%?ai2?Institute
%??????http://www.ai2.upv.es
%?Universitat?Polit鑓nica?de?Val鑞cia?-?Spain.
%??????http://www.upv.es
%%
%%?Author
%?Gilberto?Reynoso?Meza
%?gilreyme@upv.es
%?http://cpoh.upv.es/en/gilberto-reynoso-meza.html
%?http://www.mathworks.es/matlabcentral/fileexchange/authors/289050
%%
%%?For?new?releases?and?bug?fixing?of?this?Tool?Set?please?visit:
%?http://cpoh.upv.es/en/research/software.html
%?Matlab?Central?File?Exchange
%%

%%?Main?call
function?J=CostFunction(XDat)

if?strcmp(Dat.CostProblem‘DTLZ2‘)
????J=DTLZ2(XDat);
elseif?strcmp(Dat.CostProblem‘YourProblem‘)
????%?Here?comes?the?call?for?a?cost?function?of?your?own?multi?objective
????%?problem.?
end

%%?DTLZ2?Benchmark?function.?Defined?in:
%?K.?Deb?L.?Tiele?M.?Laummans?and?E.?Zitzler.?Scalable?test?problems?
%?for?evolutionary?multi-objective?optimization.?Institut?fur?Technische?
%?Informatik?und?Kommunikationsnetze?ETH?Zurich?Tech.?Rep.?TIK-Technical?
%?Report?No.?112?Feb.?2001.
function?J=DTLZ2(XDat)

Xpop=size(X1);
Nvar=Dat.NVAR;
M=Dat.NOBJ;
K=Nvar+1-M;
J=ones(XpopM);

for?xpop=1:Xpop
????Gxm=(X(xpopM:Nvar)-0.5*ones(1K))*(X(xpopM:Nvar)-0.5*ones(1K))‘;
????Cos=cos(X(xpop1:M-1)*pi/2);

????J(xpop1)=prod(Cos)*(1+Gxm);
????for?nobj=1:M-1
?????J(xpopnobj+1)=(J(xpop1)/prod(Cos(1M-nobj:M-1)))...
?????????*sin(X(xpopM-nobj)*pi/2);
????end
end

%%?Write?your?own?cost?function?here....


%%?Release?and?bug?report:
%
%?November?2012:?Initial?release

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2015??2012-11-08?15:54??CostFunction.m
?????文件????????7004??2012-11-08?15:55??MODE.m
?????文件????????3380??2012-11-08?15:55??MODEparam.m
?????文件????????2033??2012-11-08?15:54??ReadMe.txt
?????文件????????1559??2014-02-12?14:11??license.txt

評論

共有 條評論