Professional Documents
Culture Documents
The Canonical and Dictionary Forms of Linear Programs
The Canonical and Dictionary Forms of Linear Programs
The Canonical and Dictionary Forms of Linear Programs
(1)
= x1
x1
+ x2
+ x4
+ x2
+ x3
+ x5
=1
x2
x3
+ x4
+ x6
=5
x1 3x2
+ x3
+ x4
+ x7 = 4
x1 0 x2 0 x3 0 x4 0 x5 0 x6 0 x7 0
R. Van Slyke
p. 1/10
P2: Minimize z
= x1
+ x2
+ x4
z
+ x2
x3
+ x5
=1
x1
x3
+ x4
+ x6
=5
x2
x3
+ x4
+ x7 = 4
x1 3x2
x1 0 x2 0 x3 0 x4 0 x5 0 x6 0 x7 0
Is there a feasible solution for this linear program; if so what?
Does the linear program have an optimal solution? Is there more
than one optimal solution?
How about this one?
P3: Minimize z
= x1
x2
+ x4
z
x2
+ x3
+ x5
=1
x1
x2
x3
+ x4
+ x6
=5
+ x3
+ x4
+ x7 = 4
x1 3x2
x1 0 x2 0 x3 0 x4 0 x5 0 x6 0 x7 0
Is there a feasible solution for this linear program; if so what?
Does the linear program have an optimal solution? Is there more
than one optimal solution?
How about this one?
P4: Minimize z
= x1
x2
+ x4
z
+ x2
+ x3
+ x5
=1
x1
x2
x3
+ x4
+ x6
=5
+ x3
+ x4
+ x7 = 4
x1 +3x2
x1 0 x2 0 x3 0 x4 0 x5 0 x6 0 x7 0
R. Van Slyke
p. 2/10
Min z = cN xN
AxN + IxB = b
s.t.
xN 0 xB 0
Where cN an n-dimensional row vector, A is an mxn matrix, I is an
mxm identity matrix are given data. b is a non-negative mdimensional column vector. The decision variables xN and xB are n1
Recently the Simplex Algorithm was named one of the ten most important algorithms of
the century.
Canonical Forms Revised 10/11/05
R. Van Slyke
p. 3/10
x5 = 1 x1 x2 x3
x2 + x3 x4
x6 = 5
x7 = 4 x1 +3x2 x3 x4
+ x4
z = 0 + x1 + x2
x j 0 j = 1,...,7
D2: Minimize z
R. Van Slyke
p. 4/10
x5 = 1 x1 x2 + x3
x6 = 5
x2 + x3 x4
x7 = 4 x1 +3x2 + x3 x4
z = 0 + x1 + x2
+ x4
x j 0 j = 1,...,7
D3: Minimize z
x5 = 1 x1 + x2 x3
+ x2 + x3 x4
x6 = 5
x7 = 4 x1 +3x2 x3 x4
+ x4
z = 0 + x1 x2
x j 0 j = 1,...,7
D4: Minimize z
x5 = 1 x1 x2 x3
x6 = 5
+ x2 + x3 x4
x7 = 4 x1 3x2 x3 x4
z = 0 + x1 x2
+ x4
x j 0 j = 1,...,7
D5: Minimize z
x5 = 0 x1 x2 x3
+ x2 + x3 x4
x6 = 5
x7 = 4 x1 3x2 x3 x4
+ x4
z = 0 + x1 x2
x j 0 j = 1,...,7
D2: Minimize z
Canonical Forms Revised 10/11/05
R. Van Slyke
p. 5/10
x5 = 1 x1 x2
x6 = 5
x2
x7 = 4 x1 +3x2
z = 0 + x1 + x2
x j 0 j = 1,...,7
+ x3
+ x3 x4
+ x3 x4
x3 + x4
Let us now return to the pair P4,D4 which we left in the middle
of. Let us work with the dictionary representation.
D4: Minimize z
x5 = 1 x1 x2 x3
x6 = 5
+ x2 + x3 x4
x7 = 4 x1 3x2 x3 x4
z = 0 + x1 x2
+ x4
x j 0 j = 1,...,7
R. Van Slyke
p. 6/10
x2 = 1 x1 x5 x3
x6 = 6 x1 x5
x4
x7 = 1 +2 x1 3x5 +2 x3 x4
z = 1 +2 x1 + x5 + x3 + x4
x j 0 j = 1,...,7
Now if we try the same trick as before, we find that since all the
coefficients in the z expression are non-negative there is no way
to improve z. In fact, since the coefficients for z for the nonbasic variables are positive there is only one optimal solution. So,
for this problem, in one step, we obtained an optimal basic
feasible solution. In general, it can take many iterations, but,
when done carefully, it will always terminate with an optimal
solution, or a solution like P6/D6. The place where care has to be
taken is with dictionaries like D5, where one of the constant
terms is 0.
The canonical form seems rather special. But by using various
devices that we will soon discuss, a very wide variety of
optimization problems can be put in this format.
R. Van Slyke
p. 7/10
2.
3.
R. Van Slyke
p. 8/10
R. Van Slyke
p. 9/10
EXERCISES:
1.
2.
3.
a)
4.
5.
affine.
Show that
with vertex 0.
6.
Show that
is convex.
7.
b)
R. Van Slyke
p. 10/10