- Maximize cTx subject to Ax ≤ b, x ≥ 0;
- with the corresponding symmetric dual problem,
- Minimize bTy subject to ATy ≥ c, y ≥ 0.
- Maximize cTx subject to Ax ≤ b;
- with the corresponding asymmetric dual problem,
- Minimize bTy subject to ATy = c, y ≥ 0.
A linear program can also be unbounded or infeasible. Duality theory tells us that if the primal is unbounded then the dual is infeasible by the weak duality theorem. Likewise, if the dual is unbounded, then the primal must be infeasible. However, it is possible for both the dual and the primal to be infeasible. As an example, consider the linear program:
Maximize: ![]() |
|
| Subject to: | ![]() |
![]() |
|
. |
|
Example
Revisit the above example of the farmer who may grow wheat and barley with the set provision of some L land, F fertilizer and P pesticide. Assume now that y unit prices for each of these means of production (inputs) are set by a planning board. The planning board's job is to minimize the total cost of procuring the set amounts of inputs while providing the farmer with a floor on the unit price of each of his crops (outputs), S1 for wheat and S2 for barley. This corresponds to the following linear programming problem:Minimize: 
(minimize the total cost of the means of production as the "objective function") subject to: 
(the farmer must receive no less than S1 for his wheat) 
(the farmer must receive no less than S2 for his barley) 
(prices cannot be negative).
- Minimize:

- subject to:

To each variable in the primal space corresponds an inequality to satisfy in the dual space, both indexed by output type. To each inequality to satisfy in the primal space corresponds a variable in the dual space, both indexed by input type.
The coefficients that bound the inequalities in the primal space are used to compute the objective in the dual space, input quantities in this example. The coefficients used to compute the objective in the primal space bound the inequalities in the dual space, output unit prices in this example.
Both the primal and the dual problems make use of the same matrix. In the primal space, this matrix expresses the consumption of physical quantities of inputs necessary to produce set quantities of outputs. In the dual space, it expresses the creation of the economic values associated with the outputs from set input unit prices.
Since each inequality can be replaced by an equality and a slack variable, this means each primal variable corresponds to a dual slack variable, and each dual variable corresponds to a primal slack variable. This relation allows us to speak about complementary slackness.
Another example
Sometimes, one may find it more intuitive to obtain the dual program without looking at the program matrix. Consider the following linear program:| Minimize | ![]() |
||
| subject to | ![]() |
, | ![]() |
![]() |
, | ![]() |
|
![]() |
, | ![]() |
|
| Minimize | ![]() |
||
| subject to | ![]() |
, | ![]() |
![]() |
, | ![]() |
|
![]() |
, | ![]() |
|
![]() |
, | ![]() |
|
| Maximize | ![]() |
||
| subject to | ![]() |
, | ![]() |
![]() |
, | ![]() |
|
![]() |
, | ![]() |
|
Covering/packing dualities
- Minimize: bTy,
- subject to: ATy ≥ c, y ≥ 0,
The dual of a covering LP is a packing LP, a linear program of the form:
- Maximize: cTx,
- subject to: Ax ≤ b, x ≥ 0,
Examples
Covering and packing LPs commonly arise as a linear programming relaxation of a combinatorial problem and are important in the study of approximation algorithms.[4] For example, the LP relaxations of the set packing problem, the independent set problem, and the matching problem are packing LPs. The LP relaxations of the set cover problem, the vertex cover problem, and the dominating set problem are also covering LPs.Finding a fractional coloring of a graph is another example of a covering LP. In this case, there is one constraint for each vertex of the graph and one variable for each independent set of the graph



.













No comments:
Post a Comment