Solution For Assignment 1
Solution For Assignment 1
Solution:
1
d. If the last term is dropped,𝑓(𝑥) = 2𝑥 2 − 𝑥1 𝑥2 + 𝑥22 − 3𝑥1 . Then the first-order
necessary condition yields a unique solution 𝑥1 = 6/7 and 𝑥2 = 3/7. Again, the Hessian
of 𝑓 (𝑥 ) is positive definite for all x, and so the foregoing values of 𝑥1 and 𝑥2 are
optimal. The minimum value of 𝑓 ( 𝑥)x is given by – 63/49.
Solution:
2
3. Consider the following problem:
9
Minimize ( 𝑥1 − 4)2 + (𝑥2 − 2)2
subject to 𝑥2 − 𝑥12 ≥ 0
𝑥1 + 𝑥2 ≤ 6
𝑥1 , 𝑥2 ≥ 0.
a. Write the KKT optimality conditions and verify that these conditions hold true at the
point
𝑋̅ = (3/2,9/4)′.
b. Interpret the KKT conditions at 𝑋̅ graphically.
c. Show that 𝑋̅ is indeed the unique global optimal solution
Solution:
3
b. Graphical illustration:
From the graph, it follows that at 𝑥, the gradient of 𝑓 ( 𝑥) is a negative multiple of the
gradient of 𝑔1 (𝑥) = 𝑥12 − 𝑥2 where 𝑔1 (𝑥) ≤ 0 is the only active constraint at 𝑥.
c. It can be easily verified that the objective function is strictly convex, and that the active
constraint function is also convex (in fact, the entire feasible region is convex in this
case). Hence, 𝑥 is the unique (global) optimal solution to this problem.
4
4. Consider the following problem:
𝑥 +3𝑥2 +3
Minimize 2𝑥1
1 +𝑥2 +6
Subject to 2𝑥1 + 𝑥2 ≤ 12
−𝑥1 + 2𝑥2 ≤ 4
𝑥1 , 𝑥2 ≥ 0
a. Show that the KKT conditions are sufficient for this problem.
b. Show that any point on the line segment joining the points (0, 0) and (6, 0) is an
optimal solution.
Solution:
𝑥1 +3𝑥2 +3
a. The objective function 𝑓(𝑥1 , 𝑥2 ) = is pseudo convex over the feasible
2𝑥1 +𝑥2 +6
region. The constraint functions are linear, and are therefore quasi convex and
quasi concave. Therefore, if 𝑥 is a KKT point for this problem, then 𝑥 is a global
optimal solution.
5
The KKT system for this problem is as follows:
Substituting (6, 0) for (𝑥1 , 𝑥2 ) into this KKT system yields the following unqiue values
for the Lagrangian multipliers: 𝑢1 = 𝑢2 = 𝑢3 = 0, and 𝑢4 = 5/36. Since
𝑢𝑖 0 , 𝑖 = 1,2,3,4, we conclude that (6, 0) is indeed a KKT point, and therefore, by Part
(a), it solves the given problem. Hence, by the above argument, any point on the line
segment joining (0, 0) and (6, 0) is an optimal solution.
6
5. Let c be an n-vector, b an m-vector, A an m x n matrix, and H a symmetric n x n positive
definite matrix. Consider the following two problems:
1
Minimize 𝑐′𝑥 + 2 𝑥′𝐻𝑥
subject to 𝐴𝑥 ≤ 𝑏
1
Minimize ℎ′𝑣 + 2 𝑣′𝐺𝑣
subject to 𝑣 ≥ 0,
where 𝐺 = 𝐴𝐻 −1 𝐴′ and ℎ = 𝐴𝐻 −1 ∗ 𝑐 + 𝑏.
Investigate the relationship between the KKT conditions of these two problems.
Solution:
7
6. Consider the following problem:
Maximize 𝑥12 + 4𝑥1 𝑥2 + 𝑥22
subject to 𝑥12 + 𝑥22 = 1.
a. Using the KKT conditions, find an optimal solution to the problem.
b. Test for the second-order optimality conditions.
c. Does the problem have a unique optimal solution?
Solution:
The objective function 𝑓(𝑥1 , 𝑥2 ) takes on the value of –3 for the first two points, and the
value of 1 at the remaining two. Since the linear independence constraint qualification
(CQ) holds, the KKT conditions are necessary for optimality. Hence, there are two
optimal solutions:
𝑥1 = (1/ √2, 1/ √2) and 𝑥2 =( −1/ √2, −1/ √2).
To support this statement, one can use a graphical display, or use the second-order
sufficiency condition given in Part (b) below
8
b. 𝑳(𝒙) = −𝑥12 − 4𝑥1 𝑥2 + 𝑣(𝑥12 + 𝑥22 − 1) . Therefore
𝒗−𝟏 −𝟐
𝟐 𝑳(𝒙) = 𝟐 [ ]
−𝟐 𝒗−𝟏
For v = 3, 𝟐 𝑳(𝒙) is a positive definite matrix and therefore,
√2 √2
𝑥1 = ( √2/2, √2/2) and 𝑥2 = (− ,− 2 ) are both strict local optima.
2