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 insecticide. Assume now that 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), S_{1} for wheat and S_{2} for barley. This corresponds to the following linear programming problem:
Minimize: Ly_{L} + Fy_{F} + Py_{P} | (minimize the total cost of the means of production as the "objective function") | |
Subject to: | y_{L} + F_{1}y_{F} + P_{1}y_{P} ≥ S_{1} | (the farmer must receive no less than S_{1} for his wheat) |
y_{L} + F_{2} y_{F} + P_{2}y_{P} ≥ S_{2} | (the farmer must receive no less than S_{2} for his barley) | |
y_{L} ≥ 0, y_{F} ≥ 0, y_{P} ≥ 0 | (prices cannot be negative). |
Which in matrix form becomes:
- Minimize:
- Subject to:
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.
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 complementary slackness.
Read more about this topic: Linear Programming, Duality
Other articles related to "example":
Example may also refer to:
- Example (musician), a British musician
- Example, Florida rock band For Squirrels' sole major-label album, released in 1995
- example.com, example.net, example.org, example.edu and .example, domain names reserved for use in documentation as examples
- HMS Example (P165), an Archer-class patrol and training vessel of the British Royal Navy
- The Example, a 1634 play by James Shirley
- The Example (comics), a 2009 graphic novel by Tom Taylor and Colin Wilson
4 ... Next we have to scale the structures up by increasing m ...
... Then the projection on the first component of a distribution's wave front set is nothing else than its classical singular support, i.e ... the complement of the set on which its restriction would be a smooth function ...
Famous quotes containing the word example:
“Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.”
—Marcel Proust (1871–1922)