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
댓글 수: 0
채택된 답변
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.
댓글 수: 0
추가 답변 (1개)
Mati
2012년 4월 12일
댓글 수: 1
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 Center 및 File 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!