07.11.2014 Views

Rhs sensitivity analysis example

Rhs sensitivity analysis example

Rhs sensitivity analysis example

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sensitivity Analysis via an <strong>example</strong><br />

Consider the following LP<br />

min –x1 – 2 x2<br />

s.t. x1 + x2 = 0<br />

Optimal solution: (x1,x2,x3,x4) = (3,3,0,0) and optimal objective value: z = ‐ 9<br />

The Dual Problem (of the standard form):<br />

max 6 y1 + 3 y2<br />

s.t. y1


Note that we can write the dual problem (since the optimal value is the maximum of the objective<br />

values of the extreme points) as:<br />

z = max { (6+∆)*(‐2) + 3*(0); (6+∆)*(‐1)+3*(‐1)} = max {‐12 ‐ 2∆; ‐9‐∆}<br />

Note that primal and dual problem have the same objective value.<br />

The objective z(∆) as a function of ∆ is:<br />

z(∆)<br />

∆<br />

1. Non‐increasing : Since increasing rhs enlarges the feasible region<br />

of the primal problem and objective cannot get worse<br />

and we are minimizing<br />

2. Convex: The slopes are non‐decreasing (becomes less negative), since the marginal<br />

benefit of having an extra unit of component A can only stay the same or get<br />

worse as we have more and more of it.<br />

3. Piece‐wise linear: Since it is given as the maximum of a number of linear functions.<br />

What is the marginal value (also called shadow price) of the rhs of constraint 1? Currently ∆ = 0, the<br />

slope of z(∆) at ∆=0 is ‐1 which is precisely the current value of optimal dual solution of constraint 1.<br />

How long is this marginal value valid? As long as the current dual solution (y1=‐1,y2=‐1) remains optimal.<br />

Note that when ∆


We can get the above information directly from Excel solver (and also other programs by querying “dual<br />

solutions” and “ranges”).<br />

Here is the Excel model:<br />

x1<br />

x2<br />

0 0 (negative) profit = = ‐1*C3‐2*D3<br />

Required<br />

Component A =1*C3+1*D3 6<br />

Component B = 1*D3 3<br />

Available<br />

The target cell is (negative) profit and the changeable cells are x1 and x2. The constraints are Required<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!