fmincon to solve optimization involving matrices and norms

2 Ansichten (letzte 30 Tage)
Perry Mason
Perry Mason am 21 Jul. 2021
Kommentiert: Perry Mason am 21 Jul. 2021
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.

Antworten (1)

Walter Roberson
Walter Roberson am 21 Jul. 2021
fmincon will receive x as a row vector. Transpose it inside your nonlinear constraint function so that you can do the matrix multiplication.
  1 Kommentar
Perry Mason
Perry Mason am 21 Jul. 2021
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)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by