Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Optimization problem with equality/inequality contraints with conditional weighting parameters in objective function
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I am interessed to solve this optimization problem:
min @(a)w(I)*(a(I) -b(I))^2
with equality and inequality constraint
where: I = {1...10}; b(I) are known parapmeters; while w(I) are the conditional paramaters wich can be computed as following:
if (a(1)-b(I))>0
w(1)=e1;
else
w(1)=d1;
if (a(2)-b(2))>0
w(2)=e2;
else
w(2)=d2;
...
e1,d1,e2,d2,w3 .... are known parameters.
I try to use fmincon function, but I do not know where and how can i incorporate the calcul of wI parameters (with nonconst or objfunct...).
I would greatly appreciate any sort of guidance in solving this problem.
Thank you.
댓글 수: 1
Torsten
2016년 7월 25일
I don't understand your objective function.
You sum over I ? And the b(I) are given parameters ?
Best wishes
Torsten.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!