Section 35.3 Interpretation of duality in microeconomics
The following example is adapted from Wikipedia article Dual linear program, available under the Creative Commons Attribution-ShareAlike License. Consider a farmer who may grow wheat and barley with the set provision of some L land, F fertilizer and P pesticide. To grow one unit of wheat, one unit of land, F1 units of fertilizer and P1 units of pesticide must be used. Similarly, to grow one unit of barley, one unit of land, F2 units of fertilizer and P2 units of pesticide must be used. The primal problem would be the farmer deciding how much wheat (x1) and barley (x2) to grow if their sell prices are S1 and S2 per unit. The goal is to maximize the total revenue:
S1x1+S2x2→max
subject to constraints:
- x1+x2≤L (cannot use more land than available)
- F1x1+F2x2≤F (cannot use more fertilizer than available)
- P1x1+P2x2≤P (cannot use more pesticide than available)
- x1,x2≥0 (cannot grow negative amounts)
LyL+FyF+PyP→min
subject to constraints:
- yL+F1yF+P1yP≥S1 (the farmer must receive at least S1 for each unit of wheat)
- yL+F2yF+P2yP≥S2 (the farmer must receive at least S2 for each unit of barley)
- yL,yF,yP≥0 (prices cannot be negative)
(LFP)(yLyFyP)
subject to:
(1F1P11F2P2)(yLyFyP)≥(S1S2)
and
(yLyFyP)≥0.
The primal problem deals with physical quantities. With all inputs available in limited quantities, and assuming the unit prices of all outputs is known, what quantities of outputs to produce so as to maximize total revenue? The dual problem deals with economic values. With floor guarantees on all output unit prices, and assuming the available quantity of all inputs is known, what input unit pricing scheme to set so as to minimize total expenditure?
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.