|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
function [y, cons] = MTPR_DTLZ3_objfun_3obj(x)- Y6 J" C0 n) S/ H) h: ~
% Objective function : Test problem 'DTLZ2'.8 H* z- t) b8 z
%*************************************************************************
3 \1 n) ~+ T0 W$ O7 K5 ]. x6 Z. m9 uy = [0,0];
: U& u! F, f ^cons = [];9 Q- u! j. p: Z% j: K
model1 = load('modelwest12.mat');0 `( M" o2 `/ z' E1 H5 ]" F
outputps1 = load('outputwest12.mat');9 K2 h! X: l4 F, A
inputps1 = load('inputwest12.mat');
' r* ?+ g l% _: z$ [ `% outputps2 = load('outputpsb1.mat');
# @4 d. B7 V. Z1 G9 s( Z2 L% inputps2 = load('inputpsb1.mat');) U9 {1 D5 T) x! ]) m' R! F
% model2 = load('modelb1.mat');
/ s( }- m: t/ \# O4 W! ?% outputps3 = load('outputpstld.mat');
; o. r3 C1 P7 c. ^: w% s; `; O% inputps3 = load('inputpstld.mat');
9 e: {7 q) R. N, Z% model3 = load('modeltld.mat');
5 D5 c7 B( _% cmytest2one1 = mapminmax('apply',x',inputps1);
/ r0 l: T+ ~3 t1 x- |" omytest2one1 = mytest2one1';
' s! m* x/ |, w. X+ P3 e. A4 ?y(1) = DecisionFunction(mytest2one1,model1);
4 b' G! j# N3 y* o( F8 `y(1) =-mapminmax('reverse',y(1),outputps1);! C, I4 f$ x! S1 H2 R4 {
y(2)=886.6465691-3.96*10^(-8)*0.5*{37^4-(5720.4*x(6).*x(5)+5720.4*x(1)-5720.4*x(6).*x(1)+8643.63*x(3))^4/(14355.03)^4}-138;0 b+ t3 v, G8 s( K( W. [+ m/ l
报错指向的是y2这个函数# C2 j# S+ a. C5 ]0 J8 \
|
|