e01.org

Linear programming

, a 2-dimensional polytope. The optimum of the linear cost function is where the red line intersects the polygon. The red line is a level set of the cost function, and the arrow indicates the direction in which we are optimizing. . The surfaces giving a fixed value of the objective function are 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), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements and objective are represented by linear relationships. Linear programming is a special case of mathematical programming (also known as mathematical optimization). More formally, linear programming is a technique for the optimization of a linear objective function, subject to linear equality and linear inequality constraints. Its feasible region is a convex polytope, which is...

, a 2-dimensional polytope. The optimum of the linear cost function is where the red line intersects the polygon. The red line is a level set of the cost function, and the arrow indicates the direction in which we are optimizing. . The surfaces giving a fixed value of the objective function are 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), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements and objective are represented by linear relationships. Linear programming is a special case of mathematical programming (also known as mathematical optimization). More formally, linear programming is a technique for the optimization of a linear objective function, subject to linear equality and linear inequality constraints. Its feasible region is a convex polytope, which is a set defined as the intersection of finitely many half spaces, each of which is defined by a linear inequality . Its objective function is a real-valued affine (linear) function defined on this polytope. A linear programming algorithm finds a point in the polytope where this function has the largest (or smallest) value if such a point exists. Linear programs are problems that can be expressed in standard form as: \begin{align} & \text{Find a vector} && \mathbf{x} \\ & \text{that maximizes} && \mathbf{c}^\mathsf{T} \mathbf{x}\\ & \text{subject to} && A \mathbf{x} \le \mathbf{b} \\ & \text{and} && \mathbf{x} \ge \mathbf{0}. \end{align} Here the components of \mathbf{x} are the variables to be determined, \mathbf{c} and \mathbf{b} are given vectors, and A is a given matrix. The function whose value is to be maximized ( \mathbf x\mapsto\mathbf{c}^\mathsf{T}\mathbf{x} in this case) is called the objective function. The constraints A \mathbf{x} \le \mathbf{b} and \mathbf{x} \geq \mathbf{0} specify a convex polytope over which the objective function is to be optimized. Linear programming can be applied to various fields of study. It is widely used in mathematics and, to a lesser extent, in business, economics, and some engineering problems. There is a close connection between linear programs, eigenequations, John von Neumann's general equilibrium model, and structural equilibrium models (see dual linear program for details). Industries that use linear programming models include transportation, energy, telecommunications, and manufacturing. It has proven useful in modeling diverse types of problems in planning, routing, scheduling, assignment, and design. e.g. f(x_{1},x_{2}) = c_1 x_1 + c_2 x_2 Problem constraints of the following form e.g. \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} Non-negative variables e.g. \begin{matrix} x_1 \geq 0 \\ x_2 \geq 0 \end{matrix} The problem is usually expressed in matrix form, and then becomes: \max \{\, \mathbf{c}^\mathsf{T} \mathbf{x} \mid \mathbf{x}\in\mathbb{R}^n\land A \mathbf{x} \leq \mathbf{b} \land \mathbf{x} \geq 0 \,\} Other forms, such as minimization problems, problems with constraints on alternative forms, and problems involving negative variables can always be rewritten into an equivalent problem in standard form. \end{bmatrix} = \begin{bmatrix} 0 \\ \mathbf{b} \end{bmatrix} \mathbf{x} \ge \mathbf{0}, \mathbf{s} \ge \mathbf{0} where \mathbf{s} are the newly introduced slack variables, \mathbf{x} are the decision variables, and z is the variable to be maximized. \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. Minimize b T y subject to A T y = c, y ≥ 0. A fundamental idea of duality theory is the fact that (for the symmetric dual) the dual of a dual linear program is the original primal linear program. The dual variables \mathbf{y} may be understood as coefficients in a linear combination of inequalities from the primal problem, formed in the hope of obtaining a bound on the objective function. Such coefficients need to be nonnegative, since otherwise inequalities would become reversed, whence we require \mathbf{y} \geq \mathbf{0} . If in addition \mathbf{c}^\top \leq \mathbf{y}^\top\! A then it follows that \mathbf{c}^\top \mathbf{x} \leq \mathbf{y}^\top\! A \mathbf{x} \leq \mathbf{y}^\top \mathbf{b} = \mathbf{b}^\top \mathbf{y} \text{,} i.e., the value of the dual objective function \mathbf{b}^\top \mathbf{y} at any feasible dual point \mathbf{y} is an upper bound on the value of the primal objective function \mathbf{c}^\top \mathbf{x} at any feasible primal point \mathbf{x} . This is the principle of weak duality. The strong duality theorem states that this bound is in fact tight: if the primal has an optimal solution, x * , then the dual also has an optimal solution, y * , and c T x * =b T y * . 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. See dual linear program for details and several more examples. Suppose that x = (x 1 , x 2 , ... , x n ) is primal feasible and that y = (y 1 , y 2 , ... , y m ) is dual feasible. Let (w 1 , w 2 , ..., w m ) denote the corresponding primal slack variables, and let (z 1 , z 2 , ... , z n ) denote the corresponding dual slack variables. Then x and y are optimal for their respective problems if and only if x j z j  = 0, for j = 1, 2, ... , n, and w i y i  = 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"). The problem natively solved by the ellipsoid method is not a linear program ‘maximize \mathbf{c}^\top \mathbf{x} given A \mathbf{x} \leq \mathbf{b}, \mathbf{x} \geq \mathbf{0} ’, but rather the feasibility problem ‘determine whether the polytope A \mathbf{x} \leq \mathbf{b} is nonempty’. To solve linear programmes using feasibility tests, one first checks whether the primal problem A \mathbf{x} \leq \mathbf{b}, \mathbf{x} \geq \mathbf{0} is feasible (if not, then there is no solution), and second checks whether the dual problem A^\top \mathbf{y} \geq \mathbf{c}, \mathbf{y} \geq \mathbf{0} is feasible (if not, then the primal problem is unbounded, and no maximum exists). Finally the sought optimum is obtained from the primal–dual problem \mathbf{x} \geq \mathbf{0}, \mathbf{y} \geq \mathbf{0}, A \mathbf{x} \leq \mathbf{b}, A^\top \mathbf{y} \geq \mathbf{c}, \mathbf{c}^\top \mathbf{x} = \mathbf{b}^\top \mathbf{y} ; more feasibility tests are used to remove or convert to equations all inequalities in that system, after which the solution is found by solving a linear equation system. The idea of the ellipsoid method is to enclose the feasible region in a sequence of ellipsoids of decreasing volume. At each iteration step, the ellipsoid midpoint is tested for being feasible; if it is, the answer to feasibility is ‘yes’. Otherwise we learn the feasible region is contained in a specific half of the ellipsoid, so we find a smaller ellipsoid enclosing only that, and repeat. In Khachiyan's algorithm, there is a known lower bound on the volume of a nonempty feasible region, which translates into a polynomial upper bound on the number of iterations that are required before the answer is known to be ‘no’. The ellipsoids are not contained in each other, only their volumes decrease. In 2019, Cohen, Lee and Song improved the running time to \tilde O( ( n^{\omega} + n^{2.5-\alpha/2} + n^{2+1/6} ) L) time, \omega is the exponent of matrix multiplication and \alpha is the dual exponent of matrix multiplication. \alpha is (roughly) defined to be the largest number such that one can multiply an n \times n matrix by a n \times n^\alpha matrix in O(n^2) time. In a followup work by Lee, Song and Zhang, they reproduce the same result via a different method. These two algorithms remain \tilde O( n^{2+1/6} L ) when \omega = 2 and \alpha = 1 . The result due to Jiang, Song, Weinstein and Zhang improved \tilde O ( n^{2+1/6} L) to \tilde O ( n^{2+1/18} L) . A linear program in real variables is said to be integral if it has at least one optimal solution which is integral, i.e., made of only integer values (not to be confused with integrals). Likewise, a polyhedron P = \{x \mid Ax \ge 0\} is said to be integral if for all bounded feasible objective functions c, the linear program \{\max cx \mid x \in P\} has an optimum x^* with integer coordinates. As observed by Edmonds and Giles in 1977, one can equivalently say that the polyhedron P is integral if for every bounded feasible integral objective function c, the optimal value of the linear program \{\max cx \mid x \in P\} 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. 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. 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 two generalized polymatroids/g-polymatroids – e.g. see Schrijver 2003. G.B Dantzig: Maximization of a linear function of variables subject to linear inequalities, 1947. Published pp. 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) (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. (Comprehensive, covering e.g. pivoting and interior-point algorithms, large-scale problems, decomposition following Dantzig–Wolfe and Benders, and introducing stochastic programming.) Evar D. Nering and Albert W. Tucker, 1993, Linear Programs and Related Problems, Academic Press. (elementary ) (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.) (computer science) (Invited survey, from the International Symposium on Mathematical Programming.) (Computer science) Dmitris Alevras and Manfred W. Padberg, Linear Optimization and Extensions: Problems and Solutions, Universitext, Springer-Verlag, 2001. (Problems from Padberg with solutions.) Chapter 4: Linear Programming: pp. 63–94. Describes a randomized half-plane intersection algorithm for linear programming. A6: MP1: INTEGER PROGRAMMING, pg.245. (computer science, complexity theory) (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) Alexander Schrijver, Theory of Linear and Integer Programming. John Wiley & sons, 1998, (mathematical) ; with online solver: https://online-optimizer.appspot.com/ (linear optimization modeling) H. P. Williams, Model Building in Mathematical Programming, Fifth Edition, 2013. (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) Ziegler, Günter M., Chapters 1–3 and 6–7 in Lectures on Polytopes, Springer-Verlag, New York, 1994. (Geometry) ==External links== Guidance On Formulating LP Problems Mathematical Programming Glossary The Linear Programming FAQ Benchmarks For Optimisation Software

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Linear programming". 1790407780. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1376807343

JSON record · API collection · citation policy