Supply Chain Lab LP Sensitivity Studio Lab Home
Optimisation & Network Design

LP Sensitivity Studio

A two-product mix solved graphically as you edit it. Watch the feasible region flex, the iso-profit line sweep to the optimal corner, and read the shadow prices - the marginal worth of one more unit of a binding resource - live.

How to use it

Interactive studio

Objective - maximise profit

Resource A - e.g. assembly hours

Resource B - e.g. machine hours

Demand cap

–
X1*
–
X2*

Swipe the chart sideways to see all of it.

The shaded area is every feasible plan. The optimum (starred) sits where the sweeping dashed iso-profit line last touches the region.

Constraints - binding status & shadow price

ConstraintStatusUsed / RHSShadow priceRHS range (valid)

Swipe the table sideways to see shadow prices and ranges.

A shadow price is the extra profit from one more unit of that resource. It is zero for any resource you are not fully using, and stays constant only within the RHS range shown.

Try these experiments

  1. Make Resource B non-binding (raise its available hours) and watch its shadow price drop to $0.
  2. Slowly raise the profit of X2 until the optimum jumps to another corner - at the switch point both corners are optimal (alternate optima).
  3. Set both resource "Hours / X2" to 0 to remove every cap on X2 - the studio should report an unbounded problem, not crash.

About this tool

The concept

Linear programming maximises a linear objective over a polygon of linear constraints. The best plan is always at a corner (extreme point).

How it works

We enumerate every corner where two boundaries cross, keep the feasible ones, and pick the highest-profit corner - exact for two variables.

Sensitivity

Shadow prices and RHS ranges come from re-solving with the right-hand side nudged, showing how the optimum reacts to more (or less) resource.