Download presentation
Presentation is loading. Please wait.
Published byHandoko Budiman Modified over 6 years ago
1
Chap 9. General LP problems: Duality and Infeasibility
Extend the duality theory to more general form of LP Consider the following form of LP maximize ๐=1 ๐ ๐ ๐ ๐ฅ ๐ subject to ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐ ๐ , (๐โ๐ผ) ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ ๐ , (๐โ๐ธ) (9.1) ๐ฅ ๐ โฅ0, (๐โ๐
) ๐น=๐\R, ๐= 1,2,โฆ,๐ Want to define dual problem for this LP so that dual objective value gives an upper bound on the primal optimal value. (1) (2) OR
2
๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐ฆ ๐ ๐ ๐ , ๐ฆ ๐ โฅ0, ๐โ๐ผ
Take linear combination of constraints with multiplier ๐ฆ ๐ for constraint ๐. ๐ฆ ๐ โฅ0 for ๐โ๐ผ, ๐ฆ ๐ unrestricted in sign for ๐โ๐ธ ๏ doesnโt change the direction of the inequality. ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐ฆ ๐ ๐ ๐ , ๐ฆ ๐ โฅ0, ๐โ๐ผ ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ฆ ๐ ๐ ๐ , ๐ฆ ๐ unrestricted, ๐โ๐ธ Adding up on both sides ๏ ๐=1 ๐ ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ฆ ๐ ๐ ๐ holds for ๐ฅ satisfying (1) and ๐ฆ ๐ โฅ0, ๐โ๐ผ, ๐ฆ ๐ unrestricted ๐โ๐ธ. Now ๐=1 ๐ ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐=1 ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ฆ ๐ ๐ ๐ Compare this with primal objective coefficient ๐ ๐ Want this as upper bound OR
3
๐=1 ๐ ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐=1 ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ฆ ๐ ๐ ๐
๐=1 ๐ ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐=1 ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ฆ ๐ ๐ ๐ Make ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ โฅ ๐ ๐ , if ๐โ๐
๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ = ๐ ๐ , if ๐โ๐น ๏ ๐=1 ๐ ๐ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ ๐ฅ ๐ , โ ๐ฅ satisfying (2) ๏ ๐=1 ๐ ๐ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ ๐ ๐ฆ ๐ , โ ๐ฅ satisfying (1), (2) (i.e. for primal feasible ๐ฅ) & ๐ฆ satisfying the given conditions. ๏ฎ Gives weak duality relationship. We want strong bound, hence solve min ๐=1 ๐ ๐ ๐ ๐ฆ ๐ s.t. ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ โฅ ๐ ๐ , (๐โ๐
) ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ = ๐ ๐ , (๐โ๐น) (dual problem) (9.9) ๐ฆ ๐ โฅ0, (๐โ๐ผ) ( ๐ฆ ๐ free, (๐โ๐ธ) ) OR
4
Primal-Dual Correspondence Primal Dual
maximize minimize ๐ฅ ๐ โฅ0 ๐ th constraint โฅ free ๐ฅ ๐ ๐ th constraint = ๐ th constraint โค ๐ฆ ๐ โฅ0 ๐ th constraint = free ๐ฆ ๐ OR
5
The dual of the dual is the primal: Problem (9.9) may be presented as
max ๐=1 ๐ (โ ๐ ๐ ) ๐ฆ ๐ s.t. ๐=1 ๐ (โ ๐ ๐๐ ) ๐ฆ ๐ โคโ ๐ ๐ , (๐โ๐
) ๐=1 ๐ (โ ๐ ๐๐ ) ๐ฆ ๐ =โ ๐ ๐ , (๐โ๐น) ๐ฆ ๐ โฅ0, (๐โ๐ผ) and its dual problem is min ๐=1 ๐ (โ ๐ ๐ ) ๐ฅ ๐ s.t. ๐=1 ๐ (โ ๐ ๐๐ ) ๐ฅ ๐ โฅโ ๐ ๐ , (๐โ๐ผ) ๐=1 ๐ (โ ๐ ๐๐ ) ๐ฅ ๐ =โ ๐ ๐ , (๐โ๐ธ) ๐ฅ ๐ โฅ0, (๐โ๐
) which is just another presentation of (9.1). OR
6
Obtaining dual of unusual form
Ex) max 3 ๐ฅ 1 +2 ๐ฅ 2 +5 ๐ฅ max 3 ๐ฅ 1 +2 ๐ฅ 2 +5 ๐ฅ 3 s.t ๐ฅ 1 +3 ๐ฅ 2 + ๐ฅ 3 =โ s.t ๐ฅ 1 +3 ๐ฅ 2 + ๐ฅ 3 =โ8 4 ๐ฅ 1 +2 ๐ฅ 2 +8 ๐ฅ 3 โค ๐ฅ 1 +2 ๐ฅ 2 +8 ๐ฅ 3 โค23 6 ๐ฅ 1 +7 ๐ฅ 2 +3 ๐ฅ 3 โฅ1 โ6 ๐ฅ 1 โ7 ๐ฅ 2 โ3 ๐ฅ 3 โคโ1 ๐ฅ 1 โค4, ๐ฅ 3 โฅ ๐ฅ โค4 ๐ฅ 3 โฅ0 Dual problem is min โ8 ๐ฆ ๐ฆ 2 โ ๐ฆ 3 +4 ๐ฆ 4 s.t ๐ฆ 1 +4 ๐ฆ 2 โ6 ๐ฆ 3 + ๐ฆ 4 =3 3 ๐ฆ 1 +2 ๐ฆ 2 โ7 ๐ฆ =2 ๐ฆ 1 +8 ๐ฆ 2 โ3 ๐ฆ โฅ5 ๐ฆ 2 , ๐ฆ 3 , ๐ฆ 4 โฅ0 If the LP is given in minimization form, present the problem as (9.9) and then write (9.1). OR
7
Thm 9.1 (The Duality Theorem): If a linear programming problem has an optimal solution, then its dual has an optimal solution and the optimal values of the two problems coincide. Pf) proof parallels the idea for standard LP. At the termination of the simplex method, we identify dual vector ๐ฆ โ from ๐ฆโฒ๐ต= ๐ ๐ต โฒ and show that it is dual feasible and ๐โฒ ๐ฆ โ =๐โฒ ๐ฅ โ . See text for details. ๏ฟ Weak duality and strong duality relationship hold for general primal, dual pair. OR
8
Consider a special case of the general LP max ๐ โฒ ๐ฅ s.t. ๐ด๐ฅ=๐ ๐ฅโฅ0,
which is used as standard LP problem by some people (maybe in minimization form). Also it is the augmented form we used when we developed the simplex method in Chapter 2, 3. (๐ด:๐ร๐, full row rank) Its dual is min ๐ฆ โฒ ๐ s.t. ๐ฆ โฒ ๐ดโฅ๐โฒ ๐ฆ unrestricted Suppose we solve the above primal problem using simplex method and find optimal basis ๐ต. Then the updated tableau is expressed the same way as we have seen before. OR
9
โ๐ง+0โฒ ๐ฅ ๐ต + ๐ ๐ โฒโ ๐ ๐ต โฒ ๐ต โ1 ๐ ๐ฅ ๐ =โ ๐ ๐ต โฒ ๐ต โ1 ๐
โ๐ง+0โฒ ๐ฅ ๐ต + ๐ ๐ โฒโ ๐ ๐ต โฒ ๐ต โ1 ๐ ๐ฅ ๐ =โ ๐ ๐ต โฒ ๐ต โ1 ๐ ๐ฅ ๐ต ๐ต โ1 ๐ ๐ฅ ๐ = ๐ต โ1 ๐ Here we donโt have slack variables appearing. Since ๐ฆ is obtained from ๐ฆโฒ๐ต= ๐ ๐ต โฒ, the updated objective coefficients in the ๐งโrow can be regarded as ๐ ๐ โ๐ฆโฒ ๐ด ๐ for all basic and nonbasic variables. At optimality, we have ๐ ๐ โ๐ฆโฒ ๐ด ๐ โค0, or ๐ฆโฒ ๐ด ๐ โฅ ๐ ๐ , hence ๐ฆ is dual feasible vector. The dual objective function value is ๐ฆ โฒ ๐, which is the same value as the current primal objective function value ๐ ๐ต โฒ ๐ต โ1 ๐= ๐ ๐ต โฒ ๐ฅ ๐ต . Hence providing the proof that the current solution ๐ฅ is optimal to primal and ๐ฆ is optimal to dual respectively. OR
10
Unsolvable Systems of Linear Inequalities and Equations
Consider the following pair of constraints ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐ ๐ ๐โ๐ผ (9.13) ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ ๐ ๐โ๐ธ (number of constraints, i.e. ๐ผ + ๐ธ =๐) ๐ฆ ๐ โฅ0, whenever ๐โ๐ผ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ =0, for all ๐=1,2,โฆ,๐ (9.16) ๐=1 ๐ ๐ ๐ ๐ฆ ๐ <0 Then (9.13) is infeasible if and only if (9.16) is feasible. In other words, exactly one of (9.13) and (9.16) has a feasible solution (Theorem 9.2). (called theorem of the alternatives, many other versions, very important tool and has many applications.) OR
11
Then, we obtain ๐=1 ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ ๐ ๐ฆ ๐ .
Pf in the text) ๏) Suppose (9.16) has a feasible solution ๐ฆ. We multiply ๐ฆ ๐ on both sides of constraints in (9.13) ( ๐ฆ ๐ โฅ0 for ๐โ๐ผ) and add the lhs and rhs, respectively. Then, we obtain ๐=1 ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ ๐ฅ ๐ โค ๐=1 ๐ ๐ ๐ ๐ฆ ๐ . Hence, ๐=1 ๐ 0ร ๐ฅ ๐ โค ๐=1 ๐ ๐ ๐ ๐ฆ ๐ <0, which must be satisfied by any feasible ๐ฅ to (9.13). Since it is impossible to satisfy ๐=1 ๐ 0ร ๐ฅ ๐ <0 by any ๐ฅ, (9.13) is infeasible. ๏) Consider the linear program max ๐=1 ๐ โ ๐ฅ ๐+๐ (or min ๐=1 ๐ ๐ฅ ๐+๐ ) s.t. ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ + ๐ค ๐ ๐ฅ ๐+๐ โค ๐ ๐ ๐โ๐ผ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ + ๐ค ๐ ๐ฅ ๐+๐ = ๐ ๐ ๐โ๐ธ (9.18) ๐ฅ ๐+๐ โฅ0 ๐=1, 2, โฆ,๐ with ๐ค ๐ =1 if ๐ ๐ โฅ0 and ๐ค ๐ =โ1 if ๐ ๐ <0. (9.18) has a feasible solution (with ๐ฅ=0 for original variables). Also the upper bound on the optimal value is 0, hence it has finite optimal. OR
12
(continued) The optimal value of (9. 18) is 0 if and only if (9
(continued) The optimal value of (9.18) is 0 if and only if (9.13) has a feasible solution. If (9.13) is unsolvable, then the optimal value of (9.18) is negative. Then duality theorem guarantees that the dual of (9.18) has optimal value which is negative. min ๐=1 ๐ ๐ ๐ ๐ฆ ๐ s.t. ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ =0 ๐=1, 2, โฆ,๐ ๐ค ๐ ๐ฆ ๐ โฅโ1 ( ๐=1,2,โฆ,๐) ๐ฆ ๐ โฅ0 ๐โ๐ผ Then the optimal dual solution ๐ฆ 1 , ๐ฆ 2 , โฆ, ๐ฆ ๐ satisfies (9.16). ๏ OR
13
Consider the following primal-dual pair
Alternative proof) Consider the following primal-dual pair (P) max ๐=1 ๐ 0 ๐ฅ ๐ (coefficients of ๐ฅ ๐ are all 0) ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐ ๐ ๐โ๐ผ ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ ๐ ๐โ๐ธ ๐ผ + ๐ธ =๐ (D) min ๐=1 ๐ ๐ ๐ ๐ฆ ๐ ๐=1 ๐ ๐ ๐๐ ๐ฆ ๐ =0 for all ๐=1, 2, โฆ, ๐ ๐ฆ ๐ โฅ0 whenever ๐โ๐ผ ๏) Suppose (9.16) has a feasible solution ๐ฆ with ๐ โฒ ๐ฆ<0. Then ๐๐ฆ is feasible to (D) for all ๐>0. Then ๐ โฒ ๐๐ฆ โ โโ as ๐โโ, hence (D) is unbounded. Therefore (P) is infeasible, i.e. (9.13) is infeasible, from the possible primal-dual statuses. OR
14
(pf continued) ๏) Suppose (9. 13) is infeasible, i. e
(pf continued) ๏) Suppose (9.13) is infeasible, i.e. (P) does not have a feasible solution. Then (D) is either infeasible or unbounded. But ๐ฆ=0 is a feasible solution to (D), hence the only remaining possibility is (D) unbounded. Then (9.16) has a feasible solution with ๐ โฒ ๐ฆ<0. ๏ฟ OR
15
have precisely the same set of solutions and
Thm 9.3 : If a system of ๐ linear equations has a nonnegative solution, then it has a solution with at most ๐ variables positive. Pf) If the system ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ ๐ ๐=1, 2, โฆ, ๐ (9.19) ๐ฅ ๐ โฅ0 ๐=1, 2, โฆ,๐ has a solution, then, by Theorem 8.3, there is some set ๐ผ of subscripts 1, 2, โฆ, ๐ such that (i) system (9.19) and ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ ๐ ๐โ๐ผ (9.20) have precisely the same set of solutions and (ii) system (9.20) has a basic feasible solution ๐ฅ 1 โ , ๐ฅ 2 โ , โฆ, ๐ฅ ๐ โ . Now at most ๐ผ variables are positive at a b.f.s. OR
16
Theorem 9.3 can be used to the case
Note that if ๐ is considered as a vector in ๐
๐ , (9.19) means ๐ can be expressed as a nonnegative linear combination of columns of coefficient matrix ๐ด (๐ is in a cone generated by the columns of ๐ด). (Caratheodoryโs Thm) Theorem 9.3 can be used to the case ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ = ๐ ๐ ๐=1, 2, โฆ,๐ (9.19) ( ๐ ๐ด ๐ ๐ฅ ๐ =๐ ) ๐=1 ๐ ๐ฅ ๐ =1 ๐ฅ ๐ โฅ0 ๐=1, 2, โฆ,๐ , which means ๐โ ๐
๐ can be expressed as a convex combination of column vectors of ๐ด. The Theorem can now be said that we need at most ๐+1 variables positive. Caratheodoryโs theorem says that, if a vector ๐โ ๐
๐ is in the convex hull of a set ๐, then ๐ can be expressed as a convex combination of at most ๐+1 points of ๐. OR
17
This subsystem is unsolvable.
Thm 9.4 : Every unsolvable system of linear inequalities in ๐ variables contains an unsolvable subsystem of at most ๐+1 inequalities. Pf) If ๐ด๐ฅโค๐ unsolvable, then, by Theorem 9.2, there exists ๐ฆ โ which satisfies ๐ฆ โ โฅ0, ๐ฆ โ โฒ๐ด=0, ๐ฆ โ โฒ๐<0. Denote ๐ฆ โ โฒ๐ by ๐ (e.g. โ1, note that if ๐ฆ โ is a feasible solution to above, then ๐ ๐ฆ โ , ๐>0 is also feasible, so the actual value of ๐ฆ โ โฒ ๐ can be chosen as any negative value.), and consider the system ๐ฆ โฒ ๐ด=0, ๐ฆ โฒ ๐=๐ consisting of ๐+1 equations. Since ๐ฆ โ is a nonnegative solution, Theorem 9.3 guarantees the existence of nonnegative solution ๐ฆ with at most ๐+1 positive components ๐ฆ ๐ . The desired subsystem consists of those inequalities ๐=1 ๐ ๐ ๐๐ ๐ฅ ๐ โค ๐ ๐ for which ๐ฆ ๐ >0; since ๐ ๐ฆ ๐ ๐ ๐๐ =0 for all ๐ but ๐ ๐ ๐ ๐ฆ ๐ =๐<0. This subsystem is unsolvable. OR
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.