Cadenza: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Hyacinth
→‎Further reading: *Lawson, Colin (1999). ''The Historical Performance of Music: An Introduction'', p.75-6. ISBN 9780521627382.
en>Jerome Kohl
unclear that this article is meant to be in American English--reverting to UK treatment of collective noun, pending discussion and consensus
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[File:Linear optimization in a 2-dimensional polytope.svg|thumb|A pictorial representation of a simple linear program with two variables and six inequalities. The set of feasible solutions is depicted in light red and forms a [[polygon]], a 2-dimensional [[polytope]]. The linear cost function is represented by the red line and the arrow: The red line is a [[level set]] of the cost function, and the arrow indicates the direction in which we are optimizing.]]
Irwin Butts is what my spouse loves to contact me although I don't truly like being known as like that. For years I've been operating as a payroll clerk. To gather cash is what her family members and her enjoy. North Dakota is her birth location but she will have to transfer 1 working day or another.<br><br>my webpage; at home std test [[http://uploaderdisney.com/members/katemuil/activity/31185/ simply click the up coming web site]]
[[File:3dpoly.svg|thumb|right|A closed feasible region of a problem with three variables is a convex [[polyhedron]]. The surfaces giving a fixed value of the objective function are [[Plane (geometry)|planes]] (not shown). The linear programming problem is to find a point on the polyhedron that is on the plane with the highest possible value.]]
'''Linear programming''' ('''LP''', or '''linear optimization''') is a method to achieve the best outcome (such as maximum profit or lowest cost) in a [[mathematical model]] whose requirements are represented by linear relationships. Linear programming is a special case of mathematical programming ([[mathematical optimization]]).
 
More formally, linear programming is a technique for the [[mathematical optimization|optimization]] of a [[linear]] [[objective function]], subject to [[linear equality]] and [[linear inequality]] [[Constraint (mathematics)|constraints]]. Its [[feasible region]] is a [[convex polyhedron]], which is a set defined as the [[intersection (mathematics)|intersection]] of finitely many [[Half-space (geometry)|half space]]s, each of which is defined by a linear inequality<!-- ;  alternatively, a convex polytope is the [[Minkowski sum]] of a [[convex polytope]] and a convex [[polyhedral cone]] -->. Its objective function is a [[real number|real]]-valued [[affine function]] defined on this polyhedron. A linear programming [[algorithm]] finds a point in the polyhedron where this function has the smallest (or largest) value if such a point exists.
 
Linear programs are problems that can be expressed in [[canonical form]]:
:<math> \begin{align}
& \text{maximize}  && \mathbf{c}^\mathrm{T} \mathbf{x}\\
& \text{subject to} && A \mathbf{x} \leq \mathbf{b} \\
& \text{and} && \mathbf{x} \ge \mathbf{0}
\end{align} </math>
where '''x''' represents the vector of variables (to be determined), '''c''' and '''b''' are [[vector space|vectors]] of (known) coefficients, ''A'' is a (known) [[Matrix (mathematics)|matrix]] of coefficients, and <math>(\cdot)^\mathrm{T}</math> is the [[matrix transpose]]. The expression to be maximized or minimized is called the ''objective function'' ('''c'''<sup>T</sup>'''x''' in this case). The inequalities ''A'''''x'''&nbsp;≤&nbsp;'''b''' and '''x''' ≥ '''0''' are the constraints which specify a [[convex polytope]] over which the objective function is to be optimized. In this context, two vectors are [[Comparability|comparable]] when they have the same dimensions. If every entry in the first is less-than or equal-to the corresponding entry in the second then we can say the first vector is less-than or equal-to the second vector.
 
Linear programming can be applied to various fields of study. It is used in business and [[economics]], but can also be utilized for some engineering problems. Industries that use linear programming models include transportation, energy, telecommunications, and manufacturing. It has proved useful in modeling diverse types of problems in planning, [[routing]], [[scheduling (production processes)|scheduling]], [[assignment problem|assignment]], and design.
 
==History==
[[File:Leonid Kantorovich 1975.jpg|thumb|[[Leonid Kantorovich]]]]
The problem of solving a system of linear inequalities dates back at least as far as [[Joseph Fourier|Fourier]], after whom the method of [[Fourier–Motzkin elimination]] is named. The linear programming method was first developed by [[Leonid Kantorovich]] in 1939.<ref>See his 1940 paper listed below</ref> [[Leonid Kantorovich]] developed the earliest linear programming problems in 1939 for use during [[World War II]] to plan expenditures and returns in order to reduce costs to the army and increase losses to the enemy. The method was kept secret until 1947 when [[George Dantzig|George B. Dantzig]] published the [[Simplex algorithm|simplex method]] and [[John von Neumann]] developed the theory of [[#Duality|duality]] as a linear optimization solution, and applied it in the field of [[game theory]]. Postwar, many industries found its use in their daily planning.
 
The linear-programming problem was first shown to be solvable in polynomial time by [[Leonid Khachiyan]] in 1979, but a larger theoretical and practical breakthrough in the field came in 1984 when [[Narendra Karmarkar]] introduced a new [[interior-point method]] for solving linear-programming problems.
 
Dantzig's original example was to find the best assignment of 70 people to 70 jobs. The computing power required to test all the permutations to select the best assignment is vast; the number of possible configurations exceeds the number of particles in the observable universe. However, it takes only a moment to find the optimum solution by posing the problem as a linear program and applying the [[simplex algorithm]]. The theory behind linear programming drastically reduces the number of possible optimal solutions that must be checked.
 
==Uses==
Linear programming is a considerable field of optimization for several reasons. Many practical problems in [[operations research]] can be expressed as linear programming problems. Certain special cases of linear programming, such as ''network flow'' problems and ''multicommodity flow'' problems are considered important enough to have generated much research on specialized algorithms for their solution. A number of algorithms for other types of optimization problems work by solving LP problems as sub-problems. Historically, ideas from linear programming have inspired many of the central concepts of optimization theory, such as ''duality,'' ''decomposition,'' and the importance of ''convexity'' and its generalizations. Likewise, linear programming is heavily used in [[microeconomics]] and company management, such as planning, production, transportation, technology and other issues. Although the modern management issues are ever-changing, most companies would like to maximize profits or minimize costs with limited resources. Therefore, many issues can be characterized as linear programming problems.
 
==Standard form==
''Standard form'' is the usual and most intuitive form of describing a linear programming problem. It consists of the following three parts:
* A '''linear function to be maximized'''
: e.g. <math> f(x_{1},x_{2}) = c_1 x_1 + c_2 x_2</math>
* '''Problem constraints''' of the following form
: e.g.
:: <math>\begin{matrix}
  a_{11} x_1 + a_{12} x_2 &\leq b_1 \\
  a_{21} x_1 + a_{22} x_2 &\leq b_2 \\
  a_{31} x_1 + a_{32} x_2 &\leq b_3 \\
\end{matrix}</math>
 
* '''Non-negative variables'''
: e.g.
:: <math>\begin{matrix}
x_1 \geq 0 \\
x_2 \geq 0
\end{matrix}</math>
 
The problem is usually expressed in ''[[Matrix (mathematics)|matrix]] form'', and then becomes:
: <math>\max \{ c^\mathrm{T} x \;|\; A x \leq b \and x \geq 0 \}</math>
 
Other forms, such as minimization problems, problems with constraints on alternative forms, as well as problems involving negative [[variable (programming)|variable]]s can always be rewritten into an equivalent problem in standard form.
 
===Example===
Suppose that a farmer has a piece of farm land, say ''L'' km<sup>2</sup>, to be planted with either wheat or barley or some combination of the two. The farmer has a limited amount of fertilizer, ''F'' kilograms, and insecticide, ''P'' kilograms. Every square kilometer of wheat requires ''F''<sub>1</sub> kilograms of fertilizer, and ''P''<sub>1</sub> kilograms of insecticide, while every square kilometer of barley requires ''F''<sub>2</sub> kilograms of fertilizer, and ''P''<sub>2</sub> kilograms of insecticide. Let S<sub>1</sub> be the selling price of wheat per square kilometer, and S<sub>2</sub> be the selling price of barley. If we denote the area of land planted with wheat and barley by ''x''<sub>1</sub> and ''x''<sub>2</sub> respectively, then profit can be maximized by choosing optimal values for ''x''<sub>1</sub> and ''x''<sub>2</sub>. This problem can be expressed with the following linear programming problem in the standard form:
{|
|-
| colspan="2" | Maximize: <math>S_1\cdot x_1+S_2\cdot x_2</math>
| (maximize the revenue—revenue is the "objective function")
|-
| Subject to:
| <math>x_1 + x_2\leq L</math>
| (limit on total area)
|-
|
| <math>F_1\cdot x_1+F_2\cdot x_2\leq F</math>
| (limit on fertilizer)
|-
|
| <math>P_1\cdot x_1 + P_2\cdot x_2\leq P</math>
| (limit on insecticide)
|-
|
| <math>x_1\geq 0, x_2\geq 0</math>
| (cannot plant a negative area).
|}
 
Which in matrix form becomes:
: maximize <math>\begin{bmatrix} S_1 & S_2 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} </math>
: subject to <math>\begin{bmatrix} 1 & 1 \\ F_1 & F_2 \\ P_1 & P_2 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} \le \begin{bmatrix} L \\ F \\ P \end{bmatrix}, \, \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} \ge \begin{bmatrix} 0 \\ 0 \end{bmatrix}. </math>
 
==Augmented form (slack form)==
Linear programming problems must be converted into ''augmented form'' before being solved by the [[simplex algorithm]]. This form introduces non-negative ''[[slack variable]]s'' to replace inequalities with equalities in the constraints. The problems can then be written in the following [[block matrix]] form:
: Maximize ''Z'':
: <math>
  \begin{bmatrix}
    1 & -\mathbf{c}^T & 0 \\
    0 & \mathbf{A} & \mathbf{I}
  \end{bmatrix}
  \begin{bmatrix}
    Z \\ \mathbf{x} \\ \mathbf{x}_s
  \end{bmatrix} =
  \begin{bmatrix}
    0 \\ \mathbf{b}
  \end{bmatrix}
</math>
: <big>'''x''', '''x'''<sub>s</sub> &ge; 0</big>
where '''x'''<sub>s</sub> are the newly introduced slack variables, and ''Z'' is the variable to be maximized.
 
===Example===
The example above is converted into the following augmented form:
{| ''z''= 10''x''+8''y''
|-
| colspan="2" | Maximize: <math>S_1\cdot x_1+S_2\cdot x_2</math>
| (objective function)
|- ''Z''=10''x'' + 8''y''
| Subject to:
| <math>x_1 + x_2 + x_3 = L</math>
| (augmented constraint)
|- 7''x'' + ''y'' ≤ 630
|
| <math>F_1\cdot x_1+F_2\cdot x_2 + x_4 = F</math>
| (augmented constraint)
|- 2''x'' + 5''y'' ≤ 600
|
| <math>P_1\cdot x_1 + P_2\cdot x_2 + x_5 = P</math>
| (augmented constraint)
|- ''x'' + 2''y'' ≥ 708
|
| <math>x_1,x_2,x_3,x_4,x_5 \ge 0</math>.
|}
where <math>x_3, x_4, x_5</math> are (non-negative) slack variables, representing in this example the unused area, the amount of unused fertilizer, and the amount of unused insecticide.
 
In matrix form this becomes:
: Maximize ''Z'':
: <math>
  \begin{bmatrix}
    1 & -S_1 & -S_2 & 0 & 0 & 0 \\
    0 &  1    &  1    & 1 & 0 & 0 \\
    0 &  F_1  &  F_2  & 0 & 1 & 0 \\
    0 &  P_1    & P_2 & 0 & 0 & 1 \\
  \end{bmatrix}
  \begin{bmatrix}
    Z \\ x_1 \\ x_2 \\ x_3 \\ x_4 \\ x_5
  \end{bmatrix} =
  \begin{bmatrix}
    0 \\ L \\ F \\ P
  \end{bmatrix}, \,
  \begin{bmatrix}
    x_1 \\ x_2 \\ x_3 \\ x_4 \\ x_5
  \end{bmatrix} \ge 0.
</math>
 
==Duality==
{{Main|Duality (optimization)}}
Every linear programming problem, referred to as a ''primal'' problem, can be converted into a [[dual problem]], which provides an upper bound to the optimal value of the primal problem. In matrix form, we can express the ''primal'' problem as:
 
: Maximize '''c'''<sup>T</sup>'''x'''  subject to ''A'''''x''' &le; '''b''', '''x''' &ge; 0;
:: with the corresponding '''symmetric''' dual problem,
: Minimize  '''b'''<sup>T</sup>'''y'''  subject to ''A''<sup>T</sup>'''y''' &ge; '''c''', '''y''' &ge; 0.
 
An alternative primal formulation is:
 
: Maximize '''c'''<sup>T</sup>'''x''' subject to ''A'''''x''' &le; '''b''';
:: with the corresponding '''asymmetric''' dual problem,
: Minimize  '''b'''<sup>T</sup>'''y''' subject to ''A''<sup>T</sup>'''y''' = '''c''', '''y''' &ge; 0.
 
There are two ideas fundamental to duality theory. One is the fact that (for the symmetric dual) the dual of a dual linear program is the original primal linear program. Additionally, every feasible solution for a linear program gives a bound on the optimal value of the objective function of its dual.  The [[weak duality]] theorem states that the objective function value of the dual at any feasible solution is always greater than or equal to the objective function value of the primal at any feasible solution. The [[strong duality]] theorem states that if the primal has an optimal solution, '''x'''<sup>*</sup>, then the dual also has an optimal solution, '''y'''<sup>*</sup>, and '''c'''<sup>T</sup>'''x'''<sup>*</sup>='''b'''<sup>T</sup>'''y'''<sup>*</sup>.
 
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:
 
{|
|-
| colspan="2" | Maximize: <math>2x_1 -x_2</math>
|-
| Subject to:
| <math>x_1 -x_2 \le 1</math>
|-
|
| <math>-x_1 +x_2 \le -2</math>
|-
|
| <math>x_1, x_2 \geq 0</math>.
|}
 
===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 ''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), ''S''<sub>1</sub> for wheat and ''S''<sub>2</sub> for barley. This corresponds to the following linear programming problem:
 
