You are on page 1of 101

The Simplex Method

Antonio J. Conejo, 2018


What

October 4, 2018 A. J. Conejo 2


The Simplex Method

October 4, 2018 A. J. Conejo 3


The Simplex Method

Just 1!

As many
as
needed

October 4, 2018 A. J. Conejo 4


The Simplex Method

October 4, 2018 A. J. Conejo 5


The Simplex Method

October 4, 2018 A. J. Conejo 6


The Simplex Method

October 4, 2018 A. J. Conejo 7


Initialization

October 4, 2018 A. J. Conejo 8


The Simplex Method The partition

OCTAVE

October 4, 2018 A. J. Conejo 9


The Simplex Method

October 4, 2018 A. J. Conejo 10


Regularization step!

October 4, 2018 A. J. Conejo 11


Regularization step!
1

October 4, 2018 A. J. Conejo 12


JUST
ONE!
The Simplex Method
1

October 4, 2018 A. J. Conejo 13


K big for this variable not to
be in the final solution
The Simplex Method

October 4, 2018 A. J. Conejo 14


The Simplex
Method

October 4, 2018 A. J. Conejo 15


The Simplex Method

Grow Grows

October 4, 2018 A. J. Conejo 16


The Simplex Method

October 4, 2018 A. J. Conejo 17


The Simplex Method
THUS

This guarantees the that new b tide


is non-negative

October 4, 2018 A. J. Conejo 18


The Simplex Method

October 4, 2018 A. J. Conejo 19


The Simplex Method

October 4, 2018 A. J. Conejo 20


The Simplex Method – Example

October 4, 2018 A. J. Conejo 21


The Simplex Method – Example
New
column/
variable

October 4, 2018 A. J. Conejo 22


The Simplex Method – Example

October 4, 2018 A. J. Conejo 23


The Simplex Method – Example

October 4, 2018 A. J. Conejo 24


The Simplex Method – Example

October 4, 2018 A. J. Conejo 25


Before

The Simplex Method – Example pivoting!

October 4, 2018 A. J. Conejo 26


The Simplex Method – Example After
pivoting!

It has
increased

All
positive!
October 4, 2018 A. J. Conejo 27
Optimization steps!

October 4, 2018 A. J. Conejo 28


Which
one?
The Simplex Method
2

Which
one?

October 4, 2018 A. J. Conejo 29


The Simplex Method
2

October 4, 2018 A. J. Conejo 30


2

October 4, 2018 A. J. Conejo 31


The Simplex Method

!!!

October 4, 2018 A. J. Conejo 32


The Simplex Method

October 4, 2018 A. J. Conejo 33


The Simplex Method

0 0

October 4, 2018 A. J. Conejo 34


The Simplex Method Negative
for xBr to
decrease
as xs
increases

October 4, 2018 A. J. Conejo 35


The Simplex Method

October 4, 2018 A. J. Conejo 36


The Simplex Method

October 4, 2018 A. J. Conejo 37


They are
The Simplex Method possible
values for
xs

October 4, 2018 A. J. Conejo 38


October 4, 2018 A. J. Conejo 39
The Simplex Method

October 4, 2018 A. J. Conejo 40


The Simplex Method

October 4, 2018 A. J. Conejo 41


Optimality checking!

October 4, 2018 A. J. Conejo 42


The Simplex Method

October 4, 2018 A. J. Conejo 43


Example: The Simplex Method

October 4, 2018 A. J. Conejo 44


The Simplex Method: Example

October 4, 2018 A. J. Conejo 45


The Simplex Method

October 4, 2018 A. J. Conejo 46


The Partition

October 4, 2018 A. J. Conejo 47


The Simplex Method

October 4, 2018 A. J. Conejo 48


Octave
The Simplex Method

October 4, 2018 A. J. Conejo 49


The Simplex Method

October 4, 2018 A. J. Conejo 50


The Simplex Method

October 4, 2018 A. J. Conejo 51


x2
The Simplex Method
(3,16)

(0,16)

(12,10)

(0,8)

x1

(4,0) (12,0)
October 4, 2018 A. J. Conejo 52
New
column/
variable

