1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: MATLAB: How do you find the lagrange multipliers

  1. Jul 25, 2012 #1
    When I try to solve a linear program using matlab,after using linprog(f,A,b,...) I can find the Lagrange multiplier associated with the inequality constraints and the lower bound constraints by using:

    lambda.ineqlin ; lambda.lower

    But if I want to solve a quadratic program (using quadprog(H,f,A,b,...)), then how do I find the Lagrange multipliers?

    I can see that to find the solution, you can use:

    but the result for lambda, which I thought would give me the Lagrange multipliers, instead, itgives me a list of matrices sizes.

    I don't understand that result for lambda.

    How do I find the Lagrange multipliers for a quadratic program in Matlab?
  2. jcsd
  3. Jul 26, 2012 #2


    User Avatar
    Science Advisor

    Hey math8.

    This might help:

    http://www.mathworks.com.au/help/toolbox/optim/ug/brkvzon.html [Broken]
    Last edited by a moderator: May 6, 2017
  4. Jul 26, 2012 #3
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook