
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The methods for finding the maximum or minimum values of an objective function subject to equality and inequality constraints. The use of lagrange multipliers for equality constraints and the necessity of a zero gradient for inequality constraints. Three examples are provided for practice.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Summary Constrained Optimization
You have an objective function f (x 1 , x 2 ,... , xn) to minimize (or maximize), subject to constraint of the form g(x 1 ,... , xn) = c; the latter is called an equality constraint. At a maximum or minimum it must be the case that
∇f = λ∇g
for some constant λ (the Lagrange multiplier). This is really n equations in n + 1 unknowns; the equation g = c is the (n + 1)st equation. Solve these equations for the coordinates (x 1 ,... , xn). Plug each solution into the objective function f and pick out the max or min.
Inequality Constraints
If we have an inequality constraint g(x 1 ,... , xn) ≤ c then here’s what we do: At the max value either g = c or g < c. In the former case we can use Lagrange Multipliers to pick out the max or min of f on g = c. But if the max/min occurs at some point p where g < c (so the max/min occurs AWAY from the constraint curve) then it must be the case that ∇f (p) = 0. The reason is that if ∇f (p) isn’t zero, then there is some uphill (or downhill) direction from p, so we can move a bit in that direction (since we’re away from the constraint) and so increase or decrease the value of f. This gives a “recipe” for solving max/min problems for objective function f with inequal- ity constraint g ≤ c:
Problems