Docsity

2 Problems on Linear and Nonlinear Programming - Exam 2 | MATH 4553, Exams of Mathematics

Toggle sidebar
bg1
Math 4553, Exam II, Apr. 18, 2011 Name:
Formula:
•If ¯
xis a local solution to the optimization problem min f(x), subject to x∈S, where Sis a
convex set, then ¯
xsatisfies ¯
x∈Sand ∇f(¯
x)·(x−¯
x)≥0for all x∈S.
•(KKT conditions for quadratic programming) If ¯
xis a local solution to the quadratic pro-
gramming problem, then there exists ¯
usuch that 0≤¯
x⊥Q¯
x−A0¯
u+p≥0and
0≤¯
u⊥A¯
x−b≥0.
•Given a vector vand a matrix A, we have
projnull(A)v=I−AT(AAT)−1Av
•(PAS algorithm) Given the k-th interior point xk, compute the affine transformation xk=
Tkyk, where yk= (1,...,1)t. Use this affine transformation to rewrite the linear program-
ming problem into minimize f=pky, subject to Aky=b,y≥0. For the transformed
problem, compute the direction vector dk=projnull(Ak)(−∇f)and the step length αk. Use
these to calculate yk+1 =yk+βαkdk. Finally, transform it back to the original problem by
using xk+1 =Tkyk+1.
1. (25 points) Given the quadratic programming problem
min f=x2
1+x1x2+ 2x2
2+x1−x2
subject to x1−2x2−2≥0
−x1+x2+ 1 ≥0
x1, x2≥0
(a) Is this a convex quadratic programming problem?
(b) Write down initial tableau for the Lemke’s method. You do not need to solve the
quadratic programming problem.
2. (25 points) Consider the linear programming problem
min f=−x1−5x2
subject to x1+x2+x3= 3
x1, x2, x3≥0
(a) Find the value of asuch that x0= [1,1, a]tis an interior point for this problem.
(b) Use the Primal Affine Scaling (PAS) method to compute the next interior point x1, with
β= 0.9.
1
pf3

Partial preview of the text

Download 2 Problems on Linear and Nonlinear Programming - Exam 2 | MATH 4553 and more Exams Mathematics in PDF only on Docsity!

Math 4553, Exam II, Apr. 18, 2011 Name:

Formula:

  • If x¯ is a local solution to the optimization problem min f (x), subject to x ∈ S, where S is a convex set, then ¯x satisfies ¯x ∈ S and ∇f (¯x) · (x − ¯x) ≥ 0 for all x ∈ S.
  • (KKT conditions for quadratic programming) If x¯ is a local solution to the quadratic pro- gramming problem, then there exists u¯ such that 0 ≤ x¯ ⊥ Qx¯ − A′^ ¯u + p ≥ 0 and 0 ≤ u¯ ⊥ Ax¯ − b ≥ 0.
  • Given a vector v and a matrix A, we have

projnull(A)v =

I − AT^ (AAT^ )−^1 A

v

  • (PAS algorithm) Given the k-th interior point xk, compute the affine transformation xk^ = T kyk, where yk^ = (1,... , 1)t. Use this affine transformation to rewrite the linear program- ming problem into minimize f = pky, subject to Aky = b, y ≥ 0. For the transformed problem, compute the direction vector dk^ = projnull(Ak (^) )(−∇f ) and the step length αk. Use these to calculate yk+1^ = yk^ + βαkdk. Finally, transform it back to the original problem by using xk+1^ = T kyk+1.
  1. (25 points) Given the quadratic programming problem

min f = x^21 + x 1 x 2 + 2x^22 + x 1 − x 2 subject to x 1 − 2 x 2 − 2 ≥ 0 − x 1 + x 2 + 1 ≥ 0 x 1 , x 2 ≥ 0

(a) Is this a convex quadratic programming problem? (b) Write down initial tableau for the Lemke’s method. You do not need to solve the quadratic programming problem.

  1. (25 points) Consider the linear programming problem

min f = −x 1 − 5 x 2 subject to x 1 + x 2 + x 3 = 3 x 1 , x 2 , x 3 ≥ 0

(a) Find the value of a such that x^0 = [1, 1 , a]t^ is an interior point for this problem. (b) Use the Primal Affine Scaling (PAS) method to compute the next interior point x^1 , with β = 0. 9.

Solution to Exam II

  1. Notice that

Q =

[

]

, p =

[

]

, A =

[

]

, b =

[

]

(a) Compute the eigenvalues of Q, we have λ 1 ≈ 1. 5858 and λ 2 ≈ 4. 4142. Therefore, the objective function is convex. Hence the quadratic programming problem is convex. (b) The initial tableau for the Lemke’s method is z1 z2 z3 z4 1


w1 = | 2.0000 1.0000 -1.0000 1.0000 1. w2 = | 1.0000 4.0000 2.0000 -1.0000 -1. w3 = | 1.0000 -2.0000 0.0000 0.0000 -2. w4 = | -1.0000 1.0000 0.0000 0.0000 1. Or, after adding artificial variable z 0 , we have z1 z2 z3 z4 z0 1


w1 = | 2.0000 1.0000 -1.0000 1.0000 1.0000 1. w2 = | 1.0000 4.0000 2.0000 -1.0000 1.0000 -1. w3 = | 1.0000 -2.0000 0.0000 0.0000 1.0000 -2. w4 = | -1.0000 1.0000 0.0000 0.0000 1.0000 1.

  1. (a) An interior point must satisfy all constraints. There fore we have

1 + 1 + a = 3,

which implies a = 3. (b) We have

A =

[

]

, p =

 (^) , b =

[

]

and

x^0 =

Clearly,

T 0 =

Therefore, we have

p^0 = T 0 ∗ p =

 , A^0 = A ∗ T 0 =

[

]