1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.

Slides:



Advertisements
Similar presentations
Chapter 5: Linear Programming: The Simplex Method
Advertisements

Understanding optimum solution
Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
SIMPLEX METHOD FOR LP LP Model.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
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.
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
SENSITIVITY ANALYSIS.
Chapter 3 Linear Programming: Sensitivity Analysis and Interpretation of Solution MT 235.
Operation Research Chapter 3 Simplex Method.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
5.6 Maximization and Minimization with Mixed Problem Constraints
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 LP: Sensitivity Analysis and Interpretation of Solution Chapter 3.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Readings Readings Chapter 3
Presentation: H. Sarper
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Chapter 6 Linear Programming: The Simplex Method
Managerial Decision Making and Problem Solving
Chapter 6 Sensitivity Analysis & Duality
Duality Theory LI Xiaolei.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
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.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Chapter 6 Supplement Linear Programming.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Linear Programming: Sensitivity Analysis and Interpretation of Solution Pertemuan 5 Matakuliah: K0442-Metode Kuantitatif Tahun: 2009.
Sensitivity Analysis Consider the CrossChek hockey stick production problem:   Management believes that CrossChek might only receive $120 profit from the.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
4  The Simplex Method: Standard Maximization Problems  The Simplex Method: Standard Minimization Problems  The Simplex Method: Nonstandard Problems.
 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
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Sensitivity Analysis Consider the CrossChek hockey stick production problem: Management believes that CrossChek might only receive $120 profit from the.
Sensitivity analysis LI Xiao-lei. A graphical introduction to sensitivity analysis Sensitivity analysis is concerned with how changes in an LP’s parameters.
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 LP-3 Symplex Method. 2  When decision variables are more than 2, it is always advisable to use Simplex Method to avoid lengthy graphical procedure.
Chapter 4 The Simplex Algorithm and Goal Programming
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Chap 10. Sensitivity Analysis
St. Edward’s University
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Chapter 5 Simplex-Based Sensitivity Analysis and Duality
Chapter 4 Linear Programming: The Simplex Method
The Simplex Method: Standard Minimization Problems
Duality Theory and Sensitivity Analysis
St. Edward’s University
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear Programming – Sensitivity Analysis
Presentation transcript:

1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS

2 2 Slide Chapter 6 Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality

3 3 Slide Objective Function Coefficients and Range of Optimality n The range of optimality for an objective function coefficient is the range of that coefficient for which the current optimal solution will remain optimal (keeping all other coefficients constant). n The objective function value might change is this range.

4 4 Slide Objective Function Coefficients and Range of Optimality n Given an optimal tableau, the range of optimality for c k can be calculated as follows: Change the objective function coefficient to c k in the c j row.Change the objective function coefficient to c k in the c j row. If x k is basic, then also change the objective function coefficient to c k in the c B column and recalculate the z j row in terms of c k.If x k is basic, then also change the objective function coefficient to c k in the c B column and recalculate the z j row in terms of c k. Recalculate the c j - z j row in terms of c k. Determine the range of values for c k that keep all entries in the c j - z j row less than or equal to 0.Recalculate the c j - z j row in terms of c k. Determine the range of values for c k that keep all entries in the c j - z j row less than or equal to 0. n If c k changes to values outside the range of optimality, a new c j - z j row may be generated. The simplex method may then be continued to determine a new optimal solution.

5 5 Slide Shadow Price n A shadow price for a constraint is the increase in the objective function value resulting from a one unit increase in its right-hand side value. n Shadow prices and dual prices on The Management Scientist output are the same thing for maximization problems and negative of each other for minimization problems.

6 6 Slide Shadow Price n Shadow prices are found in the optimal tableau as follows: "less than or equal to" constraint -- z j value of the corresponding slack variable for the constraint"less than or equal to" constraint -- z j value of the corresponding slack variable for the constraint "greater than or equal to" constraint -- negative of the z j value of the corresponding surplus variable for the constraint"greater than or equal to" constraint -- negative of the z j value of the corresponding surplus variable for the constraint "equal to" constraint -- z j value of the corresponding artificial variable for the constraint."equal to" constraint -- z j value of the corresponding artificial variable for the constraint.

