Duality Theory.

Slides:



Advertisements
Similar presentations
Tuesday, March 5 Duality – The art of obtaining bounds – weak and strong duality Handouts: Lecture Notes.
Advertisements

February 14, 2002 Putting Linear Programs into standard form
Duality for linear programming. Illustration of the notion Consider an enterprise producing r items: f k = demand for the item k =1,…, r using s components:
IEOR 4004 Midterm review (Part II) March 12, 2014.
Standard Minimization Problems with the Dual
EMGT 501 HW #1 Solutions Chapter 2 - SELF TEST 18
Understanding optimum solution
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 9-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 9 Linear.
The Simplex Method and Linear Programming Duality Ashish Goel Department of Management Science and Engineering Stanford University Stanford, CA 94305,
Linear Programming: Simplex Method and Sensitivity Analysis
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
Q 2-31 Min 3A + 4B s.t. 1A + 3B ≧ 6 B = - 1/3A + 2 1A + 1B ≧ 4
Duality Dual problem Duality Theorem Complementary Slackness
Solving Linear Programs: The Simplex Method
Computational Methods for Management and Economics Carla Gomes
7(2) THE DUAL THEOREMS Primal ProblemDual Problem b is not assumed to be non-negative.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
The Simplex Procedure Daniel B. Taylor AAEC 5024 Department of Agricultural and Applied Economics Virginia Tech.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
LINEAR PROGRAMMING SIMPLEX METHOD.
Algorithms CISC 4080/CISC 5825 Linear Programming, Simplex Method and Duality Theory Dr Kamesam Graduate School Of Business Fordham University.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
The Theory of the Simplex Method
Presentation: H. Sarper
Duality Theory 對偶理論.
Chapter 6 Sensitivity Analysis & Duality
Duality Theory LI Xiaolei.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Parametric Linear Programming-1 Parametric Linear Programming.
Introduction to Operations Research
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
Solving Linear Programming Problems: The Simplex Method
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 4, 2011.
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
1 Simplex Method for Bounded Variables Linear programming problems with lower and upper bounds Generalizing simplex algorithm for bounded variables Reference:
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Part 3 Linear Programming 3.3 Theoretical Analysis.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Foundations-1 The Theory of the Simplex Method. Foundations-2 The Essence Simplex method is an algebraic procedure However, its underlying concepts are.
Part 3 Linear Programming 3.3 Theoretical Analysis.
SENSITIVITY ANALYSIS. 2 Sensitivity Analysis Sensitivity analysis is carried out after optimal solution is found. Hence called as post optimality analysis.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Chap 10. Sensitivity Analysis
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 7, 2011.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Duality for linear programming.
Sindhuja K, Annapoorani G, Pramela Devi S Department: CSE
Chap 9. General LP problems: Duality and Infeasibility
The Simplex Method: Standard Minimization Problems
Chapter 5. Sensitivity Analysis
ENGM 631 Optimization.
Lecture 4 Part I Mohamed A. M. A..
Chapter-III Duality in LPP
Presentation transcript:

Duality Theory

The Essence Every linear program has another linear program associated with it: Its ‘dual’ The dual complements the original linear program, the ‘primal’ The theory of duality provides many insights into what is happening ‘behind the scenes’

Primal and Dual Primal Decision variables: x max Z = cx s.to Ax  b n Decision variables: y min W = yb s.to yA  c m y  0 n

Primal and Dual - Example Standard Algebraic Form Max Z = 3x1+ 5x2 s. to x1 ≤ 4 2x2 ≤ 12 3x1+ 2x2 ≤ 18 x1,x2 ≥ 0 Min W = 4y1+ 12y2+ 18y3 s. to y1+ 3y3 ≥ 3 2y2+ 2y3 ≥ 5 y1, y2, y3 ≥ 0

Primal and Dual - Example Matrix Form

Symmetry Property For any primal problem and its dual problem, all relationships between them must be symmetric because…

Duality Theorem The following are the only possible relationships between the primal and dual problems: If one problem has feasible solutions and a bounded objective function (and so has an optimal solution), then so does the other problem, so both the weak and the strong duality properties are applicable If one variable has feasible solutions but an unbounded objective function (no optimal solutions), then the other problem has no feasible solutions If one variable has no feasible solutions, then the other problem either has no feasible solutions or an unbounded objective function

Relationships between Primal and Dual Weak duality property If x is a feasible solution to the primal, and y is a feasible solution to the dual, then cx  yb Strong duality property If x* is an optimal solution to the primal, and y* is an optimal solution to the dual, then cx* = y*b

Complementary Solutions At each iteration, the simplex method identifies x, a BFS for the primal, and a complementary solution y, a BS for the dual (which can be found from the row coefficients under slack variables) For any primal feasible (but suboptimal) x, its complementary solution y is dual infeasible, with cx=yb For any primal optimal x*, its complementary solution y* is dual optimal, with cx*=y*b

Complementary Slackness Associated variables between primal and dual Primal (original variable) xj (slack variable) xsn+i Dual ysm+j (surplus variable) yi (original variable) Complementary slackness property: When one variable in primal is basic, its associated variable in dual is nonbasic Primal (m variables) basic (n variables) nonbasic Dual nonbasic (m variables) basic (n variables)

