Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.

Similar presentations


Presentation on theme: "1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi."— Presentation transcript:

1 1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi

2 2 2 Slide Learning Objectives n Understand, using graphs, impact of changes in objective function coefficients, right-hand-side values, and constraint coefficients on optimal solution of a linear programming problem. n Generate answer and sensitivity reports using Excel's Solver. n Interpret all parameters of reports for maximization and minimization problems. n Analyze impact of simultaneous changes in input data values using 100% rule.

3 3 3 Slide Sensitivity Analysis n Sensitivity analysis (or post-optimality analysis) is used to determine how the optimal solution is affected by changes, within specified ranges, in: the objective function coefficientsthe objective function coefficients the right-hand side (RHS) valuesthe right-hand side (RHS) values n Sensitivity analysis is important to the manager who must operate in a dynamic environment with imprecise estimates of the coefficients. n Sensitivity analysis allows the manager to ask certain what-if questions about the problem.

4 4 4 Slide Range of Optimality: The Objective Function Coefficients n A range of optimality of an objective function coefficient is found by determining an interval for the coefficient in which the original optimal solution remains optimal while keeping all other data of the problem constant. (The value of the objective function may change in this range.)

5 5 5 Slide The Right Hand Sides: Shadow Price (Dual Price) n A shadow price for a right hand side value (or resource limit) is the amount the objective function will change per unit increase in the right hand side value of a constraint. n The range of feasibility for a change in the right hand side value is the range of values for this coefficient in which the original shadow price remains constant. n Graphically, a shadow price is determined by adding +1 to the right hand side value in question and then resolving for the optimal solution in terms of the same two binding constraints. n The shadow price is equal to the difference in the values of the objective functions between the new and original problems. n The shadow price for a non-binding constraint is 0.

6 6 6 Slide Example 1 n Refer to the “Woodworking” example of Chapter 2, where X1 = Tables and X2= Chairs. The problem is shown below. Max. Z=$100X1+60X2 Max. Z=$100X1+60X2 s.t.12X1+4X2 < 60 (Assembly time in hours) 4X1+8X2 < 40 (Painting time in hours) 4X1+8X2 < 40 (Painting time in hours) The optimum solution was X1=4, X2=3, and Z=$580. Answer the following questions regarding this problem.

7 7 7 Slide Answer the following Questions: 1. Compute the range of optimality for the contribution of X1 (Tables) 2. Compute the range of optimality for the contribution of X2 (Chairs) 3. Determine the dual Price (Shadow Price) for the assembly stage. 4. Determine the dual Price (Shadow Price) for the painting stage.

8 8 8 Slide Standard Computer Output n n Software packages such as Microsoft Excel and LINDO provide the following LP information: n Information about the objective function: n its optimal value n coefficient ranges (ranges of optimality) n Information about the decision variables: n their optimal values n their reduced costs n Information about the constraints: n the amount of slack or surplus n the dual prices n right-hand side ranges (ranges of feasibility)

9 9 9 Slide Sensitivity Report n Sensitivity report has two distinct components. n (1) Table titled Adjustable Cells n (2) Table titled Constraints. n Tables permit one to answer several "what-if" questions regarding problem solution. n Consider a change to only a single input data value. n Sensitivity information does not always apply to simultaneous changes in several input data values.

10 10 Slide Example 2: Olympic Bike Co. n Model Formulation Max 10 x 1 + 15 x 2 (Total Weekly Profit) Max 10 x 1 + 15 x 2 (Total Weekly Profit) s.t. 2 x 1 + 4 x 2 < 100 (Aluminum Available) s.t. 2 x 1 + 4 x 2 < 100 (Aluminum Available) 3 x 1 + 2 x 2 < 80(Steel Available) 3 x 1 + 2 x 2 < 80(Steel Available) x 1, x 2 > 0(Non-negativity) x 1, x 2 > 0(Non-negativity)

11 11 Slide Example 2: Olympic Bike Co. n Optimal Solution According to the output: x 1 (Deluxe frames) = 15, x 2 (Professional frames) = 17.5, and the objective function value = $412.50.

