Register to reply

MATLAB: How do you find the lagrange multipliers

by math8
Tags: lagrange, matlab, multipliers
Share this thread:
Jul25-12, 08:08 PM
P: 161
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?
Phys.Org News Partner Science news on
New type of solar concentrator desn't block the view
Researchers demonstrate ultra low-field nuclear magnetic resonance using Earth's magnetic field
Asian inventions dominate energy storage systems
Jul26-12, 01:02 AM
P: 4,573
Hey math8.

This might help:
Jul26-12, 05:13 PM
P: 161

Register to reply

Related Discussions
Lagrange Multipliers to Find Extreme Values of a Multi-Variable Function Calculus & Beyond Homework 2
Lagrange Multipliers to find max/min values Calculus & Beyond Homework 9
Lagrange Multipliers to find max/min values Calculus & Beyond Homework 7
Lagrange Multipliers Find 3 positive numbers? Calculus & Beyond Homework 1
Lagrange multipliers Calculus & Beyond Homework 1