7 7 Slide Shadow Price and Range of Feasibility n The range of feasibility for a right hand side coefficient is the range of that coefficient for which the shadow price remains unchanged. n The range of feasibility is also the range for which the current set of basic variables remains the optimal set of basic variables (although their values change.)

8 8 Slide Shadow Price and Range of Feasibility n The range of feasibility for a right-hand side coefficient of a "less than or equal to" constraint, b k, is calculated as follows: Express the right-hand side in terms of  b k by adding  b k times the column of the k -th slack variable to the current optimal right hand side.Express the right-hand side in terms of  b k by adding  b k times the column of the k -th slack variable to the current optimal right hand side. Determine the range of  b k that keeps the right- hand side greater than or equal to 0.Determine the range of  b k that keeps the right- hand side greater than or equal to 0. Add the original right-hand side value b k (from the original tableau) to these limits for  b k to determine the range of feasibility for b k.Add the original right-hand side value b k (from the original tableau) to these limits for  b k to determine the range of feasibility for b k.

9 9 Slide Shadow Price and Range of Feasibility The range of feasibility for "greater than or equal to" constraints is similarly found except one subtracts  b k times the current column of the k -th surplus variable from the current right hand side. The range of feasibility for "greater than or equal to" constraints is similarly found except one subtracts  b k times the current column of the k -th surplus variable from the current right hand side. For equality constraints this range is similarly found by adding  b k times the current column of the k -th artificial variable to the current right hand side. Otherwise the procedure is the same. For equality constraints this range is similarly found by adding  b k times the current column of the k -th artificial variable to the current right hand side. Otherwise the procedure is the same.

10 Slide Simultaneous Changes n For simultaneous changes of two or more objective function coefficients the 100% rule provides a guide to whether the optimal solution changes. n It states that as long as the sum of the percent changes in the coefficients from their current value to their maximum allowable increase or decrease does not exceed 100%, the solution will not change. n Similarly, for shadow prices, the 100% rule can be applied to changes in the the right hand side coefficients.

11 Slide Canonical Form n A maximization linear program is said to be in canonical form if all constraints are "less than or equal to" constraints and the variables are non- negative. n A minimization linear program is said to be in canonical form if all constraints are "greater than or equal to" constraints and the variables are non- negative.

12 Slide Canonical Form n Convert any linear program to a maximization problem in canonical form as follows: minimization objective function:minimization objective function: multiply it by -1 multiply it by -1 "less than or equal to" constraint:"less than or equal to" constraint: leave it alone leave it alone "greater than or equal to" constraint:"greater than or equal to" constraint: multiply it by -1 multiply it by -1 "equal to" constraint:"equal to" constraint: form two constraints, one "less than or equal to", the other "greater or equal to"; then multiply this "greater than or equal to" constraint by -1. form two constraints, one "less than or equal to", the other "greater or equal to"; then multiply this "greater than or equal to" constraint by -1.

13 Slide Primal and Dual Problems n Every linear program (called the primal) has associated with it another linear program called the dual. n The dual of a maximization problem in canonical form is a minimization problem in canonical form. n The rows and columns of the two programs are interchanged and hence the objective function coefficients of one are the right hand side values of the other and vice versa.

14 Slide Primal and Dual Problems n The optimal value of the objective function of the primal problem equals the optimal value of the objective function of the dual problem. n Solving the dual might be computationally more efficient when the primal has numerous constraints and few variables.

15 Slide Primal and Dual Variables n The dual variables are the "value per unit" of the corresponding primal resource, i.e. the shadow prices. Thus, they are found in the z j row of the optimal simplex tableau. n If the dual is solved, the optimal primal solution is found in z j row of the corresponding surplus variable in the optimal dual tableau. n The optimal value of the primal's slack variables are the negative of the c j - z j entries in the optimal dual tableau for the dual variables.

