Docsity

Sensitivity Analysis for Whole Paycheck LP: Maximizing Refrigerator Volume - Prof. Timothy, Study notes of Mathematics

Partial preview of the text

Download Sensitivity Analysis for Whole Paycheck LP: Maximizing Refrigerator Volume - Prof. Timothy and more Study notes Mathematics in PDF only on Docsity!

Sensitivity Analysis

Tim Chartier

Department of Mathematics @

Math 381

Announcement

Monday’s class will be in

Communications B-027.

We will again be using Excel.

Questions, Questions

This resulted in the feasible region below which had as an optimal value ( 8 , 3 ).

(^00 2 4 6 8 10 12 )

1

2

3

4

5

6

7

8

9

x = Frigid Refrigerators

y = Arctic Refrigerators

Whole Paycheck LP 6x + 8y = 72 4x + 8y = 56

A question to ponder

Recall that x = the number of Frigid Refrigerators and y = the number of Arctic Refrigerators. Further, we are maximizing volume as captured in the objective function: max 24 x + 36 y

Question : Suppose the measurement of the volume of a Frigid Refrigerator is exact but we know that there may be measurement error in the volume of an Arctic Refrigerator. What is the largest volume for an Arctic Refrigerator that will include a nonzero num- ber of Frigid Refrigerators in the optimal solution but any larger volume will result in zero Frigid Refrigerators?

Getting graphic

If we increase the volume of Arctic Refrigerators, what happens to the contour lines of the objective function. (That is, what happens to the lines perpendicular to a line that is parallel to the gradient vector of the objective function. Talk with a partner. We will discuss this as a group so be prepared to give an answer.

(^00 2 4 6 8 10 12 )

1

2

3

4

5

6

7

8

9

x = Frigid Refrigerators

y = Arctic Refrigerators

Whole Paycheck LP 6x + 8y = 72 4x + 8y = 56

Just tilt your head

Increasing the volume of Arctic Refrigerators tilts the objective function (counter-clockwise in this case). For example, let us change the objective function from max 24 x + 36 y (left) to max 24 x + 40 y (right).

(^00 2 4 6 8 10 12 )

1

2

3

4

5

6

7

8

9

x = Frigid Refrigerators

y = Arctic Refrigerators

Whole Paycheck LP 6x + 8y = 72 4x + 8y = 56

(^00 2 4 6 8 10 12 )

1

2

3

4

5

6

7

8

9

10

x = Frigid Refrigerators

y = Arctic Refrigerators

Whole Paycheck LP 6x + 8y = 72 4x + 8y = 56

To be parallel

This occurs when the contour lines of the objective function are parallel to the constraint 4 x + 8 y = 56. Therefore, we are interested in an objective function max 24 x + α y where the contour lines of this objective function are parallel to the constraint above.

Question : How do we choose such an α?

To be perpendicular

The vector v 1 =

[

]

is parallel to the line 4 x + 8 y = 56 which can also be expressed as y = − 12 x + 7. The vector v 2 =

[

]

is perpendicular to v 1 since v 1 · v 2 = 0. We want an objective function max 24 x + α y such that its gradient is parallel to v 2. That is, we want: [ 24 α

]

[

]

⇒ α = 48.

Therefore, for any value α > 48 the objective function max 24 x + α y will result in no Frigid Refrigerators in the optimal solution.

Questions, Questions

Let us ask another question.

Question : What is the effect of perturbing the availability of re- sources?

Perturbing constraints

Therefore, we want to look at the system (which depends on ǫ 1 and ǫ 2.

v (ǫ 1 , ǫ 2 ) 24 x + 36 y subject to 4000 x + 8000 y ≤ 56000 + ǫ 1 6 x + 8 y ≤ 72 + ǫ 2 x ≥ 0 y ≥ 0

GE on MATLAB

We will perform Gaussian Elimination on MATLAB and put the system in reduced-row echelon form. Note that:

4000 x + 8000 y − ǫ 1 = 56000 6 x + 8 y − ǫ 2 = 72

Therefore we have the augmented system: ( 4000 8000 − 1 0 56000 6 8 0 − 1 72

Solving on MATLAB

The following session will solve this system in MATLAB.

format rat

A

A = 4000 8000 -1 0 56000 6 8 0 -1 72

rref(A)

ans = 1 0 1/2000 -1/2 8 0 1 -1/2667 1/4 3

Interpretation

How do we interpret these values?

Therefore, for each additional dollar in the budget to buy refrigerators above the base of 56000, there is a contribution of 115 / 76753 ≈ 0 .0015 ft^3 to the volume in the objective function.

Similarly, for each additional ft^2 of floor space available above the base of 72 kg, there is a contribution of 3 ft^3 to the volume in the objective function.

Excel’s Sensitivity report

We can find these values on Excel’s sensitivity report.

They are listed as “Shadow Prices,” which is another name for marginal values.