Docsity

Problem Set Exam 3 - Linear Optimization - Spring 2009 | ISYE 6661, Exams of Linear Algebra

Toggle sidebar
bg1
ISyE 6661 – SPRING 2009 – EXAM II
Problem 1 Let ebe the vector with all of its components equal to 1. Con-
sider the problem
max{eTx:Ax = 0, x ≥0}
whose dual is
min{pT0 : pTA≥eT}.
Assume first that there exists some x6= 0 such that Ax = 0 and x≥0.
Clearly, such an xhas a positive cost. By scaling xby an arbitrary positive
number, the primal cost can become as large as desired and hence its optimal
cost is ∞. This implies that the dual is infeasible, i.e., there exists no psuch
that pTA > 0T.
Assume now that there exists no nonzero xsuch that Ax = 0 and x≥0.
Then, the primal optimal cost must be equal to zero. By the strong duality
theorem, the dual has an optimal solution p. This clearly implies that
pTA≥eT>0T.
Problem 2 Consider the linear program Consider the following LP prob-
lem: maximize 3x1−x2−2x3
subject to x2+ 2x3≥ − 3
−x1+ 3x3≤1
−2x1−3x2≤2
x1≤0, x2≥0, x3≥0.
(1)
(a) The dual to LP (1) is:
minimize −3y1+y2+ 2y3
subject to −y2−2y3≤3
y1−3y3≥ − 1
2y1+ 3y2≥ − 2
y1≤0, y2≥0, y3≥0.
(2)
Pick any feasible solution (x1, x2, x3) of the primal LP (1). If you
multiply each constraint by −1 on both sides, then it will satisfy the
corresponding dual constraints. Moreover, each variable has the same
sign as the corresponding dual one. Hence, (x1, x2, x3) belongs to the
1
pf3
pf4

Partial preview of the text

Download Problem Set Exam 3 - Linear Optimization - Spring 2009 | ISYE 6661 and more Exams Linear Algebra in PDF only on Docsity!

ISyE 6661 – SPRING 2009 – EXAM II

Problem 1 Let e be the vector with all of its components equal to 1. Con- sider the problem max{eT^ x : Ax = 0, x ≥ 0 }

whose dual is min{pT^ 0 : pT^ A ≥ eT^ }. Assume first that there exists some x 6 = 0 such that Ax = 0 and x ≥ 0. Clearly, such an x has a positive cost. By scaling x by an arbitrary positive number, the primal cost can become as large as desired and hence its optimal cost is ∞. This implies that the dual is infeasible, i.e., there exists no p such that pT^ A > 0 T^. Assume now that there exists no nonzero x such that Ax = 0 and x ≥ 0. Then, the primal optimal cost must be equal to zero. By the strong duality theorem, the dual has an optimal solution p. This clearly implies that pT^ A ≥ eT^ > 0 T^.

Problem 2 Consider the linear program Consider the following LP prob- lem: maximize 3 x 1 − x 2 − 2 x 3 subject to x 2 + 2x 3 ≥ − 3 − x 1 + 3x 3 ≤ 1 − 2 x 1 − 3 x 2 ≤ 2 x 1 ≤ 0 , x 2 ≥ 0 , x 3 ≥ 0.

(a) The dual to LP (1) is:

minimize − 3 y 1 + y 2 + 2y 3 subject to − y 2 − 2 y 3 ≤ 3 y 1 − 3 y 3 ≥ − 1 2 y 1 + 3y 2 ≥ − 2 y 1 ≤ 0 , y 2 ≥ 0 , y 3 ≥ 0.

Pick any feasible solution (x 1 , x 2 , x 3 ) of the primal LP (1). If you multiply each constraint by −1 on both sides, then it will satisfy the corresponding dual constraints. Moreover, each variable has the same sign as the corresponding dual one. Hence, (x 1 , x 2 , x 3 ) belongs to the

dual feasible region. It means the feasible region of (1) is a subset of that of (2). Similarly, it can be shown that the feasible region of (2) is a subset of that of (1). Hence, both have the same feasible regions.

b) Suppose (x∗ 1 , x∗ 2 , x∗ 3 ) is an optimal solution to (1), then for any feasible solution (x 1 , x 2 , x 3 ) of (1), we have 3x 1 − x 2 − 2 x 3 ≤ 3 x∗ 1 − x∗ 2 − 2 x∗ 3. Multiplying its both sides by −1, we obtain − 3 x 1 + x 2 + 2x 3 ≥ − 3 x∗ 1 + x∗ 2 + 2x∗ 3. Combining with a), it implies (x∗ 1 , x∗ 2 , x∗ 3 ) is an optimal solution of (2). Similarly, it can be shown that any optimal solution of (2) is an optimal solution of (1). Hence both have the same optimal solution sets. Furthermore, it implies, by observing that the objective function of (1) is the negative one of (2), that the optimal value of the primal problem is the negative of the optimal value of the dual problem. By the duality theorem, both optimal values are equal if they have ones. By the previous argument that the optimal value of (1) is the negative of the optimal value of (2), hence the optimal value of (1) is 0. Another way to look at this is that (0, 0 , 0) is clearly both primal feasible and dual feasible, and the primal objective function and dual objective function equal 0 at this point, hence the primal and dual optimal values are 0.

Problem 3 Consider the following LP (3):

minimize z = − 2 x 1 − 4 x 2 − 3 x 3 subject to x 1 + 3x 2 + 2x 3 = 20 x 1 + 5x 2 ≥ 10 x 1 ≥ 0 , x 2 ≥ 0 , x 3 ≥ 0.

After adding artificial variables a 1 , a 2 and surplus variable e 2 , we get a new LP (4):

minimize z = − 2 x 1 − 4 x 2 − 3 x 3 subject to x 1 + 3x 2 + 2x 3 + a 1 = 20 x 1 + 5x 2 − e 2 + a 2 ≥ 10 x 1 ≥ 0 , x 2 ≥ 0 , x 3 ≥ 0 , e 2 ≥ 0 , a 1 ≥ 0 , a 2 ≥ 0. (4)

a) Suppose the simplex method is applied on the LP (4) and drives the artificial variables from the basis. From the given final simplex tableau,

e) Check the complementary slackness condition as follows.

p∗ 1 (x∗ 1 + 3x∗ 2 + 2x∗ 3 − 20) = 0 since x∗ 1 + 3x∗ 2 + 2x∗ 3 − 20 = 0, p∗ 2 (x∗ 1 + 5x∗ 2 − 10) = 0 since p∗ 2 = 0, x∗ 1 (p∗ 1 + p∗ 2 + 2) = 0 since p∗ 1 + p∗ 2 + 2 = 0, x∗ 2 (3p∗ 1 + 5p∗ 2 + 4) = 0 since x∗ 2 = 0, x∗ 3 (2p∗ 1 + 3) = 0 since x∗ 3 = 0.