Linear Programming
Contents
10.11. Linear Programming#
10.11.1. Linear Optimization Problem#
10.11.1.1. General Form#
(Linear optimization problem)
A convex optimization problem where the objective and constraint functions are all affine is known as a linear optimization problem or a linear program.
A general linear program has the following form:
where
is the optimization variable. is an affine objective function. and describe the affine inequality constraints. and describe the affine equality constraints.
Note
Minimizing
is same as minimizing with the scalar only being an offset for the optimal value. Thus, the affine objective can be replaced as a linear objective.The problem of maximizing
is same as the problem of minimizing which is also an affine functional. Thus, an affine maximization problem with affine constraints is also a linear program.The feasible set of a linear program is a polyhedron. Recall from Definition 9.18 that a polyhedron is the solution set of a finite number of linear inequalities and linear equations. In this case, we have
linear inequalities and linear equations.
10.11.1.2. Standard Form#
(Linear programming standard form)
The standard form for linear programming is given by
Note
This form has
A linear objective function.
A system of linear equations as equality constraints.
Component wise nonnegativity constraints on the optimization variable
.
(Converting general form into standard form)
We show how the general form (10.27) can be converted to an equivalent standard form (10.28) linear programming problem.
We first introduce slack variables to the linear inequalities
. We get the formWe next split the optimization variable
as the difference between two nonnegative variables and . where both . The optimization problem becomes:This is an LP in standard form with the optimization variables being
, , and .We can drop the scalar
to get a linear objective function.We can introduce an optimization variable
as the concatenation of , , and and require that be the unified inequality constraint.We can then write
asSimilarly, the objective function can be written as
10.11.1.3. Inequality Form#
(Linear programming inequality form)
The standard form for linear programming is given by
Note
This form has
A linear objective function.
A system of linear inequalities as inequality constraints.
No equality constraints.