Can I use quadprog when equality constraint matrix is not full rank?

2 次查看(过去 30 天)
Hello,
Would you please let me know if I can use quadprog function for solving my prblem with quadratic function and equality constraint in the case that equality constraint matrix is not full rank? Thank you very much. ~M

采纳的回答

Richard Brown
Richard Brown 2012-4-12
If your equality constraint matrix is not full rank, then either your equality constraints are consistent, and dependent, or they are inconsistent.
If they are consistent, quadprog will automatically remove the appropriate number of dependent constraints.
If they are inconsistent, then quadprog will return inconsistent.

更多回答(1 个)

Mati
Mati 2012-4-12
Thank you very much. my constraint matrix is not full rank because columns are not independent.
Can the problem be besolved in this case with MATLAN? Thank you.
  1 个评论
Richard Brown
Richard Brown 2012-4-12
If your columns were independent, then your equality constraints would uniquely determine the solution, and it would cease to be an optimisation problem. So you should *expect* your columns to be dependent.
In short yes, you can solve it -- see answer above.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by