Docsity

Linear Programming and Duality: Primal-Dual Optimality and Minimum Cost Network Flow - Pro, Exams of Systems Engineering

Toggle sidebar
bg1
ISyE 3133 – SPRING 2009 – EXAM II
Problem 1 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
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 (x1, x2, x3) of (1), we have 3x1−x2−2x3≤3x∗
1−x∗
2−2x∗
3.
Multiplying its both sides by −1, we obtain −3x1+x2+ 2x3≥ −3x∗
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
1
pf3
pf4

Partial preview of the text

Download Linear Programming and Duality: Primal-Dual Optimality and Minimum Cost Network Flow - Pro and more Exams Systems Engineering in PDF only on Docsity!

ISyE 3133 – SPRING 2009 – EXAM II

Problem 1 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 2 This is one possible MCNF formulation. Note that the solid arcs are for part (a), while the dashed arcs are additional arcs for part (b).

1000

1200

1200

400

400

400

R

R

R

M

M

M

O

O

O

D

Figure 1: Network with node supply listed next to each node. Arcs have infinite upper bound, 0 lower bound.

(a) M 1, M 2, and M 3 each represent the months 1, 2, and 3 and their demands. R1, R2, and R3 represent the regular-time hours for months 1, 2, and 3 and their available hours. O1, O2, and O3 represent the overtime hours for months 1, 2, and 3 and their available hours. The dummy node is denoted by D1 and is the leftover demand needed in

1

2

3

4

5

($6,5,4)^6

($5,5,0)

($3,5,2)

($2,4,3) (^) ($1,6,5)

($2,4,4)

($4,3,3)

($1,1,1) b3=−

($5,5,3)

b2=−

b1=

b4=

b5=

b6=−

Figure 2: MCNFP Picture

(c) (11 points) Determine the reduced costs for each of the nonbasic arcs

¯c 14 = − 2 , ¯c 13 = 7 , ¯c 52 = − 10 , ¯c 4 , 6 = 7

and verify that the current solution is not optimal.

¯c 14 = − 2 negative, @UB nonbasic, violating optimality condition, ¯c 13 = 7 positive, @UB nonbasic, satisfying optimality condition, ¯c 52 = − 10 negative, @LB nonbasic, satisfying optimality condition, ¯c 4 , 6 = 7 positive, @UB nonbasic, satisfying optimality condition

Which nonbasic arc flow should be modified so that the current flow can be improved? [(1,4)]

(d) (12 points) Perform one pivot on the “best” available variable. Indi- cate the entering and leaving variables.[(1,4) entering, (1,2) leav- ing] Give the values of the new BFS obtained. [x 14 = 1 , x 43 = 2 , x 23 = 4 , x 12 = 5] By how much has the flow value improved? [$ 4 = ¯c 14 × θ, θ = 2 ]