16 Slide Example: Jonni’s Toy Co. Jonni's Toy Company produces stuffed toy animals and is gearing up for the Christmas rush by hiring temporary workers giving it a total production crew of 30 workers. Jonni's makes two sizes of stuffed animals. The profit, the production time and the material used per toy animal is summarized in the table below. Workers work 8 hours per day and there are up to 2000 pounds of material available daily. What is the optimal daily production mix? Size Profit Production Time (hrs.) Material (lbs.) Size Profit Production Time (hrs.) Material (lbs.) Small $ Small $ Large $ Large $8.30 2

17 Slide Example: Jonni’s Toy Co. n LP Formulation x 1 = number of small stuffed animals produced daily x 1 = number of small stuffed animals produced daily x 2 = number of large stuffed animals produced daily x 2 = number of large stuffed animals produced daily Max z = 3 x x 2 Max z = 3 x x 2 s.t..1 x x 2 < 240 s.t..1 x x 2 < 240 x x 2 < 2000 x x 2 < 2000 x 1, x 2 > 0 x 1, x 2 > 0

18 Slide Example: Jonni’s Toy Co. n Simplex Method: First Tableau x 1 x 2 s 1 s 2 x 1 x 2 s 1 s 2 Basis c B Basis c B s s s s z j z j c j - z j c j - z j

19 Slide Example: Jonni’s Toy Co. n Simplex Method: Second Tableau x 1 x 2 s 1 s 2 x 1 x 2 s 1 s 2 Basis c B Basis c B x 2 8 1/3 1 10/ x 2 8 1/3 1 10/ s 2 0 1/ / s 2 0 1/ / z j 8/3 8 80/ z j 8/3 8 80/ c j - z j 1/ /3 0 c j - z j 1/ /3 0

20 Slide Example: Jonni’s Toy Co. n Simplex Method: Third Tableau x 1 x 2 s 1 s 2 x 1 x 2 s 1 s 2 Basis c B Basis c B x x x x z j z j c j - z j c j - z j

21 Slide Example: Jonni’s Toy Co. n Optimal Solution Question: How many animals of each size should be produced daily and what is the resulting daily profit?Question: How many animals of each size should be produced daily and what is the resulting daily profit? Answer: Produce 1200 small animals and 400 large animals daily for a total profit of $6,800.Answer: Produce 1200 small animals and 400 large animals daily for a total profit of $6,800.

22 Slide Example: Jonni’s Toy Co. n Range of Optimality for c 1 (small animals) Replace 3 by c 1 in the objective function row and c B column. Then recalculate z j and c j - z j rows. z j c c c c 1 z j c c c c 1 c j - z j c c 1 c j - z j c c 1 For the c j - z j row to remain non-positive, 8/3 < c 1 < 4 For the c j - z j row to remain non-positive, 8/3 < c 1 < 4

23 Slide Example: Jonni’s Toy Co. n Range of Optimality for c 2 (large animals) Replace 8 by c 2 in the objective function row and c B column. Then recalculate z j and c j - z j rows. z j 3 c c c c 2 z j 3 c c c c 2 c j - z j c c 2 c j - z j c c 2 For the c j - z j row to remain non-positive, 6 < c 2 < 9

24 Slide Example: Jonni’s Toy Co. n Range of Optimality Question: Will the solution change if the profit on small animals is increased by $.75? Will the objective function value change?Question: Will the solution change if the profit on small animals is increased by $.75? Will the objective function value change? Answer: If the profit on small stuffed animals is changed to $3.75, this is within the range of optimality and the optimal solution will not change. However, since x 1 is a basic variable at positive value, changing its objective function coefficient will change the value of the objective function to (3.75) = 7700.Answer: If the profit on small stuffed animals is changed to $3.75, this is within the range of optimality and the optimal solution will not change. However, since x 1 is a basic variable at positive value, changing its objective function coefficient will change the value of the objective function to (3.75) = 7700.

25 Slide Example: Jonni’s Toy Co. n Range of Optimality Question: Will the solution change if the profit on large animals is increased by $.75? Will the objective function value change?Question: Will the solution change if the profit on large animals is increased by $.75? Will the objective function value change? Answer: If the profit on large stuffed animals is changed to $8.75, this is within the range of optimality and the optimal solution will not change. However, since x 2 is a basic variable at positive value, changing its objective function coefficient will change the value of the objective function to (8.75) = 7100.Answer: If the profit on large stuffed animals is changed to $8.75, this is within the range of optimality and the optimal solution will not change. However, since x 2 is a basic variable at positive value, changing its objective function coefficient will change the value of the objective function to (8.75) = 7100.

