Weak duality

From HandWiki
Revision as of 00:35, 7 February 2024 by WikiEd2 (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In applied mathematics, weak duality is a concept in optimization which states that the duality gap is always greater than or equal to 0. This means that for any minimization problem, called the primal problem, the solution to the primal problem is always greater than or equal to the solution to the dual maximization problem.[1]:225 Alternatively, the solution to a primal maximization problem is always less than or equal to the solution to the dual minimization problem.

Weak duality is in contrast to strong duality, which states that the primal optimal objective and the dual optimal objective are equal. Strong duality only holds in certain cases.[2]

Uses

Many primal-dual approximation algorithms are based on the principle of weak duality.[3]

Weak duality theorem

Consider a linear programming problem,

[math]\displaystyle{ \begin{aligned} \underset{x \in \mathbb{R}^n}{\text{maximize}}\quad & c^\top x \\ \text{subject to}\quad & Ax \leq b, \\ & x \geq 0, \end{aligned} }[/math]

 

 

 

 

(1)

where [math]\displaystyle{ A }[/math] is [math]\displaystyle{ m \times n }[/math] and [math]\displaystyle{ b }[/math] is [math]\displaystyle{ m \times 1 }[/math]. The dual problem of (1) is

[math]\displaystyle{ \begin{aligned} \underset{y \in \mathbb{R}^m}{\text{minimize}}\quad & b^\top y \\ \text{subject to}\quad & A^\top y \geq c, \\ & y \geq 0. \end{aligned} }[/math]

 

 

 

 

(2)

The weak duality theorem states that [math]\displaystyle{ c^\top x^* \leq b^\top y^* }[/math] for every solution [math]\displaystyle{ x^* }[/math] to the primal problem (1) and every solution [math]\displaystyle{ y^* }[/math] to the dual problem (2).

Namely, if [math]\displaystyle{ (x_1,x_2,....,x_n) }[/math] is a feasible solution for the primal maximization linear program and [math]\displaystyle{ (y_1,y_2,....,y_m) }[/math] is a feasible solution for the dual minimization linear program, then the weak duality theorem can be stated as [math]\displaystyle{ \sum_{j=1}^n c_j x_j \leq \sum_{i=1}^m b_i y_i }[/math], where [math]\displaystyle{ c_j }[/math] and [math]\displaystyle{ b_i }[/math] are the coefficients of the respective objective functions.

Proof: cTx = xTcxTATybTy

Generalizations

More generally, if [math]\displaystyle{ x }[/math] is a feasible solution for the primal maximization problem and [math]\displaystyle{ y }[/math] is a feasible solution for the dual minimization problem, then weak duality implies [math]\displaystyle{ f(x) \leq g(y) }[/math] where [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math] are the objective functions for the primal and dual problems respectively.

See also

References