How to set up the following optimisaiton witth quadprog?

1 visualización (últimos 30 días)
Maxwell Barton
Maxwell Barton el 16 de Sept. de 2019
Editada: Matt J el 16 de Sept. de 2019
Hi,
I want to set up the following minimum optimisation in quadprog but I am unsure on the notation required for H and f. The objective function is as below to minimise t, where A1, b1, A2 and b2 are constants.
Thanks in advance.

Respuesta aceptada

Matt J
Matt J el 16 de Sept. de 2019
Editada: Matt J el 16 de Sept. de 2019
You haven't shown any constraints. Are you sure you couldn't just use lscov?
If you do have constraints, I think lsqlin would be preferable to quadprog.
Vs1=sqrtm(V1);Vs2=sqrtm(V2);
x=lsqlin([Vs1*A1;Vs2*A2], [Vs1*b1;Vs2*b2],_____)

Más respuestas (0)

Categorías

Más información sobre Linear Least Squares en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by