A quick question... when do you add the lamba times constraint and when do you subtract? Or does it matter?

Printable View

- Oct 3rd 2010, 08:09 PMstrawlionLagrangian multiplier
A quick question... when do you add the lamba times constraint and when do you subtract? Or does it matter?

- Oct 4th 2010, 01:31 AMmr fantastic
- Oct 4th 2010, 02:51 AMHallsofIvy
In fact, I have always thought of it as "gradient of object function

**equals**times gradient of constraint function" rather than adding or subtracting.

is, of course, the same as but involves only changing the sign on which is unknown, anyway.