fmincon to solve optimization involving matrices and norms
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/691553/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/691558/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/691563/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/691568/image.png)
Any tip about how to code this into fmincon are really welcome.
Thanks.
0 Commenti
Risposte (1)
Walter Roberson
il 21 Lug 2021
fmincon will receive x as a row vector. Transpose it inside your nonlinear constraint function so that you can do the matrix multiplication.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!