All mock tests are FREE till 31 December — register to save your progress
Unit 1 · Discrete Structures and Optimization Paper 2 CS · September 2022

Consider the primal problem:
Maximize z = 5x1 + 12x2 + 4x3
subject to x1 + 2x2 + x3 = 10
2x1 − x2 + 3x3 = 8
x1, x2, x3 ≥ 0
Its dual problem is
Minimize w = 10y1 + 8y2
subject to y1 + 2y2 ≥ 5
2y1 − y2 ≥ 12
y1 + 3y2 ≥ 4
Which of the following is correct?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. y1 ≥ 0, y2 unrestricted

Explanation

A ≤ constraint in a max problem gives a dual variable ≥ 0, and an equality constraint gives an unrestricted dual variable. The official answer (A) treats the first constraint as x1 + 2x2 + x3 ≤ 10 and the second as an equality. If both are read as equalities, both y1 and y2 would be unrestricted.

More Discrete Structures and Optimization questions