October 4, 2018 A. J. Conejo 53


The Simplex Method

October 4, 2018 A. J. Conejo 54


The Simplex Method

October 4, 2018 A. J. Conejo 55


Before

The Simplex Method pivoting!

October 4, 2018 A. J. Conejo 56


The Simplex Method After
pivoting!

It has
increased

All
positive!
October 4, 2018 A. J. Conejo 57
x2
The Simplex Method
(3,16)

(0,16)

(12,10)

(0,8)

x1

(4,0) (12,0)
October 4, 2018 A. J. Conejo 58
October 4, 2018 A. J. Conejo 59
The Simplex Method

October 4, 2018 A. J. Conejo 60


The Simplex Method

?
0

October 4, 2018 A. J. Conejo 61


The Simplex Method

October 4, 2018 A. J. Conejo 62


The Simplex Method

October 4, 2018 A. J. Conejo 63


The Simplex Method

October 4, 2018 A. J. Conejo 64


October 4, 2018 A. J. Conejo 65
Before

The Simplex Method pivoting!

October 4, 2018 A. J. Conejo 66


The Simplex Method

October 4, 2018 A. J. Conejo 67


The Simplex Method
Smaller!

After
pivoting!

October 4, 2018 A. J. Conejo 68


x2
The Simplex Method
(3,16)

(0,16)

(12,10)

(0,8)

x1

(4,0) (12,0)

October 4, 2018 A. J. Conejo 69


The Simplex Method

October 4, 2018 A. J. Conejo 70


The Simplex Method

October 4, 2018 A. J. Conejo 71


Before

The Simplex Method pivoting!

October 4, 2018 A. J. Conejo 72


The Simplex Method

October 4, 2018 A. J. Conejo 73


After

The Simplex Method pivoting!

Smaller!

October 4, 2018 A. J. Conejo 74


x2
The Simplex Method
(3,16)

(0,16)

(12,10)

(0,8)

x1

(4,0) (12,0)

October 4, 2018 A. J. Conejo 75


The Simplex Method

October 4, 2018 A. J. Conejo 76


The Simplex Method

October 4, 2018 A. J. Conejo 77


Before

The Simplex Method pivoting!

October 4, 2018 A. J. Conejo 78


The Simplex Method

October 4, 2018 A. J. Conejo 79


After

The Simplex Method pivoting!

Smaller!

October 4, 2018 A. J. Conejo 80


x2
The Simplex Method
(3,16)

(12,10)

x1

(4,0) (12,0)
October 4, 2018 A. J. Conejo 81
The Simplex Method !!!

October 4, 2018 A. J. Conejo 82


The Simplex Method

October 4, 2018 A. J. Conejo 83


The Simplex Method

October 4, 2018 A. J. Conejo 84


x2
The Simplex Method
(3,16)

(0,16)

(12,10)

(0,8)

(4,0) (12,0) x1

October 4, 2018 A. J. Conejo 85


Detecting Infeasibility,
Unboundedness and
Cycling

October 4, 2018 A. J. Conejo 86


Detecting Infeasibility, Unboundedness and
Cycling

October 4, 2018 A. J. Conejo 87


Infeasibility

October 4, 2018 A. J. Conejo 88


Infeasibility

October 4, 2018 A. J. Conejo 89


Infeasibility

October 4, 2018 A. J. Conejo 90


Infeasibility
x2

Increasing

x1

October 4, 2018 A. J. Conejo 91


Unboundedness

October 4, 2018 A. J. Conejo 92


Unboundedness

October 4, 2018 A. J. Conejo 93


Unboundedness Non-negative

Non-negative

Non-negative

October 4, 2018 A. J. Conejo 94


Unboundedness

October 4, 2018 A. J. Conejo 95


Unboundedness

October 4, 2018 A. J. Conejo 96


Unboundedness
x2

Increasing

x1

October 4, 2018 A. J. Conejo 97


Cycling

October 4, 2018 A. J. Conejo 98


Cycling

October 4, 2018 A. J. Conejo 99


Cycling

October 4, 2018 A. J. Conejo 100


This is it!

October 4, 2018 A. J. Conejo 101

You might also like