how to minimize distance with optimization

조회 수: 6 (최근 30일)
jean claude
jean claude 2016년 3월 31일
댓글: nadia meftah 2017년 2월 10일
hi all i am new member i did had some difficulties to express my point, here is the real problem: i did optimize moments at the variance unit=0.0003 so i did get Z1* Z2* Z3*
now the problem is how to optimize the portfolio so that mean,skewness kurtosis are near the optimum value Z1* Z2* Z3* at the same time under investor preferences parameters ex alpha=1 beta=0 gamma=0 so the investor is more interested in mean return. i have to solve
minimize Z=(0.0003+d1)^alpha +(0.0003+d3)^beta +(0.0003+d4)^gamma
subject to
mean(Rtilt*X) +d1=Z1* (mean +d1=Z1*)
mean(((Rtilt*X)-mean(Rtilt*X)).^3)/(.0003*sqrt(.0003)) +d3=Z3* (skewness +d3=Z3*)
mean(((Rtilt*X)-mean(Rtilt*X)).^4)/(.0003*.0003) +d4=Z4* (kurtosis +d4=Z4*)
somme Xi=1 and 0=<Xi=<0.35 d1,d3,d4 >=0
X'*V*X=0.0003 V(7x7)=cov(Rtilt)
alpha,beta,gamma are known numbers (investor preferences)
Z1*,Z3*,Z4* are known numbers (goals)
Rtilt is known matrix (132x7) : returns
i want to minimize distances(unknown) d1,d3,d4 to get my vector of weights X(7x1):unknown.
alpha,beta,gamma are parameteres that i use it can be(1,0,0) or anything i want.
what function to use ? i tried fgoalattain but am not sure cause i cant handle parameters alpha beta gamma.
Thanks
  댓글 수: 5
jean claude
jean claude 2016년 4월 1일
i was making it complicated but it works this way you know what i suffer from my mathematical background .
thanks a lot this answer is great
nadia meftah
nadia meftah 2017년 2월 10일
how to defined Z1, Z2,Z3

댓글을 달려면 로그인하십시오.

답변 (1개)

Torsten
Torsten 2016년 4월 1일
The problem as stated does not have a solution since it is unbounded.
Choose
x1=(M-9)/4, x2=(M+3)/4 and y=(13-M)/4
for arbitrary M.
Then you get M as the value of your objective function, and your constraints are satisfied.
Best wishes
Torsten.
  댓글 수: 1
jean claude
jean claude 2016년 4월 1일
hi Torsten i was not clear enough, here is the real problem: i did optimize moments at the variance unit=0.0003 so i did get Z1* Z2* Z3*
now the problem is how to optimize the portfolio so that mean,skewness kurtosis are near the optimum value Z1* Z2* Z3* at the same time under investor preferences parameters ex alpha=1 beta=0 gamma=0 so the investor is more interested in mean return.
minimize Z=(0.0003+d1)^alpha +(0.0003+d3)^beta +(0.0003+d4)^gamma
subject to
mean(Rtilt*X) +d1=Z1* (mean +d1=Z1*)
mean(((Rtilt*X)-mean(Rtilt*X)).^3)/(.0003*sqrt(.0003)) +d3=Z3* (skewness +d3=Z3*)
mean(((Rtilt*X)-mean(Rtilt*X)).^4)/(.0003*.0003) +d4=Z4* (kurtosis +d4=Z4*)
somme Xi=1 and 0=<Xi=<0.35
X'*V*X=0.0003 V(7x7)=cov(Rtilt)
alpha,beta,gamma are known numbers (investor preferences)
Z1*,Z3*,Z4* are known numbers (goals)
Rtilt is known matrix (132x7) : returns
i want to minimize distances(unknown) d1,d3,d4 to get my vector of weights X(7x1) such that momments will be near optimum value.
alpha,beta,gamma are parameteres that i use it can be(1,0,0) or anything i want.
what function to use ? i tried fgoalattain but am not sure cause i cannot handle parameters alpha beta gamma.
Thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by