{|
|-
| colspan="2" | Minimize: <math>L\cdot y_L + F\cdot y_F + P\cdot y_P</math>
| (minimize the total cost of the means of production as the "objective function")
|-
| Subject to:
| <math>y_L+F_1\cdot y_F+P_1\cdot y_P\geq S_1</math>
| (the farmer must receive no less than ''S''<sub>1</sub> for his wheat)
|-
|
| <math>y_L+F_2\cdot y_F+P_2\cdot y_P\geq S_2</math>
| (the farmer must receive no less than ''S''<sub>2</sub> for his barley)
|-
|
| <math>y_L, y_F, y_P\geq 0</math>
| (prices cannot be negative).
|}
 
Which in matrix form becomes:
: Minimize: <math>\begin{bmatrix} L & F & P \end{bmatrix} \begin{bmatrix} y_L \\ y_F \\ y_P \end{bmatrix} </math>
: Subject to: <math>\begin{bmatrix} 1 & F_1 & P_1 \\ 1 & F_2 & P_2 \end{bmatrix} \begin{bmatrix} y_L \\ y_F \\ y_P \end{bmatrix} \ge \begin{bmatrix} S_1 \\ S_2 \end{bmatrix}, \, \begin{bmatrix} y_L \\ y_F \\ y_P \end{bmatrix} \ge 0. </math>
 
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 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:
{| cellspacing="10"
|-
| minimize
| colspan="2" | <math> \sum_{i=1}^m{c_i x_i} + \sum_{j=1}^n{d_j t_j} </math>
|-
| subject to
| <math> \sum_{i=1}^m{a_{ij} x_i} + e_j t_j \ge g_j</math>
|,
| <math> 1 \le j \le n </math>
|-
|
| <math> f_i x_i + \sum_{j=1}^n{b_{ij} t_j} \ge h_i</math>
|,
| <math> 1 \le i \le m </math>
|-
|
| <math> x_i \ge 0,\, t_j \ge 0 </math>
|,
| <math> 1 \le i \le m, 1 \le j \le n </math>
|}
 
