5 The Primal-Dual Simplex Algorithm
|
|
- Ralf Taylor
- 5 years ago
- Views:
Transcription
1 he Primal-Dual Simplex Algorithm Again, we consider the primal program given as a minimization problem defined in standard form his algorithm is based on the cognition that both optimal solutions, i.e., the primal and the dual one, are strongly interdependent Specifically, the approach commences the searching process with a feasible dual solution and simultaneously observes the complementary slackness between the solution value of the dual and a primal solution If this slackness becomes zero, the optimality of the generated solutions is proven and the calculation process is terminated Business Computing and Operations Research 46
2 Invariants of the Primal Simplex While conducting the Primal Simplex, the following attributes are always fulfilled for a minimization problem: P Minimize c x, s.t. A x = b x B B N N B B. c x = c x + c x = c A b = π b = b π. c x = c x + c x = x + c =, with B B B B c = c c A A N N B N B B hus, if c c A A = π A c π is feasible for D Maximize b π, s.t. A π c π free Business Computing and Operations Research 4
3 Consequences he Primal Simplex works on a feasible primal solution that is iteratively improved by basis changes his is done by the consideration of a corresponding dual solution that has an identical objective function value As long as this dual solution is infeasible, the corresponding entries are inserted in the primal solution in order to fulfill them exactly in the dual program (Elimination of the corresponding slackness) If the dual solution becomes feasible as well the optimality of both solutions (the primal and the dual solution) is proven Business Computing and Operations Research 4
4 he Primal-Dual Simplex As mentioned above, we assume that the primal program is given as a minimization problem in standard form In what follows, we introduce a new algorithm that commences the searching process with a feasible dual solution his solution is analyzed according to a specific relationship to the primal problem in order to generate a corresponding primal solution that allows to prove optimality Specifically, we formulate a reduced problem that either generates an optimal primal solution or, if this is not possible, allows a correction of the dual one Obviously, this process is executed until the first case applies Business Computing and Operations Research 49
5 Observation. heorem of Complementary Slackness Assuming there is a Linear Program in standard form and x and π are feasible solutions to P and D, respectively. hen, it holds: ( ) x and π are optimal c π A x = Business Computing and Operations Research 46
6 Proof of heorem. Fortunately, this proof is quite easy to conduct Based on the facts we already know about tuples of optimal primal and dual solutions, we derive Specifically, it holds: c π A x = c x π A x = Since x is feasible for c x π b = c x = π b x P and π are optimal solutions Business Computing and Operations Research 46
7 Direct consequence of heorem.. Observation ( ) Assuming x and π are feasible solutions to P and D, respectively. Additionally, assume that it holds: c π A x =. hus, x and π are optimal solutions to P and D, respectively and it holds: c π A x Hence, we can conclude ( j c ) j π a x j =, j {,..., n} { } j x = π a = c, j,..., n j j Business Computing and Operations Research 46
8 A simple example Consider the following Linear Program P Minimize, 3,, x s.t. x = x 3 9 Business Computing and Operations Research 463
9 Example hus, we get the following (D) D Maximize, 9 π 3 s.t. π π free 3 Business Computing and Operations Research 464
10 Example How to generate π? Obviously, x = is a feasible solution to ( P). 6 hus, we have x = x = x, x. Consequently, we 3 4 need a π with the following attributes i. i { 3, 4} :π a = ci π = 3. π is feasible for D Business Computing and Operations Research 46
11 Example How to generate π? Obviously, π = fulfills both restrictions and, therefore, we have shown that x = and π = are optimal solutions to ( P) and ( D), 6 respectively. Business Computing and Operations Research 466
12 A feasible solution to (D) For what follows, we need at first a feasible solution to the dual problem. Fortunately, this is quite simple to provide. If c is positive, we just make use of π=. Otherwise, we apply the following simple procedure that is depicted next. Business Computing and Operations Research 46
13 Generating a feasible dual solution In order to generate a feasible dual solution to cases where c does not apply, we provide the following simple construction procedure. We introduce a n + th variable x as well as a m + th equality in n+ x + x x + x = x = b, with b as a huge n+ n n+ i m+ m+ i= number. Since we add impact (P) c n+ = on the optimal solutions., we know that this restriction has no Business Computing and Operations Research 46
14 Generating a feasible dual solution. Consider now the dual program. Maximize b π + bm + πm+ A π π m+... πm+ c πm+ + j j : π a + π c m+ j, i.e., ( π ) 3. We generate π = π,..., as follows: ini ini ini m+ { } π = π =... = π = π = min c c < < ini ini ini m m+ j j { } ( D) hus, since j,..., n exists with c <, π ini is feasible for. Business Computing and Operations Research 469 j
15 he set J Assume π to be a feasible solution to the dual program of a Linear Program in standard form. An index j,...,n is denoted as feasible if and only if it holds: { } j π a = c. j We introduce J as the set of feasible indices, i.e., { { } j } J = j j,...,n π a = c. j Business Computing and Operations Research 4
16 We assume J Reduced primal problem (RP) J = j,..., j,k { } ( j ) jk and a J A = a,...,a x = x,x, ( x ),...,xm and define a a a with x = as slack variables. k hen RP is defined as follows: a a a x x Minimize ξ = x, s.t. E m, AJ b, with J = J x x is denoted as the reduced primal problem. Business Computing and Operations Research 4
17 Observations (RP) is solvable. Specifically, we can use x =(b,) Since this trivial solution has the objective function value.b and this objective function is lower bounded by, (RP) is bounded hus, (RP) has always a well-defined optimal solution Obviously, this optimal solution comprises two parts First, there are the slackness variables. If these are zero, the objective function value is zero as well. hen, the primal solution is optimal to (P) Secondly, there are the original variables that correspond to the set J. Since the corresponding dual values are equal to the c-vector, only these variables may become unequal to zero Business Computing and Operations Research 4
18 .3 heorem ( RP) Main conclusion a always has an optimal solution. If x = ξ =, is an optimal solution to. J P x Otherwise, if ξ >, then the optimal solution to the dual ( RP) ( D) of always generates an improved solution to. Business Computing and Operations Research 43
19 Proof of heorem.3 Case a At first, we assume ξ =. hus, we know that x =. Consequently, J J it holds: A x = b. hus, we consider xˆ = A xˆ b J = ( c π A) x x ( c π A) xj ( c π A) x c c xj ( c π A) = + = + = J J J J Hence, x and π are optimal solutions to the Linear Programs P and D, respectively. c Business Computing and Operations Research 44
20 Proof of heorem.3 Case a Now, we consider the case ξ >. hus, we know that x. Consequently, it holds: J J A x b. Let us now consider the dual of ( RP) ( RP), denoted as ( DRP) a a Minimize s.t. ( J x ) ( a J x, E ) m, A = b,x = x,x J x hus, ( DRP) we obtain as follows E m m Maximize b π, s.t. free ( J ) π,π J A Business Computing and Operations Research 4
21 Proof of heorem.3 Case Assuming πɶ is an optimal solution to. hen, we conclude b πɶ = ξ >. Furthermore, let π = π + λ πɶ. We compute b π b π λ π b π b λ π b π + λ b πɶ = b π + λ ξ > b π. DRP = + ɶ = + ɶ = Consequently, if π is feasible for D, π outperforms π. Hence, we now have to determine suitable values for λ resulting in feasible values for π. Business Computing and Operations Research 46
22 Proof of heorem.3 Case Note that it holds: π feasible for j j : c j π a j j : c j π + λ πɶ a j j j : c j π a λ π a j : c π a λ πɶ a j ɶ j j D Business Computing and Operations Research 4
23 j Proof of heorem.3 Case j : c π a λ π ɶ a j j j Since π is feasible for D, we know that c π a. Let us now consider the corresponding final tableau of ( RP) ξ π ɶ π ɶ A π ɶ A c J J b E A A J J m j c J J j π ɶ A π ɶ A j J :π ɶ a Hence, if fulfilled. j J λ >, the feasibility restriction is always Business Computing and Operations Research 4
24 Proof of heorem.3 Case ξ π ɶ π ɶ A π ɶ A c J J b E A A J J m c c J However, since A does not belong to RP, there may be j J j with π ɶ a >. If so, we can determine j c j π a c j λ = min j J :π ɶ a > j. π ɶ a ( P) { } Consequently, π + λ π ɶ is feasible for λ,..., λ. j If there is, however, no j with π ɶ a >, D is unbounded and, consequently, is not solvable. Business Computing and Operations Research 49 c
25 Summary he algorithm. We commence the searching process with a feasible solution π to the dual program (D).. hen, we generate the reduced Linear Program (RP(π)) and solve it optimally. hus, we distinguish altogether three cases:. ξ = he tableau provides an optimal solution to P. Business Computing and Operations Research 4
26 ( P) Summary he algorithm Further cases (Continuation of step ) j. ξ > j :π ɶ a he primal problem is not solvable. j 3. ξ > j :π ɶ a > Generate π = π + λ π,π ɶ ɶ optimal solution to the problem DRP π. j c j π a c j Determine λ = min j J :π ɶ a > j. π ɶ a Repeat step until one of the cases or applies. Business Computing and Operations Research 4
27 Illustration (P) (D) π feasible (RP(π)) (DRP(π)) ξ = () Update π π + λ π~ Solutions : x andπ: ξ > No j exists () () () x and π are optimal. ermination Since ( P) ( ɶ) b π + λ π, is not solvable. ermination Business Computing and Operations Research 4
28 he Primal-Dual Simplex Algorithm. ransform the problem such that b and generate equations.. Initialization with a feasible basic solution to the dual problem. 3. Determine the set J = j =,...,n π a = c. 4. Solve the reduced primal problem (RP) to optimality via the Primal Simplex Algorithm:. If ξ =, then the optimal solution to the primal problem (P) is found. erminate and calculate the objective function value Z with the basic variables of J: Otherwise (i.e., ξ > ) : 6. Calculate the dual variables πɶ with cost coefficients of RP belonging to x a : π ɶ = m c j. If j ξ > j :π ɶ a, then terminate since the primal problem (P) is unbounded and no optimal solution exists. j Otherwise (i.e., ξ ) : > j : π ɶ a > j c j π a j. Determine λ = min j J :π ɶ a >. j π ɶ a 9. Update the dual variables: π : = π + λ ɶπ.. Go to step 3. j { j} m a a J J a J RP ξ = Min x s.t. Em x + A x = b x,x J j Z = c x j = Business Computing and Operations Research 43 j J,...,m
29 Example ( P) Minimize (,3 ) x,s.t., 3 4 x x ( P ) s Minimize ( 3 ) x,s.t., 3 4 x = x Business Computing and Operations Research 44
30 Example ( D) Maximize (,,, ) π,s.t., - π π free - - Since c, we can apply the trivial dual solution π =. { } J { } c hus, we get J =, = 3, 4, Business Computing and Operations Research 4
31 ( RP ( π) ) Example Generate (RP(π)) Minimize ( ) x, s.t., x x = In order, however, to identify the j - values, we integrate the columns of c set J in the tableau as well. hus, we obtain Business Computing and Operations Research 46
32 Example Generate λ 3 4 ( ) ( ) πɶ πɶ ( ) = = π a 3 π a 3 λ = min, min =, ( ) a ( ) a = min, = Business Computing and Operations Research 4
33 Example Generate λ Consequently, we obtain for the next round π = ( ) + ( ) = hus, since ξ = >, we get a new ( RP ( π) ) At first, we have to identify J. Business Computing and Operations Research 4
34 Business Computing and Operations Research 49 Example Generate J { } { },3,4, time we obtain this hus, 3 / / / / / / / / 4 / 4 3 we determine herefore, = = = = = = c J J c π
35 Business Computing and Operations Research 49 Example Solving (RP(π)) [ ]
36 Example Solving (RP(π)) ( ) ~ ~ ( ),, =,, π π =,, λ 3 = min = min, = 9 3 9, ( ) = min 3, Business Computing and Operations Research 49
37 Example Updating π and J Consequently, we obtain for the next round ( ) π = + = hus, since ξ = 9 >, we get a new ( RP( π) ) At first, we again have to identify J. π / / = = 4 / 3 = 4 / 3 = / 3 4 / / 3 3 / 3 c hus, this time we obtain J, J c = { } = { 3, 4, } Business Computing and Operations Research 49
38 Business Computing and Operations Research 493 Example Solving (RP(π)) [ ] ~ ~ = =,, π π,,,,
39 Example Solving (RP(π)) ( 3 ) ~ ~ ( ),, =,, π π =,, λ 4 3 min 3, 3 = = hus, we can updateπ = = = ( ) 4 ( ),, +,, ( ), +, 3 ( 4 ) ( + 4) ( 6 6) ( 4 ) ( 4 ),, =,,, 9 by : π = 9 3, Business Computing and Operations Research 494
40 Business Computing and Operations Research 49 Example Updating J { } { } 3,4,, we obtain time this hus, 3 4 / / 3 4 / / / 4 / we have to identify Again, = = = = = = c J J c π J
41 Example Solving (RP(π)) ( ) ξ = Optimal solutions are: ( 4 ) ( 6 ) π =,, x = Business Computing and Operations Research 496
42 Additional literature to Section he primal-dual algorithm for general LP's was first described in Dantzig, G.B.: Ford, L.R.; Fulkerson, D.R. (96): A Primal-Dual Algorithm for Linear Programs," in Kuhn, H.W.; ucker, A.W. (eds.): Linear Inequalities and Related Systems. Princeton University Press, Princeton, N.J., pp. -. It is introduced there as a generalization of the paper Kuhn, H.W. (9): he Hungarian Method for the Assignment Problem. Naval Research Logistics Quarterly,, nos. and, pp Business Computing and Operations Research 49
Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:
Dual Basic Solutions Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Observation 5.7. AbasisB yields min c T x max p T b s.t. A x = b s.t. p T A apple c T x 0 aprimalbasicsolutiongivenbyx
More informationThe Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006
The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006 1 Simplex solves LP by starting at a Basic Feasible Solution (BFS) and moving from BFS to BFS, always improving the objective function,
More informationReview Solutions, Exam 2, Operations Research
Review Solutions, Exam 2, Operations Research 1. Prove the weak duality theorem: For any x feasible for the primal and y feasible for the dual, then... HINT: Consider the quantity y T Ax. SOLUTION: To
More informationYinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method
The Simplex Method Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye (LY, Chapters 2.3-2.5, 3.1-3.4) 1 Geometry of Linear
More informationIntroduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs
Introduction to Mathematical Programming IE406 Lecture 10 Dr. Ted Ralphs IE406 Lecture 10 1 Reading for This Lecture Bertsimas 4.1-4.3 IE406 Lecture 10 2 Duality Theory: Motivation Consider the following
More information(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6
The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. Problem 1 Consider
More informationLecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P)
Lecture 10: Linear programming duality Michael Patriksson 19 February 2004 0-0 The dual of the LP in standard form minimize z = c T x (P) subject to Ax = b, x 0 n, and maximize w = b T y (D) subject to
More informationExample Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality
CSCI5654 (Linear Programming, Fall 013) Lecture-7 Duality Lecture 7 Slide# 1 Lecture 7 Slide# Linear Program (standard form) Example Problem maximize c 1 x 1 + + c n x n s.t. a j1 x 1 + + a jn x n b j
More information21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.
Extra Problems for Chapter 3. Linear Programming Methods 20. (Big-M Method) An alternative to the two-phase method of finding an initial basic feasible solution by minimizing the sum of the artificial
More informationStandard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta
Chapter 4 Linear Programming: The Simplex Method An Overview of the Simplex Method Standard Form Tableau Form Setting Up the Initial Simplex Tableau Improving the Solution Calculating the Next Tableau
More informationFarkas Lemma, Dual Simplex and Sensitivity Analysis
Summer 2011 Optimization I Lecture 10 Farkas Lemma, Dual Simplex and Sensitivity Analysis 1 Farkas Lemma Theorem 1. Let A R m n, b R m. Then exactly one of the following two alternatives is true: (i) x
More informationChapter 1 Linear Programming. Paragraph 5 Duality
Chapter 1 Linear Programming Paragraph 5 Duality What we did so far We developed the 2-Phase Simplex Algorithm: Hop (reasonably) from basic solution (bs) to bs until you find a basic feasible solution
More informationOPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM
OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM Abstract These notes give a summary of the essential ideas and results It is not a complete account; see Winston Chapters 4, 5 and 6 The conventions and notation
More informationLinear Programming: Chapter 5 Duality
Linear Programming: Chapter 5 Duality Robert J. Vanderbei September 30, 2010 Slides last edited on October 5, 2010 Operations Research and Financial Engineering Princeton University Princeton, NJ 08544
More informationPart 1. The Review of Linear Programming
In the name of God Part 1. The Review of Linear Programming 1.5. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Formulation of the Dual Problem Primal-Dual Relationship Economic Interpretation
More informationSome Results in Duality
Int. J. Contemp. Math. Sciences, Vol. 4, 2009, no. 30, 1493-1501 Some Results in Duality Vanita Ben Dhagat and Savita Tiwari Jai Narain college of Technology Bairasia Road, Bhopal M.P., India vanita1_dhagat@yahoo.co.in
More informationA Parametric Simplex Algorithm for Linear Vector Optimization Problems
A Parametric Simplex Algorithm for Linear Vector Optimization Problems Birgit Rudloff Firdevs Ulus Robert Vanderbei July 9, 2015 Abstract In this paper, a parametric simplex algorithm for solving linear
More informationLINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:
LINEAR PROGRAMMING 2 In many business and policy making situations the following type of problem is encountered: Maximise an objective subject to (in)equality constraints. Mathematical programming provides
More informationmin 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14
The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. If necessary,
More informationNote 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)
Note 3: LP Duality If the primal problem (P) in the canonical form is min Z = n j=1 c j x j s.t. nj=1 a ij x j b i i = 1, 2,..., m (1) x j 0 j = 1, 2,..., n, then the dual problem (D) in the canonical
More informationLecture #21. c T x Ax b. maximize subject to
COMPSCI 330: Design and Analysis of Algorithms 11/11/2014 Lecture #21 Lecturer: Debmalya Panigrahi Scribe: Samuel Haney 1 Overview In this lecture, we discuss linear programming. We first show that the
More informationSimplex Algorithm Using Canonical Tableaus
41 Simplex Algorithm Using Canonical Tableaus Consider LP in standard form: Min z = cx + α subject to Ax = b where A m n has rank m and α is a constant In tableau form we record it as below Original Tableau
More informationLecture 11: Post-Optimal Analysis. September 23, 2009
Lecture : Post-Optimal Analysis September 23, 2009 Today Lecture Dual-Simplex Algorithm Post-Optimal Analysis Chapters 4.4 and 4.5. IE 30/GE 330 Lecture Dual Simplex Method The dual simplex method will
More informationMAT016: Optimization
MAT016: Optimization M.El Ghami e-mail: melghami@ii.uib.no URL: http://www.ii.uib.no/ melghami/ March 29, 2011 Outline for today The Simplex method in matrix notation Managing a production facility The
More informationMATH 373 Section A1. Final Exam. Dr. J. Bowman 17 December :00 17:00
MATH 373 Section A1 Final Exam Dr. J. Bowman 17 December 2018 14:00 17:00 Name (Last, First): Student ID: Email: @ualberta.ca Scrap paper is supplied. No notes or books are permitted. All electronic equipment,
More informationSensitivity Analysis
Dr. Maddah ENMG 500 /9/07 Sensitivity Analysis Changes in the RHS (b) Consider an optimal LP solution. Suppose that the original RHS (b) is changed from b 0 to b new. In the following, we study the affect
More informationSystems Analysis in Construction
Systems Analysis in Construction CB312 Construction & Building Engineering Department- AASTMT by A h m e d E l h a k e e m & M o h a m e d S a i e d 3. Linear Programming Optimization Simplex Method 135
More informationLinear Programming, Lecture 4
Linear Programming, Lecture 4 Corbett Redden October 3, 2016 Simplex Form Conventions Examples Simplex Method To run the simplex method, we start from a Linear Program (LP) in the following standard simplex
More informationCSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1
CSCI5654 (Linear Programming, Fall 2013) Lecture-8 Lecture 8 Slide# 1 Today s Lecture 1. Recap of dual variables and strong duality. 2. Complementary Slackness Theorem. 3. Interpretation of dual variables.
More informationSummary of the simplex method
MVE165/MMG630, The simplex method; degeneracy; unbounded solutions; infeasibility; starting solutions; duality; interpretation Ann-Brith Strömberg 2012 03 16 Summary of the simplex method Optimality condition:
More informationSlack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0
Simplex Method Slack Variable Max Z= 3x 1 + 4x 2 + 5X 3 Subject to: X 1 + X 2 + X 3 20 3x 1 + 4x 2 + X 3 15 2X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Standard Form Max Z= 3x 1 +4x 2 +5X 3 + 0S 1 + 0S 2
More informationLecture 6 Simplex method for linear programming
Lecture 6 Simplex method for linear programming Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University,
More informationLinear Programming Redux
Linear Programming Redux Jim Bremer May 12, 2008 The purpose of these notes is to review the basics of linear programming and the simplex method in a clear, concise, and comprehensive way. The book contains
More informationEND3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur
END3033 Operations Research I Sensitivity Analysis & Duality to accompany Operations Research: Applications and Algorithms Fatih Cavdur Introduction Consider the following problem where x 1 and x 2 corresponds
More informationIntroduction to Mathematical Programming
Introduction to Mathematical Programming Ming Zhong Lecture 22 October 22, 2018 Ming Zhong (JHU) AMS Fall 2018 1 / 16 Table of Contents 1 The Simplex Method, Part II Ming Zhong (JHU) AMS Fall 2018 2 /
More informationWorked Examples for Chapter 5
Worked Examples for Chapter 5 Example for Section 5.2 Construct the primal-dual table and the dual problem for the following linear programming model fitting our standard form. Maximize Z = 5 x 1 + 4 x
More informationThe simplex algorithm
The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case. It does yield insight into linear programs, however,
More informationMVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis
MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis Ann-Brith Strömberg 2017 03 29 Lecture 4 Linear and integer optimization with
More informationChap6 Duality Theory and Sensitivity Analysis
Chap6 Duality Theory and Sensitivity Analysis The rationale of duality theory Max 4x 1 + x 2 + 5x 3 + 3x 4 S.T. x 1 x 2 x 3 + 3x 4 1 5x 1 + x 2 + 3x 3 + 8x 4 55 x 1 + 2x 2 + 3x 3 5x 4 3 x 1 ~x 4 0 If we
More informationThe Simplex Algorithm
8.433 Combinatorial Optimization The Simplex Algorithm October 6, 8 Lecturer: Santosh Vempala We proved the following: Lemma (Farkas). Let A R m n, b R m. Exactly one of the following conditions is true:.
More informationLinear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004
Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 1 In this section we lean about duality, which is another way to approach linear programming. In particular, we will see: How to define
More informationPart 1. The Review of Linear Programming
In the name of God Part 1. The Review of Linear Programming 1.2. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Basic Feasible Solutions Key to the Algebra of the The Simplex Algorithm
More informationSensitivity Analysis and Duality in LP
Sensitivity Analysis and Duality in LP Xiaoxi Li EMS & IAS, Wuhan University Oct. 13th, 2016 (week vi) Operations Research (Li, X.) Sensitivity Analysis and Duality in LP Oct. 13th, 2016 (week vi) 1 /
More informationA Review of Linear Programming
A Review of Linear Programming Instructor: Farid Alizadeh IEOR 4600y Spring 2001 February 14, 2001 1 Overview In this note we review the basic properties of linear programming including the primal simplex
More informationThe Dual Simplex Algorithm
p. 1 The Dual Simplex Algorithm Primal optimal (dual feasible) and primal feasible (dual optimal) bases The dual simplex tableau, dual optimality and the dual pivot rules Classical applications of linear
More informationPrelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.
Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1 Linear Programming-1 x 2 12 8 (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2
More information"SYMMETRIC" PRIMAL-DUAL PAIR
"SYMMETRIC" PRIMAL-DUAL PAIR PRIMAL Minimize cx DUAL Maximize y T b st Ax b st A T y c T x y Here c 1 n, x n 1, b m 1, A m n, y m 1, WITH THE PRIMAL IN STANDARD FORM... Minimize cx Maximize y T b st Ax
More informationLinear Programming Duality
Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve
More informationLINEAR PROGRAMMING. Relation to the Text (cont.) Relation to Material in Text. Relation to the Text. Relation to the Text (cont.
LINEAR PROGRAMMING Relation to Material in Text After a brief introduction to linear programming on p. 3, Cornuejols and Tϋtϋncϋ give a theoretical discussion including duality, and the simplex solution
More informationPoints: The first problem is worth 10 points, the others are worth 15. Maximize z = x y subject to 3x y 19 x + 7y 10 x + y = 100.
Math 5 Summer Points: The first problem is worth points, the others are worth 5. Midterm # Solutions Find the dual of the following linear programming problem. Maximize z = x y x y 9 x + y x + y = x, y
More informationMATH 523: Primal-Dual Maximum Weight Matching Algorithm
MATH 523: Primal-Dual Maximum Weight Matching Algorithm We start with a graph G = (V, E) with edge weights {c(e) : e E} Primal P: max {c(e)x(e) : e E} subject to {x(e) : e hits i} + yi = 1 for all i V
More information7 Max-Flow Problems. Business Computing and Operations Research 608
7 Max-Flow Problems Business Computing and Operations Researh 68 7. Max-Flow Problems In what follows, we onsider a somewhat modified problem onstellation Instead of osts of transmission, vetor now indiates
More informationF 1 F 2 Daily Requirement Cost N N N
Chapter 5 DUALITY 5. The Dual Problems Every linear programming problem has associated with it another linear programming problem and that the two problems have such a close relationship that whenever
More informationUnderstanding the Simplex algorithm. Standard Optimization Problems.
Understanding the Simplex algorithm. Ma 162 Spring 2011 Ma 162 Spring 2011 February 28, 2011 Standard Optimization Problems. A standard maximization problem can be conveniently described in matrix form
More information1 Review Session. 1.1 Lecture 2
1 Review Session Note: The following lists give an overview of the material that was covered in the lectures and sections. Your TF will go through these lists. If anything is unclear or you have questions
More informationAlgorithmic Game Theory and Applications. Lecture 7: The LP Duality Theorem
Algorithmic Game Theory and Applications Lecture 7: The LP Duality Theorem Kousha Etessami recall LP s in Primal Form 1 Maximize c 1 x 1 + c 2 x 2 +... + c n x n a 1,1 x 1 + a 1,2 x 2 +... + a 1,n x n
More informationMath Models of OR: Sensitivity Analysis
Math Models of OR: Sensitivity Analysis John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 8 USA October 8 Mitchell Sensitivity Analysis / 9 Optimal tableau and pivot matrix Outline Optimal
More informationAnswers to problems. Chapter 1. Chapter (0, 0) (3.5,0) (0,4.5) (2, 3) 2.1(a) Last tableau. (b) Last tableau /2 -3/ /4 3/4 1/4 2.
Answers to problems Chapter 1 1.1. (0, 0) (3.5,0) (0,4.5) (, 3) Chapter.1(a) Last tableau X4 X3 B /5 7/5 x -3/5 /5 Xl 4/5-1/5 8 3 Xl =,X =3,B=8 (b) Last tableau c Xl -19/ X3-3/ -7 3/4 1/4 4.5 5/4-1/4.5
More informationIn Chapters 3 and 4 we introduced linear programming
SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,
More informationSimplex method(s) for solving LPs in standard form
Simplex method: outline I The Simplex Method is a family of algorithms for solving LPs in standard form (and their duals) I Goal: identify an optimal basis, as in Definition 3.3 I Versions we will consider:
More informationA NEW FACE METHOD FOR LINEAR PROGRAMMING. 1. Introduction We are concerned with the standard linear programming (LP) problem
A NEW FACE METHOD FOR LINEAR PROGRAMMING PING-QI PAN Abstract. An attractive feature of the face method [9 for solving LP problems is that it uses the orthogonal projection of the negative objective gradient
More informationCSC Design and Analysis of Algorithms. LP Shader Electronics Example
CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours
More information4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n
2 4. Duality of LPs and the duality theorem... 22 4.2 Complementary slackness... 23 4.3 The shortest path problem and its dual... 24 4.4 Farkas' Lemma... 25 4.5 Dual information in the tableau... 26 4.6
More informationLecture 5. x 1,x 2,x 3 0 (1)
Computational Intractability Revised 2011/6/6 Lecture 5 Professor: David Avis Scribe:Ma Jiangbo, Atsuki Nagao 1 Duality The purpose of this lecture is to introduce duality, which is an important concept
More informationNew Artificial-Free Phase 1 Simplex Method
International Journal of Basic & Applied Sciences IJBAS-IJENS Vol:09 No:10 69 New Artificial-Free Phase 1 Simplex Method Nasiruddin Khan, Syed Inayatullah*, Muhammad Imtiaz and Fozia Hanif Khan Department
More informationLinear and Combinatorial Optimization
Linear and Combinatorial Optimization The dual of an LP-problem. Connections between primal and dual. Duality theorems and complementary slack. Philipp Birken (Ctr. for the Math. Sc.) Lecture 3: Duality
More informationDuality in Linear Programming
Duality in Linear Programming Gary D. Knott Civilized Software Inc. 1219 Heritage Park Circle Silver Spring MD 296 phone:31-962-3711 email:knott@civilized.com URL:www.civilized.com May 1, 213.1 Duality
More informationHomework Assignment 4 Solutions
MTAT.03.86: Advanced Methods in Algorithms Homework Assignment 4 Solutions University of Tartu 1 Probabilistic algorithm Let S = {x 1, x,, x n } be a set of binary variables of size n 1, x i {0, 1}. Consider
More informationLinear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2
Linear programming Saad Mneimneh 1 Introduction Consider the following problem: x 1 + x x 1 x 8 x 1 + x 10 5x 1 x x 1, x 0 The feasible solution is a point (x 1, x ) that lies within the region defined
More information+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1
University of California, Davis Department of Agricultural and Resource Economics ARE 5 Optimization with Economic Applications Lecture Notes Quirino Paris The Pivot Method for Solving Systems of Equations...................................
More informationTermination, Cycling, and Degeneracy
Chapter 4 Termination, Cycling, and Degeneracy We now deal first with the question, whether the simplex method terminates. The quick answer is no, if it is implemented in a careless way. Notice that we
More information56:270 Final Exam - May
@ @ 56:270 Linear Programming @ @ Final Exam - May 4, 1989 @ @ @ @ @ @ @ @ @ @ @ @ @ @ Select any 7 of the 9 problems below: (1.) ANALYSIS OF MPSX OUTPUT: Please refer to the attached materials on the
More information4. The Dual Simplex Method
4. The Dual Simplex Method Javier Larrosa Albert Oliveras Enric Rodríguez-Carbonell Problem Solving and Constraint Programming (RPAR) Session 4 p.1/34 Basic Idea (1) Algorithm as explained so far known
More information4.5 Simplex method. LP in standard form: min z = c T x s.t. Ax = b
4.5 Simplex method LP in standard form: min z = c T x s.t. Ax = b x 0 George Dantzig (1914-2005) Examine a sequence of basic feasible solutions with non increasing objective function values until an optimal
More information2018 년전기입시기출문제 2017/8/21~22
2018 년전기입시기출문제 2017/8/21~22 1.(15) Consider a linear program: max, subject to, where is an matrix. Suppose that, i =1,, k are distinct optimal solutions to the linear program. Show that the point =, obtained
More informationSELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND
1 56:270 LINEAR PROGRAMMING FINAL EXAMINATION - MAY 17, 1985 SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: 1 2 3 4 TOTAL GRAND
More informationContents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod
Contents 4 The Simplex Method for Solving LPs 149 4.1 Transformations to be Carried Out On an LP Model Before Applying the Simplex Method On It... 151 4.2 Definitions of Various Types of Basic Vectors
More informationSensitivity Analysis and Duality
Sensitivity Analysis and Duality Part II Duality Based on Chapter 6 Introduction to Mathematical Programming: Operations Research, Volume 1 4th edition, by Wayne L. Winston and Munirpallam Venkataramanan
More informationLecture 2: The Simplex method
Lecture 2 1 Linear and Combinatorial Optimization Lecture 2: The Simplex method Basic solution. The Simplex method (standardform, b>0). 1. Repetition of basic solution. 2. One step in the Simplex algorithm.
More informationCPS 616 ITERATIVE IMPROVEMENTS 10-1
CPS 66 ITERATIVE IMPROVEMENTS 0 - APPROACH Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change
More informationDiscrete Optimization
Prof. Friedrich Eisenbrand Martin Niemeier Due Date: April 15, 2010 Discussions: March 25, April 01 Discrete Optimization Spring 2010 s 3 You can hand in written solutions for up to two of the exercises
More informationAlgorithms and Theory of Computation. Lecture 13: Linear Programming (2)
Algorithms and Theory of Computation Lecture 13: Linear Programming (2) Xiaohui Bei MAS 714 September 25, 2018 Nanyang Technological University MAS 714 September 25, 2018 1 / 15 LP Duality Primal problem
More informationOptimisation and Operations Research
Optimisation and Operations Research Lecture 9: Duality and Complementary Slackness Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/
More information4.5 Simplex method. min z = c T x s.v. Ax = b. LP in standard form
4.5 Simplex method min z = c T x s.v. Ax = b x 0 LP in standard form Examine a sequence of basic feasible solutions with non increasing objective function value until an optimal solution is reached or
More informationReview Questions, Final Exam
Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea
More informationIE 5531: Engineering Optimization I
IE 5531: Engineering Optimization I Lecture 7: Duality and applications Prof. John Gunnar Carlsson September 29, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 29, 2010 1
More informationUNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc. Mathematics (2011 Admission Onwards) II SEMESTER Complementary Course
UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc. Mathematics (2011 Admission Onwards) II SEMESTER Complementary Course MATHEMATICAL ECONOMICS QUESTION BANK 1. Which of the following is a measure
More informationLecture 10: Linear programming duality and sensitivity 0-0
Lecture 10: Linear programming duality and sensitivity 0-0 The canonical primal dual pair 1 A R m n, b R m, and c R n maximize z = c T x (1) subject to Ax b, x 0 n and minimize w = b T y (2) subject to
More information1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations
The Simplex Method Most textbooks in mathematical optimization, especially linear programming, deal with the simplex method. In this note we study the simplex method. It requires basically elementary linear
More informationDuality in LPP Every LPP called the primal is associated with another LPP called dual. Either of the problems is primal with the other one as dual. The optimal solution of either problem reveals the information
More informationMotivating examples Introduction to algorithms Simplex algorithm. On a particular example General algorithm. Duality An application to game theory
Instructor: Shengyu Zhang 1 LP Motivating examples Introduction to algorithms Simplex algorithm On a particular example General algorithm Duality An application to game theory 2 Example 1: profit maximization
More information4.6 Linear Programming duality
4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP Different spaces and objective functions but in general same optimal
More informationOPERATIONS RESEARCH. Michał Kulej. Business Information Systems
OPERATIONS RESEARCH Michał Kulej Business Information Systems The development of the potential and academic programmes of Wrocław University of Technology Project co-financed by European Union within European
More informationCS711008Z Algorithm Design and Analysis
CS711008Z Algorithm Design and Analysis Lecture 8 Linear programming: interior point method Dongbo Bu Institute of Computing Technology Chinese Academy of Sciences, Beijing, China 1 / 31 Outline Brief
More information3. Duality: What is duality? Why does it matter? Sensitivity through duality.
1 Overview of lecture (10/5/10) 1. Review Simplex Method 2. Sensitivity Analysis: How does solution change as parameters change? How much is the optimal solution effected by changing A, b, or c? How much
More informationAM 121: Intro to Optimization
AM 121: Intro to Optimization Models and Methods Lecture 6: Phase I, degeneracy, smallest subscript rule. Yiling Chen SEAS Lesson Plan Phase 1 (initialization) Degeneracy and cycling Smallest subscript
More information4. Duality and Sensitivity
4. Duality and Sensitivity For every instance of an LP, there is an associated LP known as the dual problem. The original problem is known as the primal problem. There are two de nitions of the dual pair
More informationSupplementary lecture notes on linear programming. We will present an algorithm to solve linear programs of the form. maximize.
Cornell University, Fall 2016 Supplementary lecture notes on linear programming CS 6820: Algorithms 26 Sep 28 Sep 1 The Simplex Method We will present an algorithm to solve linear programs of the form
More informationDuality (Continued) min f ( x), X R R. Recall, the general primal problem is. The Lagrangian is a function. defined by
Duality (Continued) Recall, the general primal problem is min f ( x), xx g( x) 0 n m where X R, f : X R, g : XR ( X). he Lagrangian is a function L: XR R m defined by L( xλ, ) f ( x) λ g( x) Duality (Continued)
More informationChapter 3, Operations Research (OR)
Chapter 3, Operations Research (OR) Kent Andersen February 7, 2007 1 Linear Programs (continued) In the last chapter, we introduced the general form of a linear program, which we denote (P) Minimize Z
More information