MATH170-lecture-20211028

image_2021-10-28-12-01-29

Sensitivity analysis cont. #

image_2021-10-28-12-08-23

Recall previous example #

image_2021-10-28-12-12-03

So how can we identify the shadow price when we have artificial variables by looking at the last row of the simplex tableau?

image_2021-10-28-12-14-55 image_2021-10-28-12-16-33

Notice that moving the upper constraint up does not change the optimal solution at point \( C \) . But if you move the lower constraint up the optimal point will change.

image_2021-10-28-12-23-03 image_2021-10-28-12-26-32 image_2021-10-28-12-28-57

Correction: \( x_5 \) replaced \( x_2 \) , so the left hand side BV is labeled incorrect.

image_2021-10-28-12-37-50 image_2021-10-28-12-50-50

We can ignore the artificial variable columns, and still consider \( z \) optimal, because the \( w \) equation equals \( 0 \) , and \( w = x_5 + x_7 \) .

So, the optimal solution to the original minimization LP problem is \( x_1 = 10, x_2 = 20 \) with \( z = 50 \) . Now let’s check the shadow prices and how they are related to the coefficients in the last row ( \( z \) row), of the last simplex tableau.

Recall,

  • if it is a slack variable, we can simply multiply by \( -1 \) to obtain shadow price for corresponding constraint

Since the coefficients of \( x_3 \) and \( x_8 \) are both 0, their shadow price is 0.

image_2021-10-28-12-58-45

Surplus variables in \( c_2 \) and \( c_3 \) : shadow price is the negative of the coefficients of the corresponding surplus variables.

  • So, for \( c_2 \) the shadow price of a 1 unit increase is \( \frac{1}{2} \) . This is obtained by multiplying the slack variable \( x_4 \) by \( -1 \) .
  • Similarly, for \( c_3 \) , the shadow price of a 1 unit increase is \( \frac{5}{2} \) .

image_2021-10-28-13-11-04 image_2021-10-28-13-14-23