-
On linear programming
2007-01-31
Standard form
- A linear function to be maximized
- e.g. maximize
- Problem constraints of the following form
- e.g.
- Non-negative variables
- e.g.
The problem is usually expressed in matrix form, and then becomes:
- maximize
- subject to

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 variables to replace non-equalities with equalities in the constraints. The problem can then be written in the following form:
- Maximize Z in:
where xs are the newly introduced slack variables, and Z is the variable to be maximized.
Example
The example above becomes as follows when converted into augmented form:
maximize 
(objective function) subject to 
(augmented constraint) 
(augmented constraint) 
(augmented constraint) 
where
are (non-negative) slack variables.Which in matrix form becomes:
- Maximize Z in:
Duality
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
- subject to
The corresponding dual problem is:
- minimize
- subject to
where y is used instead of x as variable vector.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 variables to replace non-equalities with equalities in the constraints. The problem can then be written in the following form:
- Maximize Z in:
where xs are the newly introduced slack variables, and Z is the variable to be maximized.
Example
The example above becomes as follows when converted into augmented form:
maximize 
(objective function) subject to 
(augmented constraint) 
(augmented constraint) 
(augmented constraint) 
where
are (non-negative) slack variables.Which in matrix form becomes:
- Maximize Z in:







