Weak and strong duality in linear programming are conditions of optimality of primal and dual of a linear programming problem. Every linear programming problem is associated with another linear programming problem called the dual, and the original problem is called the primal. The optimal solution of both renders information about the given problem.
Let the given primal problem be:
subject to:
and xj ≥ 0 for j = 1, 2, 3, …, n.
The dual associated with this problem is defined as
subject to:
and yi ≥ 0 for i = 1, 2, 3, …, m.
Table of Contents: |
Weak Duality
Let xj; j = 1, 2, 3, …, n be the feasible solution of the primal problem P and yi; i = 1, 2, 3, …, m be the feasible solution of the dual problem D, if
Then the given linear programming is said to have weak duality.
Weak Duality Theorem
For any feasible solution xj; j = 1, 2, 3, …, n and yi; i = 1, 2, 3, …, m of the given primal and dual respectively,
Let x = xj; j = 1, 2, 3, …, n and y = yi; i = 1, 2, 3, …, m. Then as per the conditions of primal and dual ∑j aij x ≤ bi (i = 1, 2, 3, …, m) and ∑i aij y ≥ cj (j = 1, 2, 3, …, n). Then we have,
∑i ∑j aij x y ≤ ∑i bi y and ∑j ∑i aij y x ≥ ∑j c y
From both the inequalities we have
∑j c y ≤ ∑i bi y
Thus, the weak duality property implies that the duality gap is either zero or greater zero. If the duality gap is zero, then the obtained solution of primal and dual are optimal respective of their problem.
Strong Duality
If the primal (dual) problem has an optimal solution, then so does the dual (primal) problem. That means, strong duality is a condition of optimization where the primal optimal solution is equal to the dual optimal solution.
Strong Duality Theorem
A primal linear programming problem has a finite optimal solution if and only if the dual linear programming problem has a finite optimal solution.
The direct consequence of strong duality is that the duality gap is zero. The strong duality also results in optimality properties.
Unboundedness Property
If the primal (dual) problem has an unbounded solution, then the dual (primal) problem is infeasible.
This property directly implies the weak duality property.
Related Articles
- Types of Linear Programming Problem
- Vogel’s Approximation Method
- Optimization
- Graphical Method of Solving Linear Programming
Solved Example on Weak and Strong Duality
Example:
Check the weak and strong duality property for the following linear programming problem.
Max Z = 30x1 + 23x2 + 29x3
subject to: 6x1 + 5x2 + 3x3 ≤ 26
4x1 + 2x2 + 5x3 ≤ 7
and x1, x2, x3 ≥ 0
Solution:
Introducing the slack variables x4 and x5 the given problem reduces to,
Max Z = 30x1 + 23x2 + 29x3 + 0.x4 + 0.x5
subject to: 6x1 + 5x2 + 3x3 + x4 = 26
4x1 + 2x2 + 5x3 + x5 = 7
and x1, x2, x3, x4, x5 ≥ 0
Taking x1 = x2 = x3 = 0, we get x4 = 26 and x5 = 7 which is the starting basic feasible solution.
Then we have simplex table computations:
Since no Δj > 0, so this is the optimal solution
Thus x1 = 0, x2 = 7/2 and x3 = 0
Max Z = 161/2
To write the dual of the primal
Given, Z = (30, 23, 29) [x1, x2, x3]
subject to
and x1, x2, x3 ≥ 0
Therefore, the dual of the given problem is
Min ZD = (26, 7)[w1, w2]
subject to
and w1, w2 ≥ 0
Or, Min ZD = 26w1 + 7w2
s.t. 6w1 + 4w2 ≥ 30
5w1 + 2w2 ≥ 23
3w1 + 5w2 ≥ 29
and w1, w2 ≥ 0
We can use the simplex table of primal to read the solution of dual.
In the table, x4 and x5 are slack variables and Δj below the corresponding columns Y4 and Y5 are Δ4 and Δ5, respectively.
Therefore, w1 = – Δ4 and w2 = – Δ5 = 23/2
and Min. ZD = 161/2
Since, Max Z = Min ZD, hence weak and strong duality theorems are satisfied.
Frequently Asked Questions on Weak and Strong Duality
What is the weak duality property of a Linear programming problem?
The weak duality property implies that the duality gap is either zero or greater zero. If the duality gap is zero, then the obtained solution of primal and dual are optimal respective of their problem.
What is the strong duality property of a Linear programming problem?
The strong duality property implies that the duality gap is zero between the primal and the dual.
What is a strong duality theorem?
A primal linear programming problem has a finite optimal solution if and only if the dual linear programming problem has a finite optimal solution. If x* and y* are optimal solutions of the primal and dual, respectively. Then ∑ c x* = ∑ b y*.
What is the unboundedness property of duals?
If the primal (dual) problem has an unbounded solution, then the dual (primal) problem is infeasible.
Comments