MGMT 306
Purdue University
Can be used to answer two types of questions:
Note: only one change
Variables \[\begin{aligned} &w&&\text{acres of wheat to plant}\\ &c&&\text{acres of corn to plant}\\ \end{aligned}\]
Model \[\begin{aligned} \max\quad&200 w + 300c&&\text{(profit)}\\ \text{s.t.}\quad& 2w + 4c \leq 120 && \text{(fertilizer)}\\ & 3w + 2c \leq 100 && \text{(labor)}\\ & w + c \leq 60 && \text{(land)}\\ & w,c\geq 0 && \text{(nonnegativity)} \end{aligned}\]
e.g., “What if profit per acre of corn changes next month?”
Changing the coefficient in the objective function changes the slope of the objective function line
\[\begin{aligned} \max\quad&200 w + 300c&&\\ \text{s.t.}\quad& 2w + 4c \leq 120 && \\ & 3w + 2c \leq 100 && \\ & w + c \leq 60 && \\ & w,c\geq 0 && \end{aligned}\]

\[\begin{aligned} \max\quad&{\color{red}300} w + 300c&&\\ \text{s.t.}\quad& 2w + 4c \leq 120 && \\ & 3w + 2c \leq 100 && \\ & w + c \leq 60 && \\ & w,c\geq 0 && \end{aligned}\]

\[\begin{aligned} \max\quad&{\color{red}600} w + 300c&&\\ \text{s.t.}\quad& 2w + 4c \leq 120 && \\ & 3w + 2c \leq 100 && \\ & w + c \leq 60 && \\ & w,c\geq 0 && \end{aligned}\]

Does the optimal solution stay the same if the objective function changes to:
How does the optimal objective value change?
e.g., “What if available fertilizer changes next month?”
Changing a constraint RHS changes the position (but not the slope) of a constraint
\[\begin{aligned} \max\quad&200 w + 300c&&\\ \text{s.t.}\quad& 2w + 4c \leq 120 && \\ & 3w + 2c \leq 100 && \\ & w + c \leq 60 && \\ & w,c\geq 0 && \end{aligned}\]
Binding constraints: fertilizer and labor

\[\begin{aligned} \max\quad&200 w + 300c&&\\ \text{s.t.}\quad& 2w + 4c \leq {\color{red}160} && \\ & 3w + 2c \leq 100 && \\ & w + c \leq 60 && \\ & w,c\geq 0 && \end{aligned}\]
Binding constraints: still fertilizer and labor!
Which constraints are binding have not changed

\[\begin{aligned} \max\quad&200 w + 300c&&\\ \text{s.t.}\quad& 2w + 4c \leq {\color{red}300} && \\ & 3w + 2c \leq 100 && \\ & w + c \leq 60 && \\ & w,c\geq 0 && \end{aligned}\]
Binding constraints have changed

Do the binding constraints stay the same or change if we change:
Does the optimal solution stay the same if we change:
What is the change in optimal value if we change:
Should know:
Sensitivity Analysis Facts 1–5
| Model 1 | Model 2 | Model 3 | |
|---|---|---|---|
| Number ordered | 3000 | 2000 | 900 |
| Hours of wiring/unit | 2 | 1.5 | 3 |
| Hours of harnessing/unit | 1 | 2 | 1 |
| Cost to make | 50 | 83 | 130 |
| Cost to buy | 61 | 97 | 145 |
Variables \[\begin{aligned} & m_1 &&\text{number of model 1 slip ring to make}\\ & m_2 &&\text{number of model 2 slip ring to make}\\ & m_3 &&\text{number of model 3 slip ring to make}\\ & b_1 &&\text{number of model 1 slip ring to buy}\\ & b_2 &&\text{number of model 2 slip ring to buy}\\ & b_3 &&\text{number of model 3 slip ring to buy} \end{aligned}\]
or
\[\begin{aligned} & m_i &&\text{number of model $i$ slip ring to make for $i=1,2,3$}\\ & b_i &&\text{number of model $i$ slip ring to buy for $i=1,2,3$}\\ \end{aligned}\]
Objective \[\min\quad 50 m_1 + 83 m_2 + 130 m_3 + 61 b_1 + 97 b_2 + 145 b_3 \quad\text{(tot. cost)}\]
Constraints \[\begin{aligned} & m_1 + b_1 = 3000 &\text{(model 1 order)}\\ &m_2 + b_2 = 2000 &\text{(model 2 order)}\\ &m_3 + b_3 = 900 &\text{(model 3 order)}\\ &2 m_1 + 1.5 m_2 + 3 m_3 \leq 10000 &\text{(wiring capacity)}\\ &1 m_1 + 2 m_2 + 1 m_3 \leq 5000 &\text{(harnessing capacity)}\\ &m_i , b_i \geq 0 \quad\text{for $i = 1,2,3$} &\text{(nonnegativity)} \end{aligned}\]
Question. What would happen to the optimal solution, optimal objective value if wiring capacity decreases to 9600?
Solution.
Question. What would happen to the optimal solution, optimal objective value if harnessing capacity decreases by 100 hours?
Solution.
Question. The order changes to 100 additional units of model 3. What is the additional cost per unit of the extra model 3s?
Solution.
Question. The company can increase harnessing time by scheduling overtime at a cost of $10 per hour. If overtime is available up to 200 hours, should the company use overtime? If yes, how much overtime should the company use?
Solution.
Question. What if the cost of overtime is $6 per hour?
Solution.
Question. At what cost would the company be willing to buy any of Model 1?
Solution.
Question. At what cost of making Model 1 would lead the company to making fewer units of Model 1?
Solution.
Sensitivity Analysis Facts 1–5
Question. At what minimum profit per unit should Tijerina consider producing more professional models?
Solution.
Question. It costs $300 to rent the assembly equipment for 30 additional hours. Should Tijerina Tablets pay for 30 additional hours of assembly?
Solution.
Question. Tijerina can choose to pay a penalty of $1,000 to renege on their contract with the local vendor. Should they fulfill the original contract? Yes/No?
Solution.
Shadow price on nonnegativity constraints
Variables \[\begin{aligned} & w && \text{acres of wheat to plant}\\ & c && \text{acres of corn to plant}\\ & a && \text{acres of alfalfa to plant} \end{aligned}\]
Model \[\begin{aligned} \max\quad& 200w+300c+150a && \text{(profit)}\\ \text{s.t}\quad& 2w+4c+2a\leq 120 && \text{(fertilizer)}\\ & 3w+2c+3a\leq 100 && \text{(labor)}\\ & w+c+a\leq 60 && \text{(land)}\\ &w,c,a\geq 0 && \text{(nonnegativity)} \end{aligned}\]
Inside range of feasibility, \[\text{change in opt value} = \text{change in RHS} \times \text{shadow price}\]
This formula assumes that the binding constraints do not change
Sensitivity Analysis Facts 6, 7
Question. One of your employees calls in sick. As a result, the available hours for software installation decreases from 90 to 70. What impact will this have on the optimal solution and optimal objective value?
Answer.
Question. What would happen to the optimal solution, optimal objective value if wiring capacity decreases to 9000?
Answer.
Question. Suppose harnessing capacity increases by 1000 hours. What would happen to the optimal value?
Answer.