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

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Richard Brown
Richard Brown il 12 Apr 2012
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.

Più risposte (1)

Mati
Mati il 12 Apr 2012
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 Commento
Richard Brown
Richard Brown il 12 Apr 2012
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.

Accedi per commentare.

Categorie

Scopri di più su Quadratic Programming and Cone Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by