Weak duality: Difference between revisions

From testwiki
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 13:21, 16 January 2025

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]Template:Rp Alternatively, the solution to a primal maximization problem is always less than or equal to the solution to the dual minimization problem. So, in short: weak duality states that any solution feasible for the dual problem is an upper bound to the solution of the primal 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, Template:NumBlk where A is m×n and b is m×1. The dual problem of (Template:EquationNote) is Template:NumBlk

The weak duality theorem states that cx*by* for every solution x* to the primal problem (Template:EquationNote) and every solution y* to the dual problem (Template:EquationNote).

Namely, if (x1,x2,....,xn) is a feasible solution for the primal maximization linear program and (y1,y2,....,ym) is a feasible solution for the dual minimization linear program, then the weak duality theorem can be stated as j=1ncjxji=1mbiyi, where cj and bi are the coefficients of the respective objective functions.

Proof: Template:Math

Generalizations

More generally, if x is a feasible solution for the primal maximization problem and y is a feasible solution for the dual minimization problem, then weak duality implies f(x)g(y) where f and g are the objective functions for the primal and dual problems respectively.

See also

References

Template:Reflist