|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
function [y, cons] = MTPR_DTLZ3_objfun_3obj(x). y( n5 g) E2 `
% Objective function : Test problem 'DTLZ2'.1 G8 H3 K0 b2 z5 X9 X5 B2 d
%*************************************************************************
' L- P2 j- J# h( B4 i- S) ty = [0,0];
3 y, v, E1 `4 rcons = [];
) c8 ?8 \5 J# ~$ y# Q; X5 e" ~model1 = load('modelwest12.mat');
7 b+ A/ e2 N5 b" f. coutputps1 = load('outputwest12.mat');
. m, ]' }5 g) U4 d7 \/ yinputps1 = load('inputwest12.mat');2 P$ B1 M7 o+ Y- @; o0 F! s
% outputps2 = load('outputpsb1.mat');1 }. G) Q* E* f+ K' }5 b7 Y4 J
% inputps2 = load('inputpsb1.mat');
6 B* s/ z% d& z. \" W6 c% model2 = load('modelb1.mat');. U$ `2 P% n' |' v( O
% outputps3 = load('outputpstld.mat');2 a) _ O5 D3 y) y, o% i: x# @2 F
% inputps3 = load('inputpstld.mat');
) c6 z* H# t$ ^/ h* o* @- u% model3 = load('modeltld.mat');% `0 e/ P- v- @ Z, ~1 Q
mytest2one1 = mapminmax('apply',x',inputps1);( L7 n3 a0 E1 {$ H( N
mytest2one1 = mytest2one1';3 T# [0 H& T% }
y(1) = DecisionFunction(mytest2one1,model1);5 H5 x! @- i5 |6 o% X+ g9 p, ?! {; N7 D. Y1 O
y(1) =-mapminmax('reverse',y(1),outputps1);
* d# t1 Q; |7 g H4 c4 I( p1 V8 wy(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;! [' C- z" u5 Y. W9 k
报错指向的是y2这个函数6 R# V8 G8 o1 t# f- P3 a2 e
|
|