12 12 Slide Example 2: Olympic Bike Co. n Range of Optimality Question Suppose the profit on deluxe frames is increased to $20. Is the above solution still optimal? What is the value of the objective function when this unit profit is increased to $20? Answer The output states that the solution remains optimal as long as the objective function coefficient of x 1 is between 7.5 and 22.5. Since 20 is within this range, the optimal solution will not change. The optimal profit will change: 20 x 1 + 15 x 2 = 20(15) + 15(17.5) = $562.50

13 13 Slide Example 2: Olympic Bike Co. n Range of Optimality Question If the unit profit on deluxe frames were $6 instead of $10 would the optimal solution change? Answer The output states that the solution remains optimal as long as the objective function coefficient of x 1 is between 7.5 and 22.5. Since 6 is outside this range, the optimal solution would change.

14 14 Slide Example 2: Olympic Bike Co. n Range of Feasibility: The range of feasibility for a change in a right-hand side value is the range of values for this parameter in which the original shadow price remains constant. Question What is the maximum amount the company should pay for 50 extra pounds of aluminum? Answer The shadow price provides the value of extra aluminum. The shadow price for aluminum is $3.125 per pound and the maximum allowable increase is 60 pounds. Since 50 is in this range, then the $3.125 is valid. Thus, the value of 50 additional pounds is: 50($3.125) = $156.25

15 15 Slide Example 3 n Consider the following linear program: Min 6 x 1 + 9 x 2 ($ cost) Min 6 x 1 + 9 x 2 ($ cost) s.t. x 1 + 2 x 2 < 8 s.t. x 1 + 2 x 2 < 8 10 x 1 + 7.5 x 2 > 30 10 x 1 + 7.5 x 2 > 30 x 2 > 2 x 2 > 2 x 1, x 2 > 0 x 1, x 2 > 0 Solve the above problem and perform sensitivity analysis.

16 16 Slide Range of Optimality and 100% Rule n The 100% rule states that simultaneous changes in objective function coefficients will not change the optimal solution as long as the sum of the percentages of the change divided by the corresponding maximum allowable change in the range of optimality for each coefficient does not exceed 100%.

17 17 Slide Range of Feasibility n A dual price represents the improvement (increase or decrease) in the objective function value per unit increase in the right-hand side. As long as the right- hand side remain within the range of feasibility, there will be is no change in the shadow price. The range of feasibility is the range over which the dual price is applicable.

18 18 Slide Range of Feasibility and 100% Rule n The 100% rule states that simultaneous changes in right-hand sides will not change the dual prices as long as the sum of the percentages of the changes divided by the corresponding maximum allowable change in the range of feasibility for each right-hand side does not exceed 100%.

19 19 Slide Reduced Cost n The reduced cost for a decision variable whose value is 0 in the optimal solution is the amount the variable's objective function coefficient would have to improve (increase for maximization problems, decrease for minimization problems) before this variable could assume a positive value. n The reduced cost for a decision variable with a positive value is 0.

20 20 Slide Example 4 In a product-mix-problem, X1, X2, X3, and X4 indicate the units of products 1, 2, 3, and 4, respectively, and the linear programming model is MAX Z = $5X1+$7X2+$8X3+$6X4 S.T.1) 3X1+2X2+4X3+3X4  600Machine A hours 2) 4X1+1X2+2X3+6X4  700Machine B hours 3) 2X1+3X2+1X3+2X4  800Machine C hours 3) 2X1+3X2+1X3+2X4  800Machine C hours Input the data in an Excel file and save the file. Using Solver, solve the problem and obtain sensitivity results.

21 21 Slide Summary n Sensitivity analysis used by management to answer series of “ what-if ” questions about LP model inputs. n Tests sensitivity of optimal solution to changes: n Profit or cost coefficients, and n Constraint RHS values. n Explored sensitivity analysis graphically (with two decision variables). n Discussed interpretation of information: n In answer and sensitivity reports generated by Solver. n In reports used to analyze simultaneous changes in model parameter values.


Download ppt "1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi."

Similar presentations


Ads by Google