필터 지우기
필터 지우기

fmincon to solve optimization involving matrices and norms

조회 수: 4 (최근 30일)
Perry Mason
Perry Mason 2021년 7월 21일
댓글: Perry Mason 2021년 7월 21일
Hello,
I am trying to tackle the following problem using fmincon
minimize (quad_form(x,L))
subject to
norm(B*x-bt,inf)./max(bt)<=1
where is the optimization variable and , and are known.
Any tip about how to code this into fmincon are really welcome.
Thanks.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 7월 21일
fmincon will receive x as a row vector. Transpose it inside your nonlinear constraint function so that you can do the matrix multiplication.
  댓글 수: 1
Perry Mason
Perry Mason 2021년 7월 21일
Thanks for the answer.
I guess this is it how I tried, but it doesnt work.
Could you please write the matlab code I should write?
Thanks!
(Sorry , I am pretty new at this optimization toolbox)

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

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by