COMP331/557 Chapter 4: The Simplex Method
(Bertsimas & Tsitsiklis, Chapter 3)
75
COMP331/557 Chapter 4: The Simplex Method (Bertsimas & - - PowerPoint PPT Presentation
COMP331/557 Chapter 4: The Simplex Method (Bertsimas & Tsitsiklis, Chapter 3) 75 Linear Program in Standard Form Throughout this chapter, we consider the following standard form problem: c T x minimize subject to A x = b x 0
75
76
77
78
79
80
81
82
xB(i) ui
82
xB(i) ui
82
82
82
82
82
82
82
82
82
82
83
84
85
86
xB(i) ui
86
86
86
86
86
86
86
86
87
xB(i) ui
20 3
88
xB(i) ui
20 3
3
88
88
89
89
89
89
90
xB(i) ui
91
91
91
91
91
91
91
91
xB(i) ui
92
xB(i) ui
93
xB(i) ui
94
xB(i) ui
95
xB(i) ui
96
97
1 Choose the column Aj with ¯
2 Among all basic variables xi that could exit the basis, select the one with smallest i.
98
99
100
101
102
102
102
102
102
102
103
104
105
106
107
108
109
109
110
1 Transform problem such that b ≥ 0 (multiply constraints by −1). 2 Introduce artificial variables y1, . . . , ym and solve auxiliary problem
m
3 If optimal cost is positive, then STOP (original LP is infeasible). 4 If no artificial variable is in final basis, eliminate artificial variables and columns and
5 If ℓth basic variable is artificial, find j ∈ {1, . . . , n} with ℓth entry in B−1 · Aj
6 If no such j ∈ {1, . . . , n} exists, eliminate ℓth row (constraint).
111
1 Given an LP in standard from, first run phase I. 2 If phase I yields a basic feasible solution for the original LP, enter “phase II” (see
i Problem is infeasible (detected in phase I). ii Problem is feasible but rows of A are linearly dependent (detected and corrected at
iii Optimal cost is −∞ (detected in phase II). iv Problem has optimal basic feasible solution (found in phase II).
112
i=1 ci xi
i=1 ci xi
j=1 yj
113
114
115
116
117
117
117
117
117
117
118
119
120
121
122
i the computational effort of each iteration; ii the number of iterations.
123
x1 x2 x1 x2 x3
124
x1 x2 x1 x2 x3
125
a the feasible set has 2n vertices; b the vertices can be ordered so that each one is adjacent to and has lower cost than
c there exists a pivoting rule under which the simplex method requires 2n − 1
126
2
127
5
128
129
202