Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Linear programming
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Complementary slackness == It is possible to obtain an optimal solution to the dual when only an optimal solution to the primal is known using the complementary slackness theorem. The theorem states: Suppose that '''x''' = ('''x'''<sub>1</sub>, '''x'''<sub>2</sub>, ... , '''x'''<sub>''n''</sub>) is primal feasible and that '''y''' = ('''y'''<sub>1</sub>, '''y'''<sub>2</sub>, ... , '''y'''<sub>''m''</sub>) is dual feasible. Let ('''w'''<sub>1</sub>, '''w'''<sub>2</sub>, ..., '''w'''<sub>''m''</sub>) denote the corresponding primal slack variables, and let ('''z'''<sub>1</sub>, '''z'''<sub>2</sub>, ... , '''z'''<sub>''n''</sub>) denote the corresponding dual slack variables. Then '''x''' and '''y''' are optimal for their respective problems if and only if * '''x'''<sub>''j''</sub> '''z'''<sub>''j''</sub> = 0, for ''j'' = 1, 2, ... , ''n'', and * '''w'''<sub>''i''</sub> '''y'''<sub>''i''</sub> = 0, for ''i'' = 1, 2, ... , ''m''. So if the ''i''-th slack variable of the primal is not zero, then the ''i''-th variable of the dual is equal to zero. Likewise, if the ''j''-th slack variable of the dual is not zero, then the ''j''-th variable of the primal is equal to zero. This necessary condition for optimality conveys a fairly simple economic principle. In standard form (when maximizing), if there is slack in a constrained primal resource (i.e., there are "leftovers"), then additional quantities of that resource must have no value. Likewise, if there is slack in the dual (shadow) price non-negativity constraint requirement, i.e., the price is not zero, then there must be scarce supplies (no "leftovers").
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)