Notes 3: From Geometry To Simplex Method: IND E 513
Notes 3: From Geometry To Simplex Method: IND E 513
IND E 513
IND E 513
Notes 3
Slide 1
Theorem
A vector y R n is a basic solution if and only if Ay = b and there
exist indices B(1), . . . , B(m) such that
1. AB(1) , AB(2) , . . . , AB(m) are linearly independent;
2. If i 6= B(1), B(2), . . . , B(m), then yi = 0.
This also hints at a procedure for constructing basic solutions.
IND E 513
Notes 3
Slide 2
Example
1
0
1
0
1
1
0
1
2
6
0
0
1
0
0
0
0
1
0
0
IND E 513
0
0
1
0
0
8
0
12
x =
4
0
1
6
Notes 3
Slide 3
Terminology
If x is a basic solution
I
xB(1)
|
|
|
xB
= B 1 b
IND E 513
Notes 3
Slide 4
Example
x1 + x2 + x3 = 1
x1 , x2 , x3 0
IND E 513
Notes 3
Slide 5
Definition
A polyhedron P R n contains a line if there exist a vector x P
and a nonzero vector d R n such that x + d P for all scalars .
IND E 513
Notes 3
Slide 6
Theorem
Suppose that the polyhedron
P = {x R n |ai0 x bi , i = 1, 2, . . . , m} is nonempty. Then, the
following are equivalent
1. P has at least one extreme point.
2. P does not contain a line.
3. There exist n vectors out of a1 , a2 , . . . , am , which are linearly
independent.
Corollary
Every nonempty bounded polyhedron and every nonempty
polyhedron in standard form has at least one extreme point.
IND E 513
Notes 3
Slide 7
Notes 3
Slide 8
Theorem
Consider the linear programming problem of minimizing c 0 x over a
polyhedron P. Suppose that P has at least one extreme point and
that there exists an optimal solution. Then, there exists an optimal
solution that is an extreme point of P.
Proof: Let Q be the set of optimal solutions (assumed to be
non-empty). Suppose P = {x R n |Ax b} and let v be the
optimal value of the cost c 0 x. Then
Q = {x R n |Ax b, c 0 x = v }, which is also a polyhedron. Since
Q P and P contains no line, Q contains no line and hence has
at least one extreme point. Let x be an extreme point of Q.
Claim: x is also an extreme point of P.
IND E 513
Notes 3
Slide 9
IND E 513
Notes 3
Slide 10
Corollary
Consider the linear programming problem of minimizing c 0 x over a
nonempty polyhedron P. Then, either the optimal cost is or
there exists an optimal solution.
IND E 513
Notes 3
Slide 11
Degeneracy
Definition
A basic solution x R n is said to be degenerate if more than n of
the constraints are active at x. x is said to be non-degenerate
otherwise.
Example
Suppose P R 3 is given by
x1 + x2 + 2x3 8
x2 + 6x3 12
x1 4
x2 6
x1 , x2 , x3 0
(4, 0, 2) is a degenerate basic feasible solution.
(2, 6, 0) is a non-degenerate basic feasible solution.
IND E 513
Notes 3
Slide 12
IND E 513
Notes 3
Slide 13
Example
1
0
1
0
1
1
0
1
2
6
0
0
1
0
0
0
0
1
0
0
0
0
1
0
0
8
12
0
x =
4
0
1
6
IND E 513
Notes 3
Slide 14
Optimality Conditions
Feasible Directions:
Many optimization algorithms move from one feasible point to
another until they find an optimal solution. At a point x P, we
are contemplating moving away from it in the direction of vector
d R n . We should consider those choices of d that do not take us
outside the feasible region.
Definition
Let x be an element of polyhedron P. A vector d R n is said to
be a feasible direction at x, if there exists a positive scalar for
which x + d P.
IND E 513
Notes 3
Slide 15
Notes 3
Slide 16
Ad =
n
X
Ai di =
i=1
m
X
i=1
dB = B 1 Aj .
The direction d we just constructed is called the jth basic direction.
We ensured that the equality constraints hold. How about
non-negativity? Need to worry only about basic variables (why?)
1. If x is nondegenerate, xB > 0, and xB + dB 0 for
sufficiently small .
2. some complications if x is degenerate (see picture below).
IND E 513
Notes 3
Slide 17
x3=0
F
x5=0
x4=0
x1=0
x2=0
G
IND E 513
Notes 3
Slide 18
cd=
n
X
c i di =
i=1
m
X
i=1
Definition
Let x be a basic solution, let B be an associated basis matrix, and
let cB be the vector of costs of the basic variables. For each j, we
define reduced cost cj of the variable xj according to the formula
cj = cj cB0 B 1 Aj .
IND E 513
Notes 3
Slide 19
IND E 513
Notes 3
Slide 20
Optimality Conditions
Theorem
Consider a basic feasible solution x associated with a basis matrix
B, and let c be the corresponding vector of reduced costs.
1. If c 0, then x is optimal.
2. If x is optimal and nondegenerate, then c 0.
IND E 513
Notes 3
Slide 21
c 0 d = cB0 dB +
X
iN
X
X
c i di =
(ci cB0 B 1 Ai )di =
ci di .
iN
iN
IND E 513
Notes 3
Slide 22
Definition
A basis matrix B is said to be optimal if
1. B 1 b 0 (feasibility).
2. c0 = c 0 cB0 B 1 A 0 (optimality).
IND E 513
Notes 3
Slide 23