Graduate → Optimization → Linear Programming ↓
Duality in Linear Programming
Linear programming (LP) is a method for achieving the best results in mathematical models whose requirements are represented by linear relationships. It is a technique used for optimization, where you aim to minimize or maximize a linear objective function subject to a set of linear constraints. An essential aspect of linear programming is the concept of duality, which provides deep insight into the behavior of optimization functions.
Fundamentals of dualism
In linear programming, for every optimization problem, there is a corresponding dual problem. If the original problem is called the 'primal problem', its counterpart is known as the 'dual problem'. Duality provides a powerful insight - the optimal solution to one problem can be found by examining the solution to the other.
There are two main results regarding duality in linear programming:
- Weak duality: The value of the objective function of the duality at any feasible solution is always greater than or equal to the value of the objective function of the original at any feasible solution.
- Strong duality: If both a primitive and a duality have optimal solutions, then the optimal value of the objective function of the primitive is equal to that of the duality.
Primal and duality problem
Primary problem
Maximize: c 1 x 1 + c 2 x 2 + ... + c n x n Subject: a 11 x 1 + a 12 x 2 + ... + a 1n x n ≤ b 1 a 21 x 1 + a 22 x 2 + ... + a 2n x n ≤ b 2 , a m1 x 1 + a m2 x 2 + ... + a mn x n ≤ b m x 1 , x 2 , ..., x n ≥ 0
Double problem
Minimize: b 1 y 1 + b 2 y 2 + ... + b m y m Subject: a 11 y 1 + a 21 y 2 + ... + a m1 y m ≥ c 1 a 12 y 1 + a 22 y 2 + ... + a m2 y m ≥ c 2 , a 1n y 1 + a 2n y 2 + ... + a mn y m ≥ c n y 1 , y 2 , ..., y m ≥ 0
Interpretation and economic meaning
In the primary problem, the objective is to determine the maximum benefit (or profit) that can be obtained while satisfying the constraints imposed by resource limitations. Each decision variable represents a possible activity or strategy, and the constraints represent the limits on the resources required for these activities.
The duality problem, on the other hand, seeks the minimum cost necessary to meet or exceed a desired level of total profit. Here, the decision variables can be interpreted as shadow prices - the price of minimising each constraint in the primary optimisation problem. Duality provides a type of equilibrium price system.
Geometrical interpretation
Consider a two-dimensional space for easier visualization. For both primal and dual problems, the solutions lie at the vertices (corners) of their feasible regions. The corresponding primal and dual inequalities define geometric regions, and their intersection can potentially hold the optimal solution for both primal and dual problems.
The principle of complementary lethargy
An integral component connecting the primal and dual formulations is the concept of complementary looseness. It consists of the conditions that must hold if both the primal and its dual have optimal solutions. For each pair of primal and dual constraints, the complementary looseness conditions must be met:
If x j > 0, then the j th duality conditions are strict; If the binary constraint i is relaxed, then the ith fundamental variable is zero.
Thus, if any constraint in the original problem is relaxed, then the corresponding variable in the duality must have zero value at optimality, and vice versa.
Example of dualism
Sample elementary problem
Maximize z = 2x 1 + 3x 2 subject to x 1 + 2x 2 ≤ 10 2x 1 + x 2 ≤ 8 x 1 , x 2 ≥ 0
Compatible dual problem
Minimize w = 10y 1 + 8y 2 subject to y 1 + 2y 2 ≥ 2 2y 1 + y 2 ≥ 3 y 1 , y 2 ≥ 0
Applications and significance
The concept of duality is not just theoretical, but also has important practical implications. It allows us to derive the solution to one problem from the solution of another, potentially simpler problem. Duality is used in a variety of fields such as economics, engineering, military science, and transportation.
For example, in economics, the dual problem gives information about price optimization and resource allocation. Dual solutions indicate what value should be placed on additional resources, providing valuable pricing information to decision makers.
Conclusion
Duality in linear programming bridges the gap between different optimization approaches, allowing for deeper understanding and efficiency in solving complex problems. Whether for academic interest or for practical solutions, it is important to understand the concept of duality to make the most of linear programming techniques.