Can I use quadprog when equality constraint matrix is not full rank?
    3 views (last 30 days)
  
       Show older comments
    
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 Comments
Accepted Answer
  Richard Brown
      
 on 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.
0 Comments
More Answers (1)
  Mati
 on 12 Apr 2012
        1 Comment
  Richard Brown
      
 on 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.
See Also
Categories
				Find more on Quadratic Programming and Cone Programming in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