Primal and Dual Primal Z=cx Dual W=yb superoptimal suboptimal (optimal) Z* W* (optimal) suboptimal superoptimal

Insight B-1A B-1 B-1A B-1 B-1b B-1b cBB-1A-c cBB-1 cBB-1b xB yA-c y yb B.V. Z Original Variables Slack Variables r.h.s. x1 x2 … xn xsn+1 xsn+m 1 cBB-1A-c cBB-1 cBB-1b xB B-1A B-1 B-1b B.V. Z Original Variables Slack Variables r.h.s. x1 x2 … xn xsn+1 xsn+m 1 yA-c y yb xB B-1A B-1 B-1b

A More Detailed Look at Sensitivity We are interested in the optimal solution sensitivity to changes in model parameters Coefficients aij, cj Right hand sides bi If we change the model parameters, how does it affect Feasibility? If violated, then primal infeasible, but may be dual feasible Optimality? If violated, then dual infeasible, but may be primal feasible

General Procedure for Sensitivity Analysis Revise the model Calculate changes to the original final tableau Covert to the proper form using Gaussian elimination Feasibility Test: Is the new right-hand-sides  0 ? Optimality Test: Is the new row-0 coefficients  0 ? Reoptimization If feasible, but not optimal, continue solving with the primal simplex method If not feasible, but satisfies optimality, continue solving with the dual simplex method If feasible and satisfies optimality, then calculate new x* and Z*

Example of Sensitivity Analysis Original model Max Z = 3x1+ 5x2 s. to x1 ≤ 4 2x2 ≤ 12 3x1+ 2x2 ≤ 18 x1,x2 ≥ 0 Revised model Max Z= 4x1+ 5x2 s. to x1 ≤ 4 2x2 ≤ 24 2x1+ 2x2 ≤ 18 x1,x2 ≥ 0 Original final simplex tableau Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1 3/2 36 1/3 -1/3 2 1/2 6 cBB-1A-c cBB-1 cBB-1b B-1A B-1 B-1b What happens when A, b, c changes?

The Changes in Coefficients x2 x2 2x2 = 24 x1 = 4 x1 = 4 Z = 4x1+ 5x2 2x2 = 12 Z = 3x1+ 5x2 = 36 2x1+ 2x2 = 18 3x1+ 2x2 = 18 x1 x1

Example of Sensitivity Analysis Calculate changes to the original final tableau from original final tableau use new coefficients

Example of Sensitivity Analysis Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1 ½ 48 - ½ 7 12 -3 Feasible? Satisfies optimality criterion?

Example of Sensitivity Analysis Simple dual simplex iteration Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1 ½ 48 - ½ 7 12 -3 Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1

Changes in bi only (Case 1) B.V. Z Original Variables Slack Variables r.h.s. x1 x2 … xn xsn+1 xsn+m 1 cBB-1A-c cBB-1 cBB-1b xB B-1A B-1 B-1b What is affected when only b changes? Optimality criterion will always be satisfied Feasibility might not

Changes in bi only Example A to B-1b= cBB-1b= Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1 3/2 1/3 -1/3 1/2

Changes in bi only Example A Simple dual simplex iteration Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1 3/2 54 1/3 -1/3 6 1/2 12 -2 Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1

Changes in bi only Representing as differences to Can represent as Then we can find = change in r.h.s. of optimal tableau = change in optimal Z value

Changes in bi only Allowable ranges Assume only b2 changes The current basis stays feasible (and optimal) as long as

Changes in coefficients of nonbasic variables (Case 2a) B.V. Z Original Variables Slack Variables r.h.s. x1 x2 … xn xsn+1 xsn+m 1 cBB-1A-c cBB-1 cBB-1b xB B-1A B-1 B-1b What is affected when only c and A columns for a nonbasic variable change? Feasibility criterion will always be satisfied Optimality might not

Changes in coefficients of nonbasic variables Example A continued From Example A (slide 22 – p241, Table 6.21), we had Basic variable Z x1 x2 s1 s2 s3 r.h.s. 1 9/2 5/2 45 4 3/2 1/2 9 -3 -1 6 Change to (cBB-1A - c)1= y* A – c = (B-1A)1=

Changes in coefficients of nonbasic variables Allowable ranges Assume only c1 changes The current basis stays optimal (and feasible) as long as

Introduction of a new variable (Case 2b) Assume the variable was always there, with ci=0, Aij=0 Can now assume it is a nonbasic variable at the original optimal, and apply the same approach as Case 2a Example A Max Z = 3x1+ 5x2 s. to x1 ≤ 4 2x2 ≤ 24 3x1+ 2x2 ≤ 18 x1,x2 ≥ 0 Example A with new variable Max Z = 3x1+ 5x2 + 2x6 s. to x1 + x6 ≤ 4 2x2 ≤ 24 3x1+ 2x2 + 2x6 ≤ 18 x1,x2 ≥ 0

Other possible analyses Changes to the coefficients of a basic variable Utilize same approach as initial example, not much of a ‘special case’ Introduction of a new constraint Would optimality criterion be satisfied? Would feasibility criterion be satisfied? Parametric analysis