Monash University · FACULTY OF MATHEMATICS

ETF5248 Chap.3 Duality and Sensitivity Analysis

- one subject, every graph, every model, every mark
6 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 3 of 7 · ETF5248

Duality and Sensitivity Analysis

Duality gives each primal constraint an economic price and each primal variable a corresponding dual restriction.

Weak duality provides a bound, strong duality equates the optimal primal and dual values under standard feasibility conditions, and complementary slackness links positive activity with tight opposing rows.

Sensitivity analysis uses that structure to ask what a resource or coefficient change is worth without blindly resolving every nearby case.

A shadow price is local, not permanent, and an allowable range protects the basis rather than promising that all decision values remain unchanged. This chapter turns a solver report into evidence, separates slack from value, and frames recommendations with their valid ranges and units.

The dual is most useful when its numbers retain their units.

If a primal constraint measures labour hours and the objective measures dollars, the paired dual variable is measured in dollars per labour hour. Multiplying that price by the available hours contributes dollars to the dual objective.

Complementary slackness then supplies a diagnostic pattern: unused capacity normally pairs with a zero dual value, while positive primal activity makes its paired dual restriction tight, subject to degeneracy. Sensitivity output answers one-change questions around the current optimum, not arbitrary redesigns. An allowable increase or decrease states where the current marginal story remains valid under the report's conditions.

Outside that interval, a different constraint may bind and the model should be resolved. A strong recommendation therefore names the resource, quotes the marginal benefit with its unit, limits the claim to the stated range, and compares that benefit with the cost of obtaining the resource.

In this chapter

What this chapter covers

  • 01

    Primal rows and dual variables

  • 02

    Primal variables and dual constraints

  • 03

    Weak and strong duality

  • 04

    Complementary slackness

  • 05

    Shadow prices and resource values

  • 06

    Allowable ranges and local interpretation

Worked example · free

Use a shadow price inside its valid range

Q [4 marks]. A maximisation model has optimal value $9,600. The labour constraint has shadow price $24 per hour and allowable increase 15 hours. Estimate the new objective after eight extra labour hours, then explain why the same calculation is not certified for twenty extra hours. The marks shown here are an AskSia study weighting, not the University's published scheme.
The correspondence crosses dimensions: primal constraints create dual variables, primal variables create dual constraints, and strong duality joins their optimaThe correspondence crosses dimensions: primal constraints create dual variables, primal variables create dual constraints, and strong duality joins their optimal values.PRIMALDUALvariablesconstraintsconstraintsvariablesone for eachone for eachstrong duality: equal optimal objective values
The correspondence crosses dimensions: primal constraints create dual variables, primal variables create dual constraints, and strong duality joins their optimal values.
  • 1Eight hours are within the allowable increase of 15 hours, so the reported shadow price is valid locally.
  • 1Estimated improvement is 8 times $24 = $192.
  • 1The estimated new objective is $9,600 + $192 = $9,792.
  • 1Twenty hours exceed the allowable increase, so the active basis may change and the model must be resolved for a reliable value.
Eight extra labour hours raise the objective to an estimated $9,792. The $24 rate is not certified for twenty extra hours because that change lies outside the reported range.
Sia tip — State the unit and range every time you quote a shadow price, because a unitless or unlimited interpretation is incomplete.
Glossary

Key terms

Primal
The original optimisation model whose decisions and constraints are being analysed.
Dual
A related model that assigns variables to primal constraints and bounds the primal objective.
Shadow price
The local objective change produced by one unit of a right-hand-side resource.
Complementary slackness
The relationship linking slack in one problem with zero value in the paired variable of the other.
Allowable range
An interval over which a sensitivity interpretation retains its stated basis conditions.
FAQ

Duality and Sensitivity Analysis FAQ

Does a binding constraint always have a positive shadow price?

No. Binding means the row has zero slack at the current solution, while the shadow price measures the local value of relaxing it. Degeneracy or redundancy can make a binding row worth zero. Report both facts rather than treating tightness and economic value as synonyms.

What does strong duality tell me?

When the relevant linear programs have finite optima, the optimal primal and dual objective values are equal. This supplies a certificate: a feasible primal solution and feasible dual solution with the same objective value prove that neither can be improved.

What stays constant within an allowable range?

The current basis remains optimal under the stated one-at-a-time change, which preserves the associated marginal interpretation. Variable values and the objective can still move. The report should not be read as saying the entire solution is numerically unchanged throughout the interval.

How should sensitivity become a recommendation?

Name the resource or coefficient, state the marginal value with units, specify the valid change range, compare the benefit with the purchase or policy cost, and mention what must be resolved beyond the range. This turns software output into a conditional business case.

Study strategy

Exam move

Write the primal and dual side by side, using arrows from every primal row to its dual variable and from every primal variable to its dual constraint. Check sign and direction conventions systematically rather than memorising an isolated table. For each solver sensitivity line, translate the output into a complete sentence with the resource name, currency per unit and allowable change.

Practise rejecting overclaims, especially extending one shadow price beyond its range or assuming slack alone proves a resource has no strategic importance in every scenario.

Working through Duality and Sensitivity Analysis in ETF5248? Sia is AskSia’s AI Mathematics tutor — ask any ETF5248 Duality and Sensitivity Analysis question and get a clear, step-by-step explanation grounded in how ETF5248 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 169 of your Monash University subjects - and 1,000+ Bibles across every Australian university.
Sia - your etf5248 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works