1 sensitivity analysis (ii). 2 sensitivity report

19
1 Sensitivity Analysis (II)

Upload: milton-mccarthy

Post on 17-Jan-2016

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 1 Sensitivity Analysis (II). 2 Sensitivity Report

1

Sensitivity Analysis (II)

Page 2: 1 Sensitivity Analysis (II). 2 Sensitivity Report

2

Sensitivity Report

Page 3: 1 Sensitivity Analysis (II). 2 Sensitivity Report

3

Other Uses of Shadow Prices

Suppose a new Hot Tub (the Typhoon-Lagoon) is being considered. It generates a marginal profit of $320 and requires:– 1 pump (shadow price = $200)– 8 hours of labor (shadow price = $16.67)– 13 feet of tubing (shadow price = $0)

Q: Would it be profitable to produce any? A: $320 - $___*1 - $16.67*8 - $___*13 = -$13.33

Therefore, No!

Page 4: 1 Sensitivity Analysis (II). 2 Sensitivity Report

The Meaning of Reduced Costs

reduced cost = per-unit marginal profit ̶ per-unit value of the resources it consumes

4

For each product, its

Page 5: 1 Sensitivity Analysis (II). 2 Sensitivity Report

The Meaning of Reduced Costs

Optimal Value of Optimal Value ofType of Problem Decision Variable Reduced Cost

at simple lower bound <=0

Maximization between lower & upper bounds =0at simple upper bound >=0

at simple lower bound >=0

Minimization between lower & upper bounds =0at simple upper bound <=0 5

Page 6: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Key Points - I The shadow prices of resources equate the

marginal value of the resources consumed with

the marginal benefit of the goods being produced.

Resources in excess supply have a shadow price

(or marginal value) of zero.

6

Page 7: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Key Points-II The reduced cost of a product is the difference

between its marginal profit and the marginal value of the resources it consumes.

Products whose marginal profits are less than the marginal value of the resources required for their production will not be produced in an optimal solution.

7

Page 8: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Analyzing Changes in Constraint Coefficients

Q: Suppose a Typhoon-Lagoon required only 7 labor hours rather than 8. Is it now profitable to produce any?A: $320 - ______ - _____ - ____ = ____

Yes/NO

Q: What maximum amount of labor hours could be required to produce a Typhoon-Lagoon and still be profitable?

A: We need $320 - $200*1 - $16.67*L3 - $0*13 >=0

The above is true if L3 <= _________ = ____ 8

Page 9: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Simultaneous Changes in Objective Function Coefficients

The 100% Rule can be used to determine if the

optimal solutions changes when more than

one objective function coefficient changes. Two cases can occur:

– Case 1: All variables with changed obj. coefficients have nonzero reduced costs.

– Case 2: At least one variable with changed obj. coefficient has a reduced cost of zero.

9

Page 10: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Simultaneous Changes in Objective Function Coefficients

The current solution remains optimal

provided the obj. coefficient changes are all

within their Allowable Increase or Decrease.

Case 1: All variables with changed obj. coefficients have nonzero reduced costs

10

Page 11: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Simultaneous Changes in Objective Function Coefficients

0 < if,

0 if,

r

jcjD

jc

jcjI

jc

j For each variable compute:

Case 2: At least one variable with changed obj. coefficient has a reduced cost of zero

If more than one objective function coefficient changes, the current solution remains optimal provided the Σrj <= 1.

If the Σrj > 1, the current solution, might remain optimal, but this is not guaranteed.

11

Page 12: 1 Sensitivity Analysis (II). 2 Sensitivity Report

A Warning About Degeneracy The solution to an LP problem is degenerate if the

Allowable Increase or Decrease on any constraint is zero (0).

When the solution is degenerate:1. The methods mentioned earlier for detecting

alternate optimal solutions cannot be relied upon.

2. The reduced costs for the changing cells may not be unique. Also, the objective function coefficients for changing cells must change by at least as much as (and possibly more than) their respective reduced costs before the optimal solution would change.

12

Page 13: 1 Sensitivity Analysis (II). 2 Sensitivity Report

When the solution is degenerate (cont’d):

3. The allowable increases and decreases for the objective function coefficients still hold and, in fact, the coefficients may have to be changed beyond the allowable increase and decrease limits before the optimal solution changes.

4. The given shadow prices and their ranges may still be interpreted in the usual way but they may not be unique. That is, a different set of shadow prices and ranges may also apply to the problem (even if the optimal solution is unique).

13

Page 14: 1 Sensitivity Analysis (II). 2 Sensitivity Report

The Limits Report

See file Fig4-1.xlsm

14

Page 15: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Ad Hoc Sensitivity Assistant

We can use RSP’s ability to run multiple parameterized optimizations to carry out ad hoc sensitivity such as:– Spider Tables & Plots

Summarize the optimal value for one output cell as individual changes are made to various input cells.

– Solver TablesSummarize the optimal value of multiple output

cells as changes are made to a single input cell.

15

Page 16: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Spider Tables & Plots

See file: Fig4-12.xlsm

PsiCurrentOpt( ) - returns the current optimization # (O#)

INT( (O# -1)/v )+1 - returns the current parameter # (P#)

O# - v *(P# -1) - returns the current iteration #

To vary each of p parameters by v values requires a total of p*v optimizations

16

Page 17: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Solver Tables

See file: Fig4-14.xlsm

Use PsiOptParam( ) to specify values for an input cell to take on across multiple optimizations

Use PsiOptValue( ) to return the values for an output celll across multiple optimizations

17

Page 18: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Robust Optimization Traditional sensitivity analysis assumes all

coefficients in a model are known with certainty

Some argue this makes optimal solutions on the boundaries of feasible regions very “fragile”

A “robust” solution to an LP occurs in the interior of the feasible region and remains feasible and reasonably good for modest changes in model coefficients

18

Page 19: 1 Sensitivity Analysis (II). 2 Sensitivity Report

Chance Constraints For LP problems, RSP supports uncertainties in

constraint coefficients via uncertainty set (USet) chance constraints

For example, suppose…– the amount of labor per hot tub varies uniformly from

+/- 15 minutes (0.25 hours) from the original estimates– the amount of tubing per hot tub varies uniformly from

+/- 6 inches (0.5 feet) from the original estimates

See file: Fig4-16.xlsm

19