We have ''m''&nbsp;+&nbsp;''n'' conditions and all variables are non-negative. We shall define ''m''&nbsp;+&nbsp;''n'' dual variables: '''y'''<sub>j</sub> and '''s'''<sub>i</sub>. We get:
{| cellspacing="10"
|-
| minimize
| colspan="2" | <math> \sum_{i=1}^m{c_i x_i} + \sum_{j=1}^n{d_j t_j} </math>
|-
| subject to
| <math> \sum_{i=1}^m{a_{ij} x_i} \cdot y_j + e_j t_j \cdot y_j \ge g_j \cdot y_j </math>
|,
| <math> 1 \le j \le n </math>
|-
|
| <math> f_i x_i \cdot s_i + \sum_{j=1}^n{b_{ij} t_j} \cdot s_i \ge h_i \cdot s_i</math>
|,
| <math> 1 \le i \le m </math>
|-
|
| <math> x_i \ge 0,\, t_j \ge 0 </math>
|,
| <math> 1 \le i \le m, 1 \le j \le n </math>
|-
|
| <math> y_j \ge 0,\, s_i \ge 0 </math>
|,
| <math> 1 \le j \le n, 1 \le i \le m </math>
|}
 
Since this is a minimization problem, we would like to obtain a dual program that is a lower bound of the primal. In other words, we would like the sum of all right hand side of the constraints to be the maximal under the condition that for each primal variable the sum of its [[coefficient]]s do not exceed its coefficient in the linear function. For example, '''x'''<sub>1</sub> appears in ''n''&nbsp;+&nbsp;1 constraints. If we sum its constraints' coefficients we get ''a''<sub>1,1</sub>'''y'''<sub>1</sub>&nbsp;+&nbsp;''a''<sub>1,2</sub>'''y'''<sub>2</sub>&nbsp;+&nbsp;...&nbsp;+&nbsp;''a''<sub>1,n</sub>'''y'''<sub>''n''</sub>&nbsp;+&nbsp;''f''<sub>1</sub>'''s'''<sub>1</sub>. This sum must be at most '''c'''<sub>1</sub>. As a result we get:
 
{| cellspacing="10"
|-
| maximize
| colspan="2" | <math> \sum_{j=1}^n{g_j y_j} + \sum_{i=1}^m{h_i s_i} </math>
|-
| subject to
| <math> \sum_{j=1}^n{a_{ij} y_j} + f_i s_i \le c_i</math>
|,
| <math> 1 \le i \le m </math>
|-
|
| <math> e_j y_j + \sum_{i=1}^m{b_{ij} s_i} \le d_j</math>
|,
| <math> 1 \le j \le n </math>
|-
|
| <math> y_j \ge 0,\, s_i \ge 0 </math>
|,
| <math> 1 \le j \le n, 1 \le i \le m </math>
|}
 
Note that we assume in our calculations steps that the program is in standard form. However, any linear program may be transformed to standard form and it is therefore not a limiting factor.
 
==Covering-packing dualities==<!--This section is linked from [[Template:Covering-Packing Problem Pairs]]-->
{{Covering-Packing Problem Pairs}}
A [[Covering problem|covering LP]] is a linear program of the form:
: Minimize:  <big>'''b'''<sup>T</sup>'''y'''</big>,
: Subject to: <big>''A''<sup>T</sup>'''y''' &ge; '''c''', '''y''' &ge; 0</big>,
such that the matrix ''A'' and the vectors '''b''' and '''c''' are non-negative.
 
The dual of a covering LP is a [[Packing problem|packing LP]], a linear program of the form:
: Maximize: <big>'''c'''<sup>T</sup>'''x'''</big>,
: Subject to: <big>''A'''''x''' &le; '''b''', '''x''' &ge; 0</big>,
such that the matrix ''A'' and the vectors '''b''' and '''c''' are non-negative.
 
===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]].<ref>{{harvtxt|Vazirani|2001|p=112}}</ref> For example, the LP relaxations of the [[set packing|set packing problem]], the [[independent set problem]], and the [[Matching (graph theory)|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 (mathematics)|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 (graph theory)|independent set]] of the graph.
 
==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'''&nbsp;=&nbsp;('''x'''<sub>1</sub>,&nbsp;'''x'''<sub>2</sub>,&nbsp;...&nbsp;,&nbsp;'''x'''<sub>''n''</sub>) is primal feasible and that '''y'''&nbsp;=&nbsp;('''y'''<sub>1</sub>,&nbsp;'''y'''<sub>2</sub>,&nbsp;...&nbsp;,&nbsp;'''y'''<sub>''m''</sub>) is dual feasible. Let ('''w'''<sub>1</sub>,&nbsp;'''w'''<sub>2</sub>,&nbsp;...,&nbsp;'''w'''<sub>''m''</sub>) denote the corresponding primal slack variables, and let ('''z'''<sub>1</sub>,&nbsp;'''z'''<sub>2</sub>,&nbsp;...&nbsp;,&nbsp;'''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>&nbsp;=&nbsp;0, for ''j''&nbsp;=&nbsp;1,&nbsp;2,&nbsp;...&nbsp;,&nbsp;''n'', and
* '''w'''<sub>''i''</sub> '''y'''<sub>''i''</sub>&nbsp;=&nbsp;0, for ''i''&nbsp;=&nbsp;1,&nbsp;2,&nbsp;...&nbsp;,&nbsp;''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").
 
==Theory==
 
===Existence of optimal solutions===
Geometrically, the linear constraints define the [[feasible region]], which is a [[convex set|convex]] [[polyhedron]]. A [[linear functional|linear function]] is a [[convex function]], which implies that every [[local minimum]] is a [[global minimum]]; similarly, a linear function is a [[concave function]], which implies that every [[local maximum]] is a [[global maximum]].
 
An optimal solution need not exist, for two reasons. First, if two constraints are inconsistent, then no feasible solution exists: For instance, the constraints '''x'''&nbsp;≥&nbsp;2 and '''x'''&nbsp;≤&nbsp;1 cannot be satisfied jointly; in this case, we say that the LP is ''infeasible''. Second, when the [[polytope]] is unbounded in the direction of the gradient of the objective function (where the gradient of the objective function is the vector of the coefficients of the objective function), then no optimal value is attained.
 
===Optimal vertices (and rays) of polyhedra===
Otherwise, if a feasible solution exists and if the (linear) objective function is bounded, then the optimum value is always attained on the boundary of optimal level-set, by the ''[[maximum principle]]'' for ''[[convex function]]s'' (alternatively, by the ''minimum'' principle for ''[[concave function]]s''): Recall that linear functions are both convex and concave. However, some problems have distinct optimal solutions: For example, the problem of finding a feasible solution to a system of linear inequalities is a linear programming problem in which the objective function is the zero function (that is, the constant function taking the value zero everywhere): For this feasibility problem with the zero-function for its objective-function, if there are two distinct solutions, then every convex combination of the solutions is a solution.
 
The vertices of the polytope are also called ''basic feasible solutions''. The reason for this choice of name is as follows. Let ''d'' denote the number of variables. Then the fundamental theorem of linear inequalities implies (for feasible problems) that for every vertex '''x'''<sup>*</sup> of the LP feasible region, there exists a set of ''d'' (or fewer) inequality constraints from the LP such that, when we treat those ''d'' constraints as equalities, the unique solution is '''x'''<sup>*</sub>. Thereby we can study these vertices by means of looking at certain subsets of the set of all constraints (a discrete set), rather than the continuum of LP solutions. This principle underlies the [[simplex algorithm]] for solving linear programs.
 
==Algorithms==
{{See also|List of numerical analysis topics#Linear programming}}
 
[[File:Linear Programming Feasible Region.svg|frame|In a linear programming problem, a series of linear constraints produces a [[Convex set|convex]] [[feasible region]] of possible values for those variables. In the two-variable case this region is in the shape of a convex [[simple polygon]].]]
 
===Basis exchange algorithms===
 
====Simplex algorithm of Dantzig====
 
The [[simplex algorithm]], developed by [[George Dantzig]] in 1947, solves LP problems by constructing a feasible solution at a vertex of the [[polytope]] and then walking along a path on the edges of the polytope to vertices with non-decreasing values of the objective function until an optimum is reached for sure. In many practical problems, "[[Simplex algorithm#Degeneracy: Stalling and cycling|stalling]]" occurs: Many pivots are made with no increase in the objective function.<ref name="DT03">{{harvtxt|Dantzig|Thapa|2003}}</ref><ref name="Padberg">{{harvtxt|Padberg|1999}}</ref> In rare practical problems, the usual versions of the simplex algorithm may actually "cycle".<ref name="Padberg"/> To avoid cycles, researchers developed new pivoting rules.<ref name="Bland" >{{harvtxt|Bland|1977}}</ref><ref name="Murty">{{harvtxt|Murty|1983}}</ref><ref name=" DT03"/><ref name=" Padberg"/><ref name="PS">{{harvtxt|Papadimitriou|Steiglitz|}}</ref><ref name="FukudaTerlaky"/>
 
In practice, the simplex [[algorithm]] is quite efficient and can be guaranteed to find the global optimum if certain precautions against ''cycling'' are taken. The simplex algorithm has been proved to solve "random" problems efficiently, i.e. in a cubic number of steps,<ref>{{harvtxt|Borgwardt|1987}}</ref> which is similar to its behavior on practical problems.<ref name="DT03"/><ref name="Todd">{{harvtxt|Todd|2002}}</ref>
 
However, the simplex algorithm has poor worst-case behavior: Klee and Minty constructed a family of linear programming problems for which the simplex method takes a number of steps exponential in the problem size.<ref name="DT03"/><ref name="Murty"/><ref name="PS "/> In fact, for some time it was not known whether the linear programming problem was solvable in [[polynomial time]], i.e. of [[P (complexity)|complexity class P]].
 
====Criss-cross algorithm====
Like the simplex algorithm of Dantzig, the [[criss-cross algorithm]] is a basis-exchange algorithm that pivots between bases. However, the criss-cross algorithm need not maintain feasibility, but can pivot rather from a feasible basis to an infeasible basis. The criss-cross algorithm does not have [[time complexity|polynomial time-complexity]] for linear programming. Both algorithms visit all&nbsp;2<sup>''D''</sup>&nbsp;corners of a (perturbed) [[unit cube|cube]] in dimension&nbsp;''D'', the [[Klee–Minty cube]], in the [[worst-case complexity|worst case]].<ref name="FukudaTerlaky">{{harvtxt|Fukuda|Terlaky|1997}}: {{cite journal|first1=Komei|last1=Fukuda|first2=Tamás|last2=Terlaky|title=Criss-cross methods: A fresh view on pivot algorithms |journal=Mathematical Programming: Series&nbsp;B|volume=79|number=1—3|pages=369–395|editors=Thomas&nbsp;M. Liebling and Dominique de&nbsp;Werra|publisher=North-Holland Publishing&nbsp;Co. |location=Amsterdam|year=1997|doi=10.1007/BF02614325|mr=1464775}}</ref><ref name="Roos" >{{harvtxt|Roos|1990}}: {{cite journal|last=Roos|first=C.|title=An exponential example for Terlaky's pivoting rule for the criss-cross simplex method|journal=Mathematical Programming|volume=46|year=1990|series=Series&nbsp;A|doi=10.1007/BF01585729|mr=1045573|ref=harv|issue=1|pages=79–84}}</ref>
 
====Conic sampling algorithm of Serang====
Like other basis-exchange algorithms, Serang's conic sampling algorithm moves between vertices; but where the simplex algorithm moves along edges by removing and adding one basis at a time, the conic sampling method exchanges multiple bases at a time, and is not restricted to moving along edges of the polytope.<ref name="Serang" >{{harvtxt|Serang|2012}}: {{cite journal|last=Serang|first=O.|title=Conic Sampling: An Efficient Method for Solving Linear and Quadratic Programming by Randomly Linking Constraints within the Interior|journal=PLOS ONE|volume=7|year=2012|doi=10.1371/journal.pone.0043706|ref=harv|issue=8|pages=e43706}}</ref> Starting at a current vertex, the conic sampling method chooses a random vector that improves the objective value without violating any adjacent constraints. The algorithm then travels along this vector until a limiting constraint is encountered. From this point, the algorithm projects the objective vector orthogonal to this limiting constraint, and moves along this orthogonal projection until a new constraint is reached. This advancement and projection is repeated until a vertex is reached. Then, a new random vector is chosen. This process is repeated until no vector exists that can improve the objective without violating any local constraints, implying optimality. Essentially, the conic sampling method can be thought of as a vertex sampling method that randomly samples from the collection of vertices with improved objective value. If the vertices with superior objective value are sampled in a roughly uniform manner, then the expected runtime is logarithmic in the number of vertices (and thus polynomial). Sampling the vertices in this manner can permit large, beneficial jumps through the interior, and yield a substantial runtime improvement over the simplex method, especially when the number of constraints, and thus the number of potential vertices, is large; however, the tightest existing upper bound on the worst-case complexity of the conic sampling method is still exponential.
 
===Interior point===
 
====Ellipsoid algorithm, following Khachiyan====
This is the first [[worst-case_complexity|worst-case]] [[polynomial-time]] algorithm for linear programming.  To solve a problem which has ''n'' variables and can be encoded in ''L'' input bits, this algorithm uses ''O(n<sup>4</sup>L)'' pseudo-arithmetic operations on numbers with ''O(L)'' digits. Khachiyan's [[algorithm]] and his long standing issue was resolved by [[Leonid Khachiyan]] in 1979 with the introduction of the [[ellipsoid method]]. The convergence analysis have (real-number) predecessors, notably the [[iterative method]]s developed by [[Naum Z. Shor]] and the [[approximation algorithm]]s by Arkadi Nemirovski and D. Yudin.
 
====Projective algorithm of Karmarkar====
Khachiyan's algorithm was of landmark importance for establishing the polynomial-time solvability of linear programs.  The algorithm was not a computational break-through, as the simplex method is more efficient for all but specially constructed families of linear programs.
 
However, Khachiyan's algorithm inspired new lines of research in linear programming. In 1984, [[Narendra Karmarkar|N. Karmarkar]] proposed a<!-- n interior-point --> [[projective method]] for linear programming.  [[Karmarkar's algorithm]] improved on Khachiyan's worst-case polynomial bound (giving <math>O(n^{3.5}L)</math>). Karmarkar claimed that his algorithm was much faster in practical LP than the simplex method, a claim that created great interest in interior-point methods.<ref name="Strang">{{cite journal|last=Strang|first=Gilbert|authorlink=Gilbert Strang|title=Karmarkar's algorithm and its place in applied mathematics|journal=[[The Mathematical Intelligencer]]|date=1 June 1987|publisher=Springer|location=New York|issn=0343-6993|pages=4–10|volume=9|doi=10.1007/BF03025891|mr='''883185'''|ref=harv|issue=2}}</ref>
 
====Path-following algorithms====
In contrast to the simplex algorithm, which finds an optimal solution by traversing the edges between vertices on a polyhedral set, interior-point methods move through the interior of the feasible region. Since then, many interior-point methods have been proposed and analyzed.  Early successful implementations were based on ''affine scaling'' variants of the method. For both theoretical and practical purposes, [[barrier function]] or [[path-following]] methods have been the most popular since the 1990s.<ref name="GondzioTerlaky" >{{harvtxt|Gondzio|Terlaky|1996}}</ref>
 
===Comparison of interior-point methods versus simplex algorithms===
 
The current opinion is that the efficiency of good implementations of simplex-based methods and interior point methods are similar for routine applications of linear programming.<ref name="GondzioTerlaky"/>  However, for specific types of LP problems, it may be that one type of solver is better than another (sometimes much better).
 
LP solvers are in widespread use for optimization of various problems in industry, such as optimization of flow in transportation networks.<ref>For solving network-flow problems in transportation networks, specialized implementations of the simplex algorithm can dramatically improve its efficiency. {{harvtxt|Dantzig|Thapa|2003}}</ref>
 
==Open problems and recent work==
{{unsolved|computer science|Does linear programming admit a strongly polynomial-time algorithm?}}
There are several open problems in the theory of linear programming, the solution of which would represent fundamental breakthroughs in mathematics and potentially major advances in our ability to solve large-scale linear programs.
* Does LP admit a [[Time complexity#Strongly and weakly polynomial time|strongly polynomial]]-time algorithm?
* Does LP admit a strongly polynomial algorithm to find a strictly complementary solution?
* Does LP admit a polynomial algorithm in the real number (unit cost) model of computation?
 
This closely related set of problems has been cited by [[Stephen Smale]] as among the [[Smale's problems|18 greatest unsolved problems]] of the 21st century.  In Smale's words, the third version of the problem "is the main unsolved problem of linear programming theory."  While algorithms exist to solve linear programming in weakly polynomial time, such as the [[ellipsoid method]]s and [[interior point method|interior-point techniques]], no algorithms have yet been found that allow strongly polynomial-time performance in the number of constraints and the number of variables.  The development of such algorithms would be of great theoretical interest, and perhaps allow practical gains in solving large LPs as well.
 
Although the [[Hirsch conjecture]] was recently disproved for higher dimensions, it still leaves the following questions open.
 
* Are there pivot rules which lead to polynomial-time Simplex variants?
* Do all polytopal graphs have polynomially bounded diameter?
 
These questions relate to the performance analysis and development of Simplex-like methods.  The immense efficiency of the Simplex algorithm in practice despite its exponential-time theoretical performance hints that there may be variations of Simplex that run in polynomial or even strongly polynomial time.  It would be of great practical and theoretical significance to know whether any such variants exist, particularly as an approach to deciding if LP can be solved in strongly polynomial time.
 
The Simplex algorithm and its variants fall in the family of edge-following algorithms, so named because they solve linear programming problems by moving from vertex to vertex along edges of a polytope.  This means that their theoretical performance is limited by the maximum number of edges between any two vertices on the LP polytope.  As a result, we are interested in knowing the maximum [[Graph diameter|graph-theoretical diameter]] of polytopal [[Graph (mathematics)|graphs]].  It has been proved that all polytopes have subexponential diameter. The recent disproof of the Hirsch conjecture is the first step to prove whether any polytope has superpolynomial diameter. If any such polytopes exist, then no edge-following variant can run in polynomial time. Questions about polytope diameter are of independent mathematical interest.
 
Simplex pivot methods preserve primal (or dual) feasibility.  On the other hand, criss-cross pivot methods do not preserve (primal or dual) feasibility—they may visit primal feasible, dual feasible or primal-and-dual infeasible bases in any order.  Pivot methods of this type have been studied since the 1970s.  Essentially, these methods attempt to find the shortest pivot path on the [[arrangement polytope]] under the linear programming problem.  In contrast to polytopal graphs, graphs of arrangement polytopes are known to have small diameter, allowing the possibility of strongly polynomial-time criss-cross pivot algorithm without resolving questions about the diameter of general polytopes.<ref name="FukudaTerlaky"/>
 
==Integer unknowns==
 
If all of the unknown variables are required to be integers, then the problem is called an [[integer programming]] (IP) or '''integer linear programming''' (ILP) problem.  In contrast to linear programming, which can be solved efficiently in the worst case, integer programming problems are in many practical situations (those with bounded variables) [[NP-hard]]. '''0-1 integer programming''' or '''binary integer programming''' (BIP) is the special case of integer programming where variables are required to be 0 or 1 (rather than arbitrary integers). This problem is also classified as NP-hard, and in fact the decision version was one of [[Karp's 21 NP-complete problems]].
 
If only some of the unknown variables are required to be integers, then the problem is called a '''mixed integer programming''' (MIP) problem.  These are generally also NP-hard because they are even more general than ILP programs.
 
There are however some important subclasses of IP and MIP problems that are efficiently solvable, most notably problems where the constraint matrix is [[totally unimodular]] and the right-hand sides of the constraints are integers or - more general - where the system has the [[total dual integrality]] (TDI) property.
 
Advanced algorithms for solving integer linear programs include:
* [[cutting-plane method]]
* [[branch and bound]]
* [[branch and cut]]
* [[branch and price]]
* if the problem has some extra structure, it may be possible to apply [[delayed column generation]].
Such integer-programming algorithms are discussed by Padberg and in Beasley.
 
==Integral linear programs==
 
A linear program in real variables is said to be '''integral''' if it has at least one optimal solution which is integral. Likewise, a polyhedron <math>P = \{x \mid Ax \ge 0\}</math> is said to be '''integral''' if for all bounded feasible objective functions ''c'', the linear program <math>\{\max cx \mid x \in P\}</math> has an optimum <math>x^*</math> with integer coordinates. As observed by Edmonds and Giles in 1977, one can equivalently say that the polyhedron <math>P</math> is integral if for every bounded feasible integral objective function ''c'', the optimal ''value'' of the linear program <math>\{\max cx \mid x \in P\}</math> is an integer.
 
Integral linear programs are of central importance in the polyhedral aspect of [[combinatorial optimization]] since they provide an alternate characterization of a problem. Specifically, for any problem, the convex hull of the solutions is an integral polyhedron; if this polyhedron has a nice/compact description, then we can efficiently find the optimal feasible solution under any linear objective. Conversely, if we can prove that a [[linear programming relaxation]] is integral, then it is the desired description of the convex hull of feasible (integral) solutions.
 
Note that terminology is not consistent throughout the literature, so one should be careful to distinguish the following two concepts,
* in an ''integer linear program,'' described in the previous section, variables are forcibly constrained to be integers, and this problem is NP-hard in general,
* in an ''integral linear program,'' described in this section, variables are not constrained to be integers but rather one has proven somehow that the continuous problem always has an integral optimal value (assuming ''c'' is integral), and this optimal value may be found efficiently since all polynomial-size linear programs can be solved in polynomial time.
 
One common way of proving that a polyhedron is integral is to show that it is [[Totally unimodular matrix|totally unimodular]]. There are other general methods including the [[integer decomposition property]] and [[total dual integrality]]. Other specific well-known integral LPs include the matching polytope, lattice polyhedra, [[submodular]] flow polyhedra, and the intersection of 2 generalized polymatroids/''g''-polymatroids --- e.g. see Schrijver 2003.
 
A bounded integral polyhedron is sometimes called a [[convex lattice polytope]], particularly in two dimensions.
 
==Solvers and scripting (programming) languages==
 
'''Free open-source [[Permissive free software licence|permissive]] licenses:'''
{| class="wikitable"
|-
!Name
!License
!Brief info
|-
|JOptimizer||[[Apache License]]|| Java library for convex optimization (open source)
|-
|[[OpenOpt]]||[[BSD licenses|BSD]]||Universal cross-platform numerical optimization framework,<br> see its [http://openopt.org/LP LP] page and [http://openopt.org/Problems other problems] involved
|-
| [[Coopr]]||[[BSD licenses|BSD]]||An open-source modeling language for large-scale linear, mixed integer and nonlinear optimization
|}
 
'''Free open-source [[Copyleft| copyleft (reciprocal)]] licenses:'''
{| class="wikitable"
|-
!Name
!License
!Brief info
|-
|[[Cassowary constraint solver]]||LGPL||an incremental constraint solving toolkit that efficiently solves systems of linear equalities and inequalities
|-
|[[COIN-OR CLP|CLP]]||CPL|| an LP solver from COIN-OR
|-
|[[GNU Linear Programming Kit|glpk]]||GPL|| GNU Linear Programming Kit, an LP/MILP solver with a native C [[API]] and numerous (15) third-party wrappers for other languages.  Specialist support for [[flow network]]s.  Bundles the [[AMPL]]-like [[GNU MathProg]] modelling language and translator.
|-
|[[LpSolve]]||LGPL|| lp_solve is a free (see LGPL for the GNU lesser general public license) linear (integer) programming solver based on the revised simplex method and the Branch-and-bound method for the integers. LpSolve has an IDE, a native C [[API]], and many external language interfaces, for [[Java (programming language)|JAVA]], [[AMPL]], [[MATLAB]], [[O-Matrix]], [[Sysquake]], [[Scilab]], [[Octave]], [[FreeMat]], [[Euler]], [[Python (programming language)|Python]], [[Sage (mathematics software)|Sage]], [[PHP]], [[R]] and the [[Microsoft Solver Foundation]].
|-
|[[Qoca]]||GPL||a library for incrementally solving systems of linear equations with various goal functions
|-
|[[R-Project]]||GPL||a programming language and software environment for statistical computing and graphics
|}
 
[[MINTO]] (Mixed Integer Optimizer, an [[integer programming]] solver which uses branch and bound algorithm) has publicly available source code<ref>http://coral.ie.lehigh.edu/~minto/download.html</ref> but is not open source.
 
'''[[Proprietary software|Proprietary:]]'''
{| class="wikitable"
|-
!Name
!Brief info
|-
|[[AIMMS]]||
|-
|[[AMPL]]|| A popular modeling language for large-scale linear, mixed integer and nonlinear optimisation with a free student limited version available (500 variables and 500 constraints).
|-
|[[APMonitor]]|| API to MATLAB and Python. Solve example [http://apmonitor.com/me575/index.php/Main/LinearProgramming Linear Programming (LP) problems] through MATLAB, Python, or a web-interface.
|-
|[[CPLEX]]|| Popular solver with an API for several programming languages, and also has a modelling language and works with AIMMS, AMPL, [[General Algebraic Modeling System|GAMS]], MPL, OpenOpt, OPL Development Studio, and [[TOMLAB]]. Free for academic use.
|-
|[[Microsoft Excel|Excel]] Solver Function||
|-
|[[FortMP]]||
|-
|[[General Algebraic Modeling System|GAMS]]||
|-
|[[Gurobi]]|| Solver with parallel algorithms for large-scale linear programs, quadratic programs and mixed-integer programs. Free for academic use.
|-
|[[IMSL Numerical Libraries]]|| Collections of math and statistical algorithms available in C/C++, Fortran, Java and C#/.NET. Optimization routines in the IMSL Libraries include unconstrained, linearly and nonlinearly constrained minimizations, and linear programming algorithms.
|-
|[[Maple (software)|Maple]]|| A general-purpose programming-language for symbolic and numerical computing.
|-
|[[MATLAB]]|| A general-purpose and matrix-oriented programming-language for numerical computing.  Linear programming in MATLAB requires the [[Optimization Toolbox]] in addition to the base MATLAB product; available routines include BINTPROG and LINPROG
|-
|[[Mathcad]]|| A WYSIWYG math editor. It has functions for solving both linear and nonlinear optimization problems.
|-
|[[Mathematica]]|| A general-purpose programming-language for mathematics, including symbolic and numerical capabilities.
|-
|[[MOSEK]]|| A solver for large scale optimization with API for several languages (C++,java,.net, Matlab and python).
|-
|[[NAG Numerical Library]]|| A collection of mathematical and statistical routines developed by the [[Numerical Algorithms Group]] for multiple programming languages (C, C++, Fortran, Visual Basic, Java and C#) and packages (MATLAB, Excel, R, LabVIEW). The Optimization chapter of the NAG Library includes routines for linear programming problems with both sparse and non-sparse linear constraint matrices, together with routines for the optimization of quadratic, nonlinear, sums of squares of linear or nonlinear functions with nonlinear, bounded or no constraints.  The NAG Library has routines for both local and global optimization, and for continuous or integer problems.
|-
|[[NMath Stats]]|| A general-purpose [[.NET Framework|.NET]] statistical library containing a simplex solver.<ref>[http://www.centerspace.net/landing.php?id=lp Linear programming page at CenterSpace Software]</ref>
|-
|[[OptimJ]]|| A Java-based modeling language for optimization with a free version available.<ref>http://www.in-ter-trans.eu/resources/Zesch_Hellingrath_2010_Integrated+Production-Distribution+Planning.pdf OptimJ used in an optimization model for mixed-model assembly lines, University of Münster</ref><ref>http://www.aaai.org/ocs/index.php/AAAI/AAAI10/paper/viewFile/1769/2076 OptimJ used in an Approximate Subgame-Perfect Equilibrium Computation Technique for Repeated Games</ref>
|-
|[[SAS System|SAS]]/OR|| A suite of solvers for Linear, Integer, Nonlinear, Derivative-Free, Network, Combinatorial and Constraint Optimization; the [[Algebraic modeling language]] [http://support.sas.com/documentation/cdl/en/ormpug/63975/HTML/default/ormpug_optmodel_sect005.htm OPTMODEL]; and a variety of vertical solutions aimed at specific problems/markets, all of which are fully integrated with the [[SAS System]].
|-
|[[SCIP (optimization software)|SCIP]]||A general-purpose constraint integer programming solver with an emphasis on MIP. Compatible with [http://zimpl.zib.de/ Zimpl] modelling language. Free for academic use and available in source code.
|-
|[[VisSim]]|| A visual [[block diagram]] language for simulation of [[dynamical system]]s.
|}
 
==See also==
* [[Convex programming]]
* [[Dynamic programming]]
* [[Linear-fractional programming (LFP)]]
* [[LP-type problem]]
* [[Mathematical programming]]
* [[Job-shop problem|MIP example, job shop problem]]
* [[Nonlinear programming]]
* [[Oriented matroid]]
* [[Quadratic programming]], a superset of linear programming
* [[Shadow price]]
* [[Simplex algorithm]], used to solve LP problems
 
==Notes==
{{Reflist|2}}
 
==References==
* L.V. Kantorovich: ''A new method of solving some classes of extremal problems'', Doklady Akad Sci USSR, 28, 1940, 211-214.
* G.B Dantzig: ''Maximization of a linear function of variables subject to linear inequalities'', 1947. Published pp.&nbsp;339–347 in T.C. Koopmans (ed.):''Activity Analysis of Production and Allocation'', New York-London 1951 (Wiley & Chapman-Hall)
* J. E. Beasley, editor. ''Advances in Linear and Integer Programming''. Oxford Science, 1996. (Collection of surveys)
* R. G. Bland, New finite pivoting rules for the simplex method, ''Math. Oper. Res.'' 2 (1977) 103–107.
* Karl-Heinz Borgwardt, ''The Simplex Algorithm: A Probabilistic Analysis'', Algorithms and Combinatorics, Volume 1, Springer-Verlag, 1987. (Average behavior on random problems)
* Richard W. Cottle, ed. ''The Basic George B. Dantzig''. Stanford Business Books, Stanford University Press, Stanford, California, 2003. (Selected papers by [[George B. Dantzig]])
* George B. Dantzig and Mukund N. Thapa. 1997. ''Linear programming 1: Introduction''. Springer-Verlag.
* George B. Dantzig and Mukund N. Thapa. 2003. ''Linear Programming 2: Theory and Extensions''. Springer-Verlag. (Comprehensive, covering e.g. [[simplex algorithm|pivoting]] and interior-point algorithms, large-scale problems, [[Dantzig-Wolfe decomposition|decomposition following Dantzig-Wolfe]] and [[Benders' decomposition|Benders]], and introducing [[stochastic programming]].)
* Edmonds, J. and Giles, R., "A min-max relation for submodular functions on graphs," Ann. Discrete Math., v1, pp.&nbsp;185–204, 1977
* {{cite journal|first1=Komei|last1=Fukuda|first2=Tamás|last2=Terlaky|title=Criss-cross methods: A fresh view on pivot algorithms |journal=Mathematical Programming: Series&nbsp;B|volume=79|number=1—3|pages=369–395|editors=Thomas&nbsp;M. Liebling and Dominique de&nbsp;Werra|publisher=North-Holland Publishing&nbsp;Co. |location=Amsterdam|year=1997|doi=10.1007/BF02614325|mr=1464775}}
*{{cite book|last1=Gondzio|first1=Jacek|last2=Terlaky|first2=Tamás|chapter=3 A computational view of interior point methods|mr=1438311|title=Advances in linear and integer programming|pages=103–144|editor=J.&nbsp;E. Beasley|location=New York|publisher=Oxford University Press|year=1996|series=Oxford Lecture Series in Mathematics and its Applications|volume=4|url=http://www.maths.ed.ac.uk/~gondzio/CV/oxford.ps|ref=harv|id=[http://www.maths.ed.ac.uk/~gondzio/CV/oxford.ps Postscript file at website of Gondzio] and [http://www.cas.mcmaster.ca/~terlaky/files/dut-twi-94-73.ps.gz at McMaster University website of Terlaky]}}
* {{cite book|last=Murty|first=Katta&nbsp;G.|authorlink=Katta G. Murty|title=Linear programming|publisher=John Wiley & Sons, Inc.|location=New York|year=1983|pages=xix+482|isbn=0-471-09725-X|mr=720547|ref=harv|id=(comprehensive reference to classical approaches)}}
* Evar D. Nering and [[Albert W. Tucker]], 1993, ''Linear Programs and Related Problems'', Academic Press. (elementary<!-- but profound -->)
* M. Padberg, ''Linear Optimization and Extensions'', Second Edition, Springer-Verlag, 1999. (carefully written account of primal and dual simplex algorithms and projective algorithms, with an introduction to integer linear programming --- featuring the [[traveling salesman problem]] for [[Odysseus]].)
* [[Christos H. Papadimitriou]] and Kenneth Steiglitz, ''Combinatorial Optimization: Algorithms and Complexity'', Corrected republication with a new preface, Dover. (computer science)
* {{Cite journal|author=Michael J. Todd | year = 2002 | title = The many facets of linear programming | journal = Mathematical Programming | volume = 91 | issue = 3 | month = February}} (Invited survey, from the International Symposium on Mathematical Programming.)
* {{Cite book | last=Vazirani | first=Vijay V. | authorlink=Vijay Vazirani | title=Approximation Algorithms | year=2001 | publisher=Springer-Verlag | isbn=3-540-65367-8 | pages=}} (Computer science)
 
==Further reading==
{{Library resources box |others=no}}
 
A reader may consider beginning with Nering and Tucker, with the first volume of Dantzig and Thapa, or with Williams.
 
* Dmitris Alevras and Manfred W. Padberg, ''Linear Optimization and Extensions: Problems and Solutions'', Universitext, Springer-Verlag, 2001. (Problems from Padberg with solutions.)
<!-- * A. Bachem and W. Kern. ''Linear Programming Duality: An Introduction to Oriented Matroids''. Universitext. Springer-Verlag, 1992. ([[Oriented matroid|Combinatorial]]) -->
* {{Cite book|author = Mark de Berg, Marc van Kreveld, [[Mark Overmars]], and Otfried Schwarzkopf | year = 2000 | title = Computational Geometry | publisher = [[Springer-Verlag]] | edition = 2nd revised | isbn = 3-540-65620-0}} Chapter 4: Linear Programming: pp.&nbsp;63–94. Describes a randomized half-plane intersection algorithm for linear programming.
* {{Cite book|author = [[Michael R. Garey]] and [[David S. Johnson]] | year = 1979 | title = [[Computers and Intractability: A Guide to the Theory of NP-Completeness]] | publisher = W.H. Freeman | isbn = 0-7167-1045-5}} A6: MP1: INTEGER PROGRAMMING, pg.245. (computer science, complexity theory)
* Bernd Gärtner, [[Jiří Matoušek (mathematician)|Jiří Matoušek]] (2006). ''Understanding and Using Linear Programming'', Berlin: Springer. ISBN 3-540-30697-8 (elementary introduction for mathematicians and computer scientists)
* Cornelis Roos, Tamás Terlaky, Jean-Philippe Vial, ''Interior Point Methods for Linear Optimization'', Second Edition, Springer-Verlag, 2006. (Graduate level)
* {{Cite book|author = Alexander Schrijver | year = 2003 | title = Combinatorial optimization: polyhedra and efficiency | publisher = Springer}}
* Alexander Schrijver, ''Theory of Linear and Integer Programming''. John Wiley & sons, 1998, ISBN 0-471-98232-6 (mathematical)
* [[Robert J. Vanderbei]], [http://www.princeton.edu/~rvdb/LPbook/  ''Linear Programming: Foundations and Extensions''], 3rd ed., International Series in Operations Research & Management Science, Vol. 114, Springer Verlag, 2008. ISBN 978-0-387-74387-5. (An on-line second edition was formerly available. Vanderbei's site still contains extensive materials.)
* H. P. Williams, ''Model Building in Mathematical Programming'', Third revised Edition, 1990. (Modeling)
* Stephen J. Wright, 1997, ''Primal-Dual Interior-Point Methods'', SIAM. (Graduate level)
* [[Yinyu Ye]], 1997, ''Interior Point Algorithms: Theory and Analysis'', Wiley. (Advanced graduate-level)
* [[Günter M. Ziegler|Ziegler, Günter M.]], Chapters 1–3 and 6–7 in ''Lectures on Polytopes'', Springer-Verlag, New York, 1994. (Geometry)
 
==External links==
 
{{External links|date=August 2010}}
*[http://people.brunel.ac.uk/~mastjjb/jeb/or/lp.html Guidance On Formulating LP Problems]
*[http://glossary.computing.society.informs.org/ Mathematical Programming Glossary]
*[http://lpsolve.sourceforge.net/4.0/LinearProgrammingFAQ.htm The Linear Programming FAQ]
*[http://plato.asu.edu/bench.html Benchmarks For Optimisation Software]
*[http://www.lionhrtpub.com/orms/surveys/LP/LP-survey.html 2013 Linear Programming Software Survey] - ''[[OR/MS Today]]''
*[http://www.stanford.edu/group/SOL/dantzig.html George Dantzig]
 
{{optimization algorithms}}
{{Mathematical programming}}
 
{{DEFAULTSORT:Linear Programming}}
[[Category:Linear programming| ]]
[[Category:Convex optimization]]
[[Category:Operations research]]
[[Category:Geometric algorithms]]
[[Category:P-complete problems]]
[[Category:Mathematical and quantitative methods (economics)]]

Latest revision as of 20:00, 21 November 2014

Irwin Butts is what my spouse loves to contact me although I don't truly like being known as like that. For years I've been operating as a payroll clerk. To gather cash is what her family members and her enjoy. North Dakota is her birth location but she will have to transfer 1 working day or another.

my webpage; at home std test [simply click the up coming web site]