5598 l6 duality-notes (1)

25
Ch.4 Duality and Post Optimal Analysis Dr. Ayham Jaaron

Upload: kumaranandpandit

Post on 06-May-2015

359 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: 5598 l6 duality-notes (1)

Ch.4Duality and Post Optimal Analysis

Dr. Ayham Jaaron

Page 2: 5598 l6 duality-notes (1)

Introduction

• One of the most important discoveries in the early development of linear programming was the concept of duality and its many important ramifications.

• This discovery revealed that every linear programming problem has associated with it another linear programming problem called the dual. The relationships between the dual problem and the original problem (called the primal) prove to be extremely useful in a variety of ways.

• We shall describe many valuable applications of duality theory in this chapter.

Page 3: 5598 l6 duality-notes (1)

Definition of the Dual problem

• The dual problem is an LP defined directly and systematically from the primal (original) LP model.

• The two problems are so closely related that the primal solution of one problem automatically provides the optimal solution to the other.

• The primal problem represents a resource allocation case where the dual problem represents a resource valuation problem.

• Duality help simplification of the simplex problem.

Page 4: 5598 l6 duality-notes (1)

Rules for constructing the dual problem

Primal Problem Dual Problem

Objective Objective Constraints Type Variable sign

Maximization Minimization ≥ unrestricted

Minimization Maximization ≤ unrestricted

Page 5: 5598 l6 duality-notes (1)

Example (1)

• Write the dual for the following primal problem: • Maximize Z= 5x1 + 12x2 + 4x3

Subject to: x1+2x2+x3 ≤ 10 2x1- x2 + 3x3 = 8 x1,x2,x3 ≥ 0What if you considered artificial variables to change to

standard form rather than equation form???.....Try

Page 6: 5598 l6 duality-notes (1)

Example (2)

• Write the dual for the following primal problem

Minimize Z= 15x1+ 12x2 Subject to x1 + 2x2 ≥ 3 2x1 - 4x2 ≤ 5 x1,x2 ≥ 0

Page 7: 5598 l6 duality-notes (1)

Example (3)

• Maximize Z = 5x1 + 6x2• Subject to: x1 + 2x2 = 5 -x1 + 5x2 ≥ 3 4x1 + 7x2 ≤ 8 x1 unrestricted, x2 ≥ 0

Page 8: 5598 l6 duality-notes (1)

Optimal Dual Solution

• This section provides two methods for solving the optimal of the dual problems.

• However, dual of the dual is itself the primal, which means that the dual solution can also be used to yield the optimal primal solution automatically.

Page 9: 5598 l6 duality-notes (1)

Optimal dual solution.....

Page 10: 5598 l6 duality-notes (1)

Problem

• For the following primal problem, find the optimal dual solution:

• Maximize Z= 5x1 + 12x2 + 4x3 Subject to: x1+2x2+x3 ≤ 10 2x1- x2 + 3x3 = 8 x1,x2,x3 ≥ 0

Page 11: 5598 l6 duality-notes (1)

Problem 3- page 162

Write the dual and determine its optimal solution in two ways

Page 12: 5598 l6 duality-notes (1)

Problem 4- Page 163

Page 13: 5598 l6 duality-notes (1)

Problem6- page 163

Page 14: 5598 l6 duality-notes (1)

Problem 6- Page 163

Page 15: 5598 l6 duality-notes (1)

Verification methods

Page 16: 5598 l6 duality-notes (1)

Examples

The following table represents the optimal primal solution for the above LP model. Using the optimal inverse provided in the table, verify that the given table represents a correct solution for the original LP model?

Page 17: 5598 l6 duality-notes (1)

Example..continued..

Page 18: 5598 l6 duality-notes (1)

Example...continued..solution..

Page 19: 5598 l6 duality-notes (1)

Primal-dual objective values

Page 20: 5598 l6 duality-notes (1)

Primal-dual relationship

Page 21: 5598 l6 duality-notes (1)

Book problems- page 166

Page 22: 5598 l6 duality-notes (1)

Continued....

Page 23: 5598 l6 duality-notes (1)

Book Problems- Page 167

Page 24: 5598 l6 duality-notes (1)

Problem 4- continued.....

Page 25: 5598 l6 duality-notes (1)

Continued...optimal simplex table is