필터 지우기
필터 지우기

How to set up the following optimisaiton witth quadprog?

조회 수: 1 (최근 30일)
Maxwell Barton
Maxwell Barton 2019년 9월 16일
편집: Matt J 2019년 9월 16일
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.

채택된 답변

Matt J
Matt J 2019년 9월 16일
편집: Matt J 2019년 9월 16일
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],_____)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Least Squares에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by