Professional Documents
Culture Documents
Lagrange did lots of things in his life, but for us he showed how calculus could be used to find
optimal solutions of constrained models. But, since it is calculus based, all the limitations of
calculus apply.
It is limited to continuous functions.
It produces a maximum for concave functions, and a minimum for convex functions.
Consider the general optimization problem involving a vector of decision variables X and ‘n’
constraints. The objective is to optimize the function F(X) while satisfying the n constraints
gi(X) = bi. i = 1, 2, 3, …, n
Lagrange developed an approach for finding not only the maximum or minimum value of some
objective function F(X) and the values of all the decision variables X = {x1, x2, x3, .., xj, … xJ}
that result in that maximum or minimum, but also what economists call ‘shadow prices,’ and
operations researchers call ‘dual variables’ or ‘dual prices’. Associated with each constraint i is
a shadow price whose value is the change in the objective function F(X) with respect to a unit
change in the bi values for that constraint. These shadow prices are also called the Lagrangian
multipliers i.
The original objective F(X) is modified to become what we will call L(X, ):
Setting each constraint to equal 0 so that (g(X) = bi) becomes (g(X) – bi) for each constraint i, we
can add them, or subtract them, from F(X). We can also multiply each of these 0 values by a
constant i.
Example Problems:
Find minimum perimeter of fence to enclose a rectangular area of at least A.
Find maximum rectangular area that can be enclosed by a fence of length L.
perimeter = 2(length) + 2(width). Solution: length = width = A
Show graphs of perimeter length as a function of A, or area as fn. of L.
Exercise: Maximize the total return from allocating 6 resources to three users having
benefit functions derived from the linear demand functions shown below and a third: 8-0.5Z.
X Y
$ 6
Total Revenue:
(6 - 1 X ) X
X* 3 6 X
Marginal Revenue:
6–2X
Slope of 6 X – X2 = 6 – 2X.
Slope of 7Y – 1.5Y2 = 7 – 3Y.
Slope of 8Z – 0.5Z2 = 8 – Z.
When these slopes equal 0 the functions are at their maximum value. Thus the best for
each user is
X = 3; Y = 7/3; Z = 8.
If the maximum resources available are 6, the optimal solution will have equal slopes =
equal marginal revenues. Why?
Hence:
6 – 2X = MB; 7 – 3Y = MB; 8 – Z = MB. And X + Y + Z will equal 6.
Solving:
X = 1. Y = 1. Z = 4. MB = 4.
Differentiating with respect to each unknown (X,Y,Z, and setting the result to 0
and solving results in:
L/X = 0 = 6 – 2X - .
L/Y = 0 = 7 – 3Y - .
L/Z = 0 = 8 – Z - .
L/X+Y+Z-6
X = 1, Y = 1, Z = 4, and