Sensitivity analysis determines the range over which a given factor may vary without affecting the solution mix or the dual prices. Suppose we are maximising.

For ranges of the right-hand side constants:

- Identify the slack variable associated with the given constraint.
- Divide the "Solution values" column of the final table by the column for the slack variable.
- The limit on the decrease is the smallest nonnegative ratio determined in (2).
- The absolute value of the smallest (closest to zero) nonpositive ratio calculated in (2) is the limit on the increase.

If the variable is a solution variable, then:

- Identify the row associated with the given variable in the final table. Ignore the column associated with the given variable.
- Divide the row by the row of (1).
- The smallest nonnegative ratio calculated in (2) is the limit on the increase.
- The absolute value of the smallest (closest to zero) nonpositive ratio calculated in (2) is the limit on the decrease.