Weak and Strong Duality

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:

\(\begin{array}{l}Maximize \;\;\; z = \sum_{j=1}^{n}c_{j}x_{j}\end{array} \)

subject to:

\(\begin{array}{l}\sum_{j=1}^{n}a_{ij}x_{j}\leq b_{i}\:\:\:\: for \;\;i=1, 2, 3, …,m\end{array} \)

and xj ≥ 0 for j = 1, 2, 3, …, n.

The dual associated with this problem is defined as

\(\begin{array}{l}Minimize\;\;\; v=\sum_{i=1}^{m}b_{i}y_{i}\end{array} \)

subject to:

\(\begin{array}{l}\sum_{i=1}^{m}a_{ij}y_{i}\geq c_{j}\:\:\:for\:\;\;j = 1, 2, 3, …, n\end{array} \)

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

\(\begin{array}{l}\sum_{j=1}^{n}c_{j}x_{j}\geq \sum_{i=1}^{m}b_{i}y_{i}\end{array} \)

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,

\(\begin{array}{l}\sum_{j=1}^{n}c_{j}x_{j}\geq \sum_{i=1}^{m}b_{i}y_{i}\end{array} \)
.

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.

\(\begin{array}{l}Maximum\;\;\;\sum_{j=1}^{n}c_{j}x_{j}= Minimum\;\;\;\sum_{i=1}^{m}b_{i}y_{i}\end{array} \)

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

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:

Weak duality and strong duality

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

\(\begin{array}{l}\begin{bmatrix}6 & 5 & 3 \\4 & 2 & 5 \\\end{bmatrix}\begin{bmatrix}x_{1} \\x_{2} \\x_{3}\end{bmatrix}\leq \begin{bmatrix}26 \\7\end{bmatrix}\end{array} \)

and x1, x2, x3 ≥ 0

Therefore, the dual of the given problem is

Min ZD = (26, 7)[w1, w2]

subject to

\(\begin{array}{l}\begin{bmatrix}6 & 4 \\5 & 2 \\3 & 5 \\\end{bmatrix}\begin{bmatrix}w_{1} \\w_{2}\end{bmatrix}\geq \begin{bmatrix}30 \\23 \\29\end{bmatrix}\end{array} \)

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

Q1

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.

Q2

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.

Q3

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*.

Q4

What is the unboundedness property of duals?

If the primal (dual) problem has an unbounded solution, then the dual (primal) problem is infeasible.

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*