26 Slide Example: Jonni’s Toy Co. n Range of Optimality and 100% Rule Question: Will the solution change if the profits on both large and small animals are increased by $.75? Will the value of the objective function change?Question: Will the solution change if the profits on both large and small animals are increased by $.75? Will the value of the objective function change? Answer: If both the profits change by $.75, since the maximum increase for c 1 is $1 (from $3 to $4) and the maximum increase in c 2 is $1 (from $8 to $9), the overall sum of the percent changes is (.75/1) + (.75/1) = 75% + 75% = 150%. This total is greater than 100%; both the optimal solution and the value of the objective function change.Answer: If both the profits change by $.75, since the maximum increase for c 1 is $1 (from $3 to $4) and the maximum increase in c 2 is $1 (from $8 to $9), the overall sum of the percent changes is (.75/1) + (.75/1) = 75% + 75% = 150%. This total is greater than 100%; both the optimal solution and the value of the objective function change.

27 Slide Example: Jonni’s Toy Co. n Shadow Price Question: The unit profits do not include a per unit labor cost. Given this, what is the maximum wage Jonni should pay for overtime?Question: The unit profits do not include a per unit labor cost. Given this, what is the maximum wage Jonni should pay for overtime? Answer: Since the unit profits do not include a per unit labor cost, man-hours is a sunk cost. Thus the shadow price for man-hours gives the maximum worth of man-hours (overtime). This is found in the z j row in the s 1 column (since s 1 is the slack for man- hours) and is $20.Answer: Since the unit profits do not include a per unit labor cost, man-hours is a sunk cost. Thus the shadow price for man-hours gives the maximum worth of man-hours (overtime). This is found in the z j row in the s 1 column (since s 1 is the slack for man- hours) and is $20.

28 Slide Example: Prime the Cannons! n Given the following linear program: Max z = 2 x 1 + x x 3 Max z = 2 x 1 + x x 3 s.t. x x x 3 < 15 s.t. x x x 3 < 15 3 x x x 3 > 24 3 x x x 3 > 24 x 1 + x 2 + x 3 = 10 x 1 + x 2 + x 3 = 10 x 1, x 2, x 3 > 0 x 1, x 2, x 3 > 0

29 Slide Example: Prime the Cannons! n Primal in Canonical Form Constraint (1) is a " " constraint. Multiply it by -1. Constraint (3) is an "=" constraint. Rewrite this as two constraints, one a " " constraint. Then multiply the ">" constraint by -1. Max z = 2 x 1 + x x 3 Max z = 2 x 1 + x x 3 s.t. x x x 3 < 15 s.t. x x x 3 < x x x 3 < x x x 3 < -24 x 1 + x 2 + x 3 < 10 x 1 + x 2 + x 3 < 10 - x 1 - x 2 - x 3 < x 1 - x 2 - x 3 < -10 x 1, x 2, x 3 > 0 x 1, x 2, x 3 > 0

30 Slide Example: Prime the Cannons! n Dual of the Canonical Primal There are four dual variables, U 1, U 2, U 3 ', U 3 ". The objective function coefficients of the dual are the RHS of the primal. The RHS of the dual is the objective function coefficients of the primal. The rows of the dual are the columns of the primal. Min z = 15 U U U 3 ' - 10 U 3 " Min z = 15 U U U 3 ' - 10 U 3 " s.t. U U 2 + U 3 ' - U 3 " > 2 s.t. U U 2 + U 3 ' - U 3 " > 2 2 U U 2 + U 3 ' - U 3 " > 1 2 U U 2 + U 3 ' - U 3 " > 1 3 U U 2 + U 3 ' - U 3 " > 3 3 U U 2 + U 3 ' - U 3 " > 3 U 1, U 2, U 3 ', U 3 " > 0 U 1, U 2, U 3 ', U 3 " > 0

31 Slide The End of Chapter 6