Optimization (LP) problems can be converted into an Augmented/Slack Form in order to apply the common form of the simplex algorithm
Purpose
given a linear programming problem:
- objective function:
Z = c1x1 + c2x2 - linear constraints:
a11x1 + a12x2≤ b1
a21x1 + a22x2≥ b2 - non-negative variables:
x1 ≥ 0
x2 ≥ 0
problem:
- the linear constraints are not of same equality symbol (i.e. all either: ≤, =, or ≥), thus not satisfying standard form
solution:
- use augmented form, by adding slack variables into the linear constraints
resulting form:
- objective function:
Z = c1x1 + c2x2 - linear constraints:
a11x1 + a12x2- s1 = b1
a21x1 + a22x2+ s2 = b1 - non-negative variables:
x1 ≥ 0
x2 ≥ 0 - slack variables:
s1 ≥ 0
s2 ≥ 0
Equation Form
- objective function:
Z = c1x1 + c2x2 + … + cnxn - augmented linear constraints:
a11x1 + a12x2 + … + a1nxn + s1= b1
a21x1 + a22x2 + … + a2nxn + s2= b2
…
am1x1 + am2x2 + … + amnxn + sm= bm - non-negative variables:
x1 ≥ 0
x2 ≥ 0
…
xn ≥ 0 - non-negative slack variables:
s1 ≥ 0
s2 ≥ 0
…
sm ≥ 0
Block Matrix Form
/lp---ways-structuring-problem/lp---augmented/slack-form/linear-programming-aumented-form-block-matrix-form.png)