This activity is designed to help you discover how to solve a nonlinear programming problem with equality and/or inequality constraints. We apply the Kuhn Tucker Conditions to these types of problems, as illustrated in the model below. Note that it is only under very special conditions that sufficient conditions for existence of a relative min are satisfied. In fact, it is not often that the Kuhn Tucker Conditions can be solved to find potential minima. These conditions are most often used to check a point for optimality which has been obtained by some other means.
Maximize 3.6x - 0.4x2 + 1.6y -0.2y2
Subject to 2x + y <= 10, x >= 0, y >= 0
We need to change the problem to -min -3.6x + 0.4x2 - 1.6y +
0.2y2 and let g1(x,y) = 10 - 2x - y,
g2(x,y) = x,
and g3(x,y) = y in order to apply the
Kuhn Tucker conditions as follows:
If u1 = 0, u2 = 0, u3 = 0, then x = 3.6/.8 = 4.5 and y = 1.6/.4 = 4 but this violates condition 3.
If u1 = 0 and either u2 or u3 > 0 then conditions 1 or 2 will be violated (I.e. if u2 > 0 then x = 0 from (7) and (1) becomes -3.6 - u2 = 0). Thus u1 > 0, so 2x + y = 10.
If u2 and u3 are both 0, then substituting 10 - 2x for y in (2), and adding it to (1), we get -1.2 + 3u1 = 0 or u1 = 0.4.
Substituting back into (1) and (2) we get x = 3.5 and y = 3. This satisfies all the conditions and is probably the minimum. Substituting this point into the original function, we get a minimum of 12.9.
The only other possibilities are when either x or y is 0 (i.e. u2 or u3 > 0) and this yields the points (0, 10) which violates condition 2 and (5, 0) which violates condition 1. Looking at the Hessian for f, H =
| 0.8 0 | | 0 0.4|we see that it is positive definite. Thus, f is convex and the inequality constraints are all linear and thus concave, so (3.5, 3) is optimal.
These will be provided in class.
Return to the
List of Activities