SlideShare a Scribd company logo
1 of 48
Download to read offline
Lesson 32 (KH, Section 11.2)
               The Simplex Method

                         Math 20


                    December 7, 2007



Announcements
   Pset 11 due December 11. Pset 12 due December 18.
   next PS Sunday 6-7 in SC B-10
We are going to solve the linear programming problem of
maximizing
                       z = 2x1 − 4x2 + 5x3
subject to constraints

                          3x1 + 2x2 + x3 ≤ 6
                         3x1 − 6x2 + 7x3 ≤ 9

and x1 , x2 , x3 ≥ 0.
Introduce slack variables u1 and u2 and rewrite the LP problem to
replace the inequalities with equalities.
Introduce slack variables u1 and u2 and rewrite the LP problem to
replace the inequalities with equalities.
Solution


                       3x1 +2x3 + x3 +u1         =6
                       3x1 −6x2 +7x3       +u2 =9

The new constraints are x1 , x2 , x3 , u1 , u2 ≥ 0.
How many basic solutions are there to this problem? (Don’t find
them, just count them)
How many basic solutions are there to this problem? (Don’t find
them, just count them)
Solution
There are 3 + 2 = 5 variables and 3 of them are decision variables,
so the number of basic solutions is
                              5
                                  = 10
                              3
Let’s choose x1 = x2 = x3 = 0, u1 = 6, u2 = 9 for our initial basic
solution. Since it’s feasible (all x and u variables are nonnegative),
we know it’s a corner of the feasible set. The geometric idea
behind the simplex method is to traverse the feasible set, moving
at each set to the adjacent vertex which increases the objective
function the most. So let’s find the corners adjacent to (0, 0, 0).
Traversing the feasible set


                                   (x1 , x2 , x3 , u1 , u2 )




                              •
                                  (0, 0, 0, 6, 9)
Traversing the feasible set


                                         (x1 , x2 , x3 , u1 , u2 )
                                        (0, 0, 6, 0, −6)
                                    •




                                        (0, 0, 9/7, 33/7, 0)
                                    •

           (0, −3/2, 0, 3, 0)                         (0, 3, 0, 0, 18)
                                •   •                 •
                                      (0, 0, 0, 6, 9)
                             • (2, 0, 0, 0, 3)

                          • (3, 0, 0, −3, 0)
Traversing the feasible set


                                           (x1 , x2 , x3 , u1 , u2 )
                                          (0, 0, 6, 0, −6)
                                      •




                                          (0, 0, 9/7, 33/7, 0)
                                      •

           (0, −3/2, 0, 3, 0)                           (0, 3, 0, 0, 18)
                                •     •                 •



                               • (2, 0, 0, 0, 3)

                              (3, 0, 0, −3, 0)
                          •
Traversing the feasible set


                                    (x1 , x2 , x3 , u1 , u2 )




                      z = 45/7 • (0, 0, 9/7, 33/7, 0)
                                               (0, 3, 0, 0, 18)
                                •               •
                                  z = −18
                   z = 6 • (2, 0, 0, 0, 3)
Traversing the feasible set


                                    (x1 , x2 , x3 , u1 , u2 )




                      z = 45/7 • (0, 0, 9/7, 33/7, 0)
                                               (0, 3, 0, 0, 18)
                                •               •
                                  z = −18
                   z = 6 • (2, 0, 0, 0, 3)
Traversing the feasible set


                                           (x1 , x2 , x3 , u1 , u2 )
                                          (0, 0, 6, 0, −6)
                                      •




                                                    (0, 33/20, 27/10, 0, 0)
                                                •



                                          (0, 0, 9/7, 33/7, 0)
                                      •

           (0, −3/2, 0, 3, 0)
           (11/6, 0, 1/2, 0, 0)•      •
                                          (0, 0, 0, 6, 9)
                                 •


                               (3, 0, 0, −3, 0)
                           •
Traversing the feasible set


                                           (x1 , x2 , x3 , u1 , u2 )




                                                    (0, 33/20, 27/10, 0, 0)
                                                •
                                                z = 69/10
                                      • (0, 0, 9/7, 33/7, 0)
                                      •
           (11/6, 0, 1/2, 0, 0)           (0, 0, 0, 6, 9)
                                  •
                    z=    37/6
Traversing the feasible set


                                           (x1 , x2 , x3 , u1 , u2 )




                                                    (0, 33/20, 27/10, 0, 0)
                                                •
                                                z = 69/10
                                      • (0, 0, 9/7, 33/7, 0)
                                      •
           (11/6, 0, 1/2, 0, 0)           (0, 0, 0, 6, 9)
                                  •
                    z=    37/6
Traversing the feasible set


                              (x1 , x2 , x3 , u1 , u2 )




                                       (0, 33/20, 27/10, 0, 0)
                                   •
                                       z = 69/10
Find all basic solutions which are either on the x1 axis
(x2 = x3 = 0), the x2 axis (x1 = x3 = 0), or the x3 axis
(x1 = x2 = 0).
The ones that “count” are the basic solutions which are also
feasible. Find them. You should get three; one on each axis.
Find the value of the objective function on each of these
corners and find which one was biggest. What nonbasic
variable went from zero to positive? What basic variable went
from positive to zero?
Now let’s look at the numerical algorithm for the simplex method.
The initial tableau is
                   x1 x2 x3 u1 u2           z   value
              u1    3  2  110               0       6
                    3 −6
              u2          701               0       9
                   −2  4 −5 0 0
               z                            1       0

Because the variables are x1 , x2 and x3 , we can mentally block out
those columns of the tableau. What’s left are the equations u1 = 6,
u2 = 9, and z = 0.
Now let’s look at the numerical algorithm for the simplex method.
The initial tableau is
                   x1 x2 x3 u1 u2           z   value
              u1    3  2  110               0       6
                    3 −6
              u2          701               0       9
                   −2  4 −5 0 0
               z                            1       0

To go to the next tableau, we need to decide which variable becomes
basic (nonzero) and basic variable becomes zero (nonbasic). The en-
tering variable is the variable in the column with the largest nega-
tive entry in the bottom row. The departing variable is the variable
in the row which has the smallest positive θ-ratio: the “value” col-
umn divided by the column of the new entering variable.
Now let’s look at the numerical algorithm for the simplex method.
The initial tableau is
                   x1 x2 x3 u1 u2          z   value
              u1    3  2  110              0       6
                    3 −6
              u2          701              0       9
                   −2  4 −5 0 0
               z                           1       0

What is the entering variable? What is the departing variable?
Now let’s look at the numerical algorithm for the simplex method.
The initial tableau is
                    x1 x2 x3 u1 u2           z   value
               u1    3  2  110               0       6
                     3 −6
               u2          701               0       9
                    −2  4 −5 0 0
                z                            1       0

What is the entering variable? What is the departing variable?
Solution
x3 is the entering variable and u2 is the departing variable.
Now that we’ve decided which variables to swap, we need to alter
the tableau. After mentally blocking out the columns
corresponding to the nonbasic variables, we would like the basic
solution to read off as easily as it did before. That is, we want the
column of the entering variable to be all zero except in one
position where it’s one. Since there is a row being vacated by the
departing variable, we can do row operations so that:
    The entry in the column of the entering variable and the row
    of the departing variable is one.
    All the rest of the entries in the column of the entering
    variable are zero.
Now that we’ve decided which variables to swap, we need to alter
the tableau. After mentally blocking out the columns
corresponding to the nonbasic variables, we would like the basic
solution to read off as easily as it did before. That is, we want the
column of the entering variable to be all zero except in one
position where it’s one. Since there is a row being vacated by the
departing variable, we can do row operations so that:
    The entry in the column of the entering variable and the row
    of the departing variable is one.
    All the rest of the entries in the column of the entering
    variable are zero.
Do the necessary row operations.
Tableau




               x1   x2   x3 u1   u2   z value
          u1    3    2    11      0   0     6
                    −6
          u2    3         70      1   0     9
          z −2       4 −5    0   0    1    0
Tableau




               x1     x2   x3 u1       u2   z value
          u1    3      2    11          0   0     6
                      −6
          u2    3           70          1   0     9
          z −2         4 −5     0      0    1    0


                    largest negative
                    coefficient in ob-
                    jective row
Tableau


                            entering variable

               x1     x2   x3 u1       u2   z value
          u1    3      2    11          0   0     6
                      −6
          u2    3           70          1   0     9
          z −2         4 −5     0      0    1    0


                    largest negative
                    coefficient in ob-
                    jective row
Tableau


                            entering variable

               x1     x2   x3 u1       u2   z value    θ
          u1    3      2    11          0   0     6    6
                                                      9/7
                      −6
          u2    3           70          1   0     9
          z −2         4 −5     0      0    1    0


                    largest negative
                    coefficient in ob-
                    jective row
Tableau


                                                        smallest positive
                            entering variable
                                                        θ-ratio
               x1     x2   x3 u1       u2   z value    θ
          u1    3      2    11          0   0     6    6
                                                      9/7
                      −6
          u2    3           70          1   0     9
          z −2         4 −5     0      0    1    0


                    largest negative
                    coefficient in ob-
                    jective row
Tableau


   departing variable                                   smallest positive
                            entering variable
                                                        θ-ratio
               x1     x2   x3 u1       u2   z value    θ
          u1    3      2    11          0   0     6    6
                                                      9/7
                      −6
          u2    3           70          1   0     9
          z −2          4 −5    0      0    1    0


                    largest negative
                    coefficient in ob-
                    jective row
Tableau


   departing variable                                         smallest positive
                            entering variable
                                                              θ-ratio
               x1     x2   x3 u1       u2    z value        θ
          u1    3      2    11          0    0     6        6
                                                           9/7
                      −6
          u2    3           70          1    0     9
          z −2          4 −5    0      0     1     0
                                            make this entry 1
                                            and the rest of its
                    largest negative
                                            column 0
                    coefficient in ob-
                    jective row
Tableau




               x1   x2   x3 u1   u2    z value
          u1    3    2    11      0    0     6
                                             9 ×1/7
                    −6
          u2    3         70      1    0
          z −2       4 −5    0   0     1     0
                                      make this entry 1
                                      and the rest of its
                                      column 0
Tableau




                x1   x2   x3 u1    u2    z value
          u1     3    2    11       0    0     6
               3/7 −6/7
          x3               10     1/7    0   9/7

          z −2       4 −5     0    0     1     0
                                        make this entry 1
                                        and the rest of its
                                        column 0
Tableau




                x1   x2   x3 u1    u2    z value
          u1     3    2    11       0    0     6     −1
               3/7 −6/7
          x3               10     1/7    0   9/7

                                               05
          z −2       4 −5     0    0     1
                                        make this entry 1
                                        and the rest of its
                                        column 0
Tableau




               x1     x2   x3 u1  u2    z value
                            0 1−
          u1 18/7   20/7         1/7    0 33/7
                    −6/7
          x3 3/7            1 0 1/7     0   9/7

           z −2       4 −5    0    0    1     0
                                       make this entry 1
                                       and the rest of its
                                       column 0
Tableau




               x1      x2   x3 u1  u2      z value
                             0 1−
          u1 18/7    20/7         1/7      0 33/7
                     −6/7
          x3 3/7             1 0 1/7       0   9/7

                     −2/7
           z   1/7          0   0   5/7    1 45/7
                                          make this entry 1
                                          and the rest of its
                                          column 0
Tableau




               x1        x2   x3 u1  u2     z value
                               0 1−
          u1 18/7      20/7         1/7     0 33/7
                       −6/7
          x3 3/7               1 0 1/7      0   9/7

                       −2/7
           z     1/7          0   0   5/7   1   45/7



               largest negative
               coefficient in ob-
               jective row
Tableau


                          entering variable

               x1        x2   x3 u1  u2       z value
                               0 1−
          u1 18/7      20/7         1/7       0 33/7
                       −6/7
          x3 3/7               1 0 1/7        0   9/7

                       −2/7
           z     1/7          0    0    5/7   1   45/7



               largest negative
               coefficient in ob-
               jective row
Tableau


                          entering variable

               x1        x2   x3 u1  u2       z value θ
                               0 1−
          u1 18/7      20/7         1/7       0 33/7 33/20
                       −6/7                       9/7 −3/2
          x3 3/7               1 0 1/7        0
                       −2/7
           z     1/7          0    0    5/7   1   45/7



               largest negative
               coefficient in ob-
               jective row
Tableau

                                                         smallest positive
                                                         θ-ratio
                          entering variable

               x1        x2   x3 u1  u2       z value θ
                               0 1−
          u1 18/7      20/7         1/7       0 33/7 33/20
                       −6/7                       9/7 −3/2
          x3 3/7               1 0 1/7        0
                       −2/7
           z     1/7          0    0    5/7   1   45/7



               largest negative
               coefficient in ob-
               jective row
Tableau

                                                         smallest positive
   departing variable                                    θ-ratio
                          entering variable

               x1        x2   x3 u1  u2       z value θ
                               0 1−
          u1 18/7      20/7         1/7       0 33/7 33/20
                       −6/7                       9/7 −3/2
          x3 3/7               1 0 1/7        0
                       −2/7
           z     1/7          0    0    5/7   1   45/7



               largest negative
               coefficient in ob-
               jective row
Tableau

                                                            smallest positive
   departing variable                                       θ-ratio
                          entering variable

               x1        x2   x3 u1  u2        z value θ
                               0 1−
          u1 18/7      20/7         1/7        0 33/7 33/20
                       −6/7                        9/7 −3/2
          x3 3/7               1 0 1/7         0
                       −2/7
           z     1/7          0    0    5/7    1   45/7



                                              make this entry 1
               largest negative
                                              and the rest of its
               coefficient in ob-
                                              column 0
               jective row
Tableau




               x1      x2   x3 u1  u2      z value
                             0 1−          0 33/7 ×7/20
          u1 18/7    20/7         1/7

                     −6/7
          x3 3/7             1 0 1/7       0   9/7

                     −2/7
           z   1/7          0   0   5/7    1   45/7



                                          make this entry 1
                                          and the rest of its
                                          column 0
Tableau




               x1     x2   x3 u1      u2   z value
                              7/20 −1/20
          x2 9/10      1    0              0 33/20
                    −6/7
          x3 3/7            1 0 1/7        0   9/7

                    −2/7
          z   1/7          0    0    5/7   1   45/7


                                           make this entry 1
                                           and the rest of its
                                           column 0
Tableau




               x1     x2   x3 u1      u2   z value
                              7/20 −1/20
          x2 9/10      1    0              0 33/20     6/7
                    −6/7
          x3 3/7            1 0 1/7        0   9/7
                                                       2/7
                    −2/7
          z   1/7          0    0    5/7   1   45/7


                                           make this entry 1
                                           and the rest of its
                                           column 0
Tableau




               x1     x2   x3 u1      u2   z value
                              7/20 −1/20
          x2 9/10      1    0              0 33/20
          x3 6/5       0    1 3/10 1/10    0 27/10
                    −2/7
          z   1/7          0    0    5/7   1   45/7


                                           make this entry 1
                                           and the rest of its
                                           column 0
Tableau




               x1   x2   x3 u1      u2   z value
                            7/20 −1/20
          x2 9/10    1    0              0 33/20
          x3 6/5     0    1 3/10 1/10    0 27/10
          z   2/5   0    0 1/10   7/10   1   69/10
Tableau




               x1   x2   x3 u1      u2   z value
                            7/20 −1/20
          x2 9/10    1    0              0 33/20
          x3 6/5     0    1 3/10 1/10    0 27/10
          z   2/5   0    0 1/10   7/10    1   69/10




           No more negative coefficients.
           We are done!
Tableau




               x1   x2   x3 u1      u2   z value
                            7/20 −1/20
          x2 9/10    1    0              0 33/20
          x3 6/5     0    1 3/10 1/10    0 27/10
          z   2/5   0    0 1/10   7/10    1   69/10




           No more negative coefficients.
           We are done!

More Related Content

Viewers also liked

Comparative characteristics of pert and cpm
Comparative characteristics of pert and cpmComparative characteristics of pert and cpm
Comparative characteristics of pert and cpmKinshook Chaturvedi
 
Simplex Method in Maximization Case
Simplex Method in Maximization CaseSimplex Method in Maximization Case
Simplex Method in Maximization CaseSemih Gümüşbaş
 
Lesson34 Intro To Game Theory Slides
Lesson34    Intro To  Game  Theory SlidesLesson34    Intro To  Game  Theory Slides
Lesson34 Intro To Game Theory SlidesMatthew Leingang
 
Lesson 1: The Tangent and Velocity Problems
Lesson 1: The Tangent and Velocity ProblemsLesson 1: The Tangent and Velocity Problems
Lesson 1: The Tangent and Velocity ProblemsMatthew Leingang
 
Final Exam Review (Integration)
Final Exam Review (Integration)Final Exam Review (Integration)
Final Exam Review (Integration)Matthew Leingang
 
Lesson 6: The derivative as a function
Lesson 6: The derivative as a functionLesson 6: The derivative as a function
Lesson 6: The derivative as a functionMatthew Leingang
 
Lesson 5: Tangents, Velocity, the Derivative
Lesson 5: Tangents, Velocity, the DerivativeLesson 5: Tangents, Velocity, the Derivative
Lesson 5: Tangents, Velocity, the DerivativeMatthew Leingang
 
Lesson 1: Coordinates and Distance
Lesson 1: Coordinates and DistanceLesson 1: Coordinates and Distance
Lesson 1: Coordinates and DistanceMatthew Leingang
 
Surface treatment technologies
Surface treatment technologiesSurface treatment technologies
Surface treatment technologiesAhmed Khalaf
 
Lesson 3: The Cross Product
Lesson 3: The Cross ProductLesson 3: The Cross Product
Lesson 3: The Cross ProductMatthew Leingang
 
Lesson 31: The Simplex Method, I
Lesson 31: The Simplex Method, ILesson 31: The Simplex Method, I
Lesson 31: The Simplex Method, IMatthew Leingang
 
Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Matthew Leingang
 
Lesson 5: Functions and surfaces
Lesson 5: Functions and surfacesLesson 5: Functions and surfaces
Lesson 5: Functions and surfacesMatthew Leingang
 
Lesson 4: Limits Involving Infinity
Lesson 4: Limits Involving InfinityLesson 4: Limits Involving Infinity
Lesson 4: Limits Involving InfinityMatthew Leingang
 
Lesson 29: Linear Programming I
Lesson 29: Linear Programming ILesson 29: Linear Programming I
Lesson 29: Linear Programming IMatthew Leingang
 

Viewers also liked (20)

PROJECT MANAGEMENT - CPM & PERT
PROJECT MANAGEMENT - CPM & PERTPROJECT MANAGEMENT - CPM & PERT
PROJECT MANAGEMENT - CPM & PERT
 
IGNOU PERT CPM
IGNOU PERT CPMIGNOU PERT CPM
IGNOU PERT CPM
 
Comparative characteristics of pert and cpm
Comparative characteristics of pert and cpmComparative characteristics of pert and cpm
Comparative characteristics of pert and cpm
 
Simplex Method in Maximization Case
Simplex Method in Maximization CaseSimplex Method in Maximization Case
Simplex Method in Maximization Case
 
Lesson 3: Continuity
Lesson 3: ContinuityLesson 3: Continuity
Lesson 3: Continuity
 
Lesson34 Intro To Game Theory Slides
Lesson34    Intro To  Game  Theory SlidesLesson34    Intro To  Game  Theory Slides
Lesson34 Intro To Game Theory Slides
 
Lesson 1: The Tangent and Velocity Problems
Lesson 1: The Tangent and Velocity ProblemsLesson 1: The Tangent and Velocity Problems
Lesson 1: The Tangent and Velocity Problems
 
Final Exam Review (Integration)
Final Exam Review (Integration)Final Exam Review (Integration)
Final Exam Review (Integration)
 
Lesson 6: The derivative as a function
Lesson 6: The derivative as a functionLesson 6: The derivative as a function
Lesson 6: The derivative as a function
 
Lesson 5: Tangents, Velocity, the Derivative
Lesson 5: Tangents, Velocity, the DerivativeLesson 5: Tangents, Velocity, the Derivative
Lesson 5: Tangents, Velocity, the Derivative
 
Introduction to Math 1a
Introduction to Math 1aIntroduction to Math 1a
Introduction to Math 1a
 
Lesson 1: Coordinates and Distance
Lesson 1: Coordinates and DistanceLesson 1: Coordinates and Distance
Lesson 1: Coordinates and Distance
 
Surface treatment technologies
Surface treatment technologiesSurface treatment technologies
Surface treatment technologies
 
Lesson 3: The Cross Product
Lesson 3: The Cross ProductLesson 3: The Cross Product
Lesson 3: The Cross Product
 
Review for final exam
Review for final examReview for final exam
Review for final exam
 
Lesson 31: The Simplex Method, I
Lesson 31: The Simplex Method, ILesson 31: The Simplex Method, I
Lesson 31: The Simplex Method, I
 
Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?Lesson 7: What does f' say about f?
Lesson 7: What does f' say about f?
 
Lesson 5: Functions and surfaces
Lesson 5: Functions and surfacesLesson 5: Functions and surfaces
Lesson 5: Functions and surfaces
 
Lesson 4: Limits Involving Infinity
Lesson 4: Limits Involving InfinityLesson 4: Limits Involving Infinity
Lesson 4: Limits Involving Infinity
 
Lesson 29: Linear Programming I
Lesson 29: Linear Programming ILesson 29: Linear Programming I
Lesson 29: Linear Programming I
 

Similar to Lesson 32: Simplex Method II

Eight Regression Algorithms
Eight Regression AlgorithmsEight Regression Algorithms
Eight Regression Algorithmsguestfee8698
 
Principle stresses and planes
Principle stresses and planesPrinciple stresses and planes
Principle stresses and planesPRAJWAL SHRIRAO
 
ゲーム理論BASIC 第41回 -続・仁-
ゲーム理論BASIC 第41回 -続・仁-ゲーム理論BASIC 第41回 -続・仁-
ゲーム理論BASIC 第41回 -続・仁-ssusere0a682
 
ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-
ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-
ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-ssusere0a682
 
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...Amro Elfeki
 
Day 7 review (2)
Day 7   review (2)Day 7   review (2)
Day 7 review (2)lgemgnani
 
Iceaa07 Foils
Iceaa07 FoilsIceaa07 Foils
Iceaa07 FoilsAntonini
 
V. Dragovic: Geometrization and Generalization of the Kowalevski top
V. Dragovic: Geometrization and Generalization of the Kowalevski topV. Dragovic: Geometrization and Generalization of the Kowalevski top
V. Dragovic: Geometrization and Generalization of the Kowalevski topSEENET-MTP
 
ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-ssusere0a682
 
Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)Matthew Leingang
 
2.2-2.5 review (2)
2.2-2.5 review (2)2.2-2.5 review (2)
2.2-2.5 review (2)lgemgnani
 
Diffusion kernels on SNP data embedded in a non-Euclidean metric
Diffusion kernels on SNP data embedded in a non-Euclidean metricDiffusion kernels on SNP data embedded in a non-Euclidean metric
Diffusion kernels on SNP data embedded in a non-Euclidean metricGota Morota
 
Document1
Document1Document1
Document1faket15
 
0.0. steffensen.naol
0.0. steffensen.naol0.0. steffensen.naol
0.0. steffensen.naolAgua SAC
 
Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)Matthew Leingang
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationMatthew Leingang
 
Inequalities quadratic, fractional & irrational form
Inequalities   quadratic, fractional & irrational formInequalities   quadratic, fractional & irrational form
Inequalities quadratic, fractional & irrational formLily Maryati
 
short course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatisticsshort course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatisticsAmro Elfeki
 
Gabarito completo anton_calculo_8ed_caps_01_08
Gabarito completo anton_calculo_8ed_caps_01_08Gabarito completo anton_calculo_8ed_caps_01_08
Gabarito completo anton_calculo_8ed_caps_01_08joseotaviosurdi
 

Similar to Lesson 32: Simplex Method II (20)

Eight Regression Algorithms
Eight Regression AlgorithmsEight Regression Algorithms
Eight Regression Algorithms
 
Principle stresses and planes
Principle stresses and planesPrinciple stresses and planes
Principle stresses and planes
 
ゲーム理論BASIC 第41回 -続・仁-
ゲーム理論BASIC 第41回 -続・仁-ゲーム理論BASIC 第41回 -続・仁-
ゲーム理論BASIC 第41回 -続・仁-
 
ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-
ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-
ゲーム理論 BASIC 演習72 -3人ゲーム分析:仁-
 
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
 
Day 7 review (2)
Day 7   review (2)Day 7   review (2)
Day 7 review (2)
 
Iceaa07 Foils
Iceaa07 FoilsIceaa07 Foils
Iceaa07 Foils
 
V. Dragovic: Geometrization and Generalization of the Kowalevski top
V. Dragovic: Geometrization and Generalization of the Kowalevski topV. Dragovic: Geometrization and Generalization of the Kowalevski top
V. Dragovic: Geometrization and Generalization of the Kowalevski top
 
ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-ゲーム理論BASIC 第38回 -続・カーネル-
ゲーム理論BASIC 第38回 -続・カーネル-
 
Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)Lesson 21: Curve Sketching (Section 10 version)
Lesson 21: Curve Sketching (Section 10 version)
 
2.2-2.5 review (2)
2.2-2.5 review (2)2.2-2.5 review (2)
2.2-2.5 review (2)
 
Diffusion kernels on SNP data embedded in a non-Euclidean metric
Diffusion kernels on SNP data embedded in a non-Euclidean metricDiffusion kernels on SNP data embedded in a non-Euclidean metric
Diffusion kernels on SNP data embedded in a non-Euclidean metric
 
Document1
Document1Document1
Document1
 
0.0. steffensen.naol
0.0. steffensen.naol0.0. steffensen.naol
0.0. steffensen.naol
 
Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)Lesson 21: Curve Sketching (Section 4 version)
Lesson 21: Curve Sketching (Section 4 version)
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian Elimination
 
Inequalities quadratic, fractional & irrational form
Inequalities   quadratic, fractional & irrational formInequalities   quadratic, fractional & irrational form
Inequalities quadratic, fractional & irrational form
 
short course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatisticsshort course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatistics
 
Tut5
Tut5Tut5
Tut5
 
Gabarito completo anton_calculo_8ed_caps_01_08
Gabarito completo anton_calculo_8ed_caps_01_08Gabarito completo anton_calculo_8ed_caps_01_08
Gabarito completo anton_calculo_8ed_caps_01_08
 

More from Matthew Leingang

Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceMatthew Leingang
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsMatthew Leingang
 
Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Matthew Leingang
 
Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Matthew Leingang
 
Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Matthew Leingang
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Matthew Leingang
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Matthew Leingang
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Matthew Leingang
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Matthew Leingang
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Matthew Leingang
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Matthew Leingang
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Matthew Leingang
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Matthew Leingang
 

More from Matthew Leingang (20)

Making Lesson Plans
Making Lesson PlansMaking Lesson Plans
Making Lesson Plans
 
Streamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choiceStreamlining assessment, feedback, and archival with auto-multiple-choice
Streamlining assessment, feedback, and archival with auto-multiple-choice
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper Assessments
 
Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)Lesson 27: Integration by Substitution (slides)
Lesson 27: Integration by Substitution (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)Lesson 27: Integration by Substitution (handout)
Lesson 27: Integration by Substitution (handout)
 
Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)Lesson 26: The Fundamental Theorem of Calculus (handout)
Lesson 26: The Fundamental Theorem of Calculus (handout)
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)Lesson 25: Evaluating Definite Integrals (handout)
Lesson 25: Evaluating Definite Integrals (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)Lesson 24: Areas and Distances, The Definite Integral (handout)
Lesson 24: Areas and Distances, The Definite Integral (handout)
 
Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)Lesson 24: Areas and Distances, The Definite Integral (slides)
Lesson 24: Areas and Distances, The Definite Integral (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)Lesson 22: Optimization Problems (slides)
Lesson 22: Optimization Problems (slides)
 
Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)Lesson 22: Optimization Problems (handout)
Lesson 22: Optimization Problems (handout)
 
Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)Lesson 21: Curve Sketching (slides)
Lesson 21: Curve Sketching (slides)
 
Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)Lesson 21: Curve Sketching (handout)
Lesson 21: Curve Sketching (handout)
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
 
Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)Lesson 20: Derivatives and the Shapes of Curves (handout)
Lesson 20: Derivatives and the Shapes of Curves (handout)
 

Recently uploaded

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Lesson 32: Simplex Method II

  • 1. Lesson 32 (KH, Section 11.2) The Simplex Method Math 20 December 7, 2007 Announcements Pset 11 due December 11. Pset 12 due December 18. next PS Sunday 6-7 in SC B-10
  • 2. We are going to solve the linear programming problem of maximizing z = 2x1 − 4x2 + 5x3 subject to constraints 3x1 + 2x2 + x3 ≤ 6 3x1 − 6x2 + 7x3 ≤ 9 and x1 , x2 , x3 ≥ 0.
  • 3. Introduce slack variables u1 and u2 and rewrite the LP problem to replace the inequalities with equalities.
  • 4. Introduce slack variables u1 and u2 and rewrite the LP problem to replace the inequalities with equalities. Solution 3x1 +2x3 + x3 +u1 =6 3x1 −6x2 +7x3 +u2 =9 The new constraints are x1 , x2 , x3 , u1 , u2 ≥ 0.
  • 5. How many basic solutions are there to this problem? (Don’t find them, just count them)
  • 6. How many basic solutions are there to this problem? (Don’t find them, just count them) Solution There are 3 + 2 = 5 variables and 3 of them are decision variables, so the number of basic solutions is 5 = 10 3
  • 7. Let’s choose x1 = x2 = x3 = 0, u1 = 6, u2 = 9 for our initial basic solution. Since it’s feasible (all x and u variables are nonnegative), we know it’s a corner of the feasible set. The geometric idea behind the simplex method is to traverse the feasible set, moving at each set to the adjacent vertex which increases the objective function the most. So let’s find the corners adjacent to (0, 0, 0).
  • 8. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) • (0, 0, 0, 6, 9)
  • 9. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) (0, 0, 6, 0, −6) • (0, 0, 9/7, 33/7, 0) • (0, −3/2, 0, 3, 0) (0, 3, 0, 0, 18) • • • (0, 0, 0, 6, 9) • (2, 0, 0, 0, 3) • (3, 0, 0, −3, 0)
  • 10. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) (0, 0, 6, 0, −6) • (0, 0, 9/7, 33/7, 0) • (0, −3/2, 0, 3, 0) (0, 3, 0, 0, 18) • • • • (2, 0, 0, 0, 3) (3, 0, 0, −3, 0) •
  • 11. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) z = 45/7 • (0, 0, 9/7, 33/7, 0) (0, 3, 0, 0, 18) • • z = −18 z = 6 • (2, 0, 0, 0, 3)
  • 12. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) z = 45/7 • (0, 0, 9/7, 33/7, 0) (0, 3, 0, 0, 18) • • z = −18 z = 6 • (2, 0, 0, 0, 3)
  • 13. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) (0, 0, 6, 0, −6) • (0, 33/20, 27/10, 0, 0) • (0, 0, 9/7, 33/7, 0) • (0, −3/2, 0, 3, 0) (11/6, 0, 1/2, 0, 0)• • (0, 0, 0, 6, 9) • (3, 0, 0, −3, 0) •
  • 14. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) (0, 33/20, 27/10, 0, 0) • z = 69/10 • (0, 0, 9/7, 33/7, 0) • (11/6, 0, 1/2, 0, 0) (0, 0, 0, 6, 9) • z= 37/6
  • 15. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) (0, 33/20, 27/10, 0, 0) • z = 69/10 • (0, 0, 9/7, 33/7, 0) • (11/6, 0, 1/2, 0, 0) (0, 0, 0, 6, 9) • z= 37/6
  • 16. Traversing the feasible set (x1 , x2 , x3 , u1 , u2 ) (0, 33/20, 27/10, 0, 0) • z = 69/10
  • 17. Find all basic solutions which are either on the x1 axis (x2 = x3 = 0), the x2 axis (x1 = x3 = 0), or the x3 axis (x1 = x2 = 0). The ones that “count” are the basic solutions which are also feasible. Find them. You should get three; one on each axis. Find the value of the objective function on each of these corners and find which one was biggest. What nonbasic variable went from zero to positive? What basic variable went from positive to zero?
  • 18. Now let’s look at the numerical algorithm for the simplex method. The initial tableau is x1 x2 x3 u1 u2 z value u1 3 2 110 0 6 3 −6 u2 701 0 9 −2 4 −5 0 0 z 1 0 Because the variables are x1 , x2 and x3 , we can mentally block out those columns of the tableau. What’s left are the equations u1 = 6, u2 = 9, and z = 0.
  • 19. Now let’s look at the numerical algorithm for the simplex method. The initial tableau is x1 x2 x3 u1 u2 z value u1 3 2 110 0 6 3 −6 u2 701 0 9 −2 4 −5 0 0 z 1 0 To go to the next tableau, we need to decide which variable becomes basic (nonzero) and basic variable becomes zero (nonbasic). The en- tering variable is the variable in the column with the largest nega- tive entry in the bottom row. The departing variable is the variable in the row which has the smallest positive θ-ratio: the “value” col- umn divided by the column of the new entering variable.
  • 20. Now let’s look at the numerical algorithm for the simplex method. The initial tableau is x1 x2 x3 u1 u2 z value u1 3 2 110 0 6 3 −6 u2 701 0 9 −2 4 −5 0 0 z 1 0 What is the entering variable? What is the departing variable?
  • 21. Now let’s look at the numerical algorithm for the simplex method. The initial tableau is x1 x2 x3 u1 u2 z value u1 3 2 110 0 6 3 −6 u2 701 0 9 −2 4 −5 0 0 z 1 0 What is the entering variable? What is the departing variable? Solution x3 is the entering variable and u2 is the departing variable.
  • 22. Now that we’ve decided which variables to swap, we need to alter the tableau. After mentally blocking out the columns corresponding to the nonbasic variables, we would like the basic solution to read off as easily as it did before. That is, we want the column of the entering variable to be all zero except in one position where it’s one. Since there is a row being vacated by the departing variable, we can do row operations so that: The entry in the column of the entering variable and the row of the departing variable is one. All the rest of the entries in the column of the entering variable are zero.
  • 23. Now that we’ve decided which variables to swap, we need to alter the tableau. After mentally blocking out the columns corresponding to the nonbasic variables, we would like the basic solution to read off as easily as it did before. That is, we want the column of the entering variable to be all zero except in one position where it’s one. Since there is a row being vacated by the departing variable, we can do row operations so that: The entry in the column of the entering variable and the row of the departing variable is one. All the rest of the entries in the column of the entering variable are zero. Do the necessary row operations.
  • 24. Tableau x1 x2 x3 u1 u2 z value u1 3 2 11 0 0 6 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0
  • 25. Tableau x1 x2 x3 u1 u2 z value u1 3 2 11 0 0 6 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0 largest negative coefficient in ob- jective row
  • 26. Tableau entering variable x1 x2 x3 u1 u2 z value u1 3 2 11 0 0 6 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0 largest negative coefficient in ob- jective row
  • 27. Tableau entering variable x1 x2 x3 u1 u2 z value θ u1 3 2 11 0 0 6 6 9/7 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0 largest negative coefficient in ob- jective row
  • 28. Tableau smallest positive entering variable θ-ratio x1 x2 x3 u1 u2 z value θ u1 3 2 11 0 0 6 6 9/7 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0 largest negative coefficient in ob- jective row
  • 29. Tableau departing variable smallest positive entering variable θ-ratio x1 x2 x3 u1 u2 z value θ u1 3 2 11 0 0 6 6 9/7 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0 largest negative coefficient in ob- jective row
  • 30. Tableau departing variable smallest positive entering variable θ-ratio x1 x2 x3 u1 u2 z value θ u1 3 2 11 0 0 6 6 9/7 −6 u2 3 70 1 0 9 z −2 4 −5 0 0 1 0 make this entry 1 and the rest of its largest negative column 0 coefficient in ob- jective row
  • 31. Tableau x1 x2 x3 u1 u2 z value u1 3 2 11 0 0 6 9 ×1/7 −6 u2 3 70 1 0 z −2 4 −5 0 0 1 0 make this entry 1 and the rest of its column 0
  • 32. Tableau x1 x2 x3 u1 u2 z value u1 3 2 11 0 0 6 3/7 −6/7 x3 10 1/7 0 9/7 z −2 4 −5 0 0 1 0 make this entry 1 and the rest of its column 0
  • 33. Tableau x1 x2 x3 u1 u2 z value u1 3 2 11 0 0 6 −1 3/7 −6/7 x3 10 1/7 0 9/7 05 z −2 4 −5 0 0 1 make this entry 1 and the rest of its column 0
  • 34. Tableau x1 x2 x3 u1 u2 z value 0 1− u1 18/7 20/7 1/7 0 33/7 −6/7 x3 3/7 1 0 1/7 0 9/7 z −2 4 −5 0 0 1 0 make this entry 1 and the rest of its column 0
  • 35. Tableau x1 x2 x3 u1 u2 z value 0 1− u1 18/7 20/7 1/7 0 33/7 −6/7 x3 3/7 1 0 1/7 0 9/7 −2/7 z 1/7 0 0 5/7 1 45/7 make this entry 1 and the rest of its column 0
  • 36. Tableau x1 x2 x3 u1 u2 z value 0 1− u1 18/7 20/7 1/7 0 33/7 −6/7 x3 3/7 1 0 1/7 0 9/7 −2/7 z 1/7 0 0 5/7 1 45/7 largest negative coefficient in ob- jective row
  • 37. Tableau entering variable x1 x2 x3 u1 u2 z value 0 1− u1 18/7 20/7 1/7 0 33/7 −6/7 x3 3/7 1 0 1/7 0 9/7 −2/7 z 1/7 0 0 5/7 1 45/7 largest negative coefficient in ob- jective row
  • 38. Tableau entering variable x1 x2 x3 u1 u2 z value θ 0 1− u1 18/7 20/7 1/7 0 33/7 33/20 −6/7 9/7 −3/2 x3 3/7 1 0 1/7 0 −2/7 z 1/7 0 0 5/7 1 45/7 largest negative coefficient in ob- jective row
  • 39. Tableau smallest positive θ-ratio entering variable x1 x2 x3 u1 u2 z value θ 0 1− u1 18/7 20/7 1/7 0 33/7 33/20 −6/7 9/7 −3/2 x3 3/7 1 0 1/7 0 −2/7 z 1/7 0 0 5/7 1 45/7 largest negative coefficient in ob- jective row
  • 40. Tableau smallest positive departing variable θ-ratio entering variable x1 x2 x3 u1 u2 z value θ 0 1− u1 18/7 20/7 1/7 0 33/7 33/20 −6/7 9/7 −3/2 x3 3/7 1 0 1/7 0 −2/7 z 1/7 0 0 5/7 1 45/7 largest negative coefficient in ob- jective row
  • 41. Tableau smallest positive departing variable θ-ratio entering variable x1 x2 x3 u1 u2 z value θ 0 1− u1 18/7 20/7 1/7 0 33/7 33/20 −6/7 9/7 −3/2 x3 3/7 1 0 1/7 0 −2/7 z 1/7 0 0 5/7 1 45/7 make this entry 1 largest negative and the rest of its coefficient in ob- column 0 jective row
  • 42. Tableau x1 x2 x3 u1 u2 z value 0 1− 0 33/7 ×7/20 u1 18/7 20/7 1/7 −6/7 x3 3/7 1 0 1/7 0 9/7 −2/7 z 1/7 0 0 5/7 1 45/7 make this entry 1 and the rest of its column 0
  • 43. Tableau x1 x2 x3 u1 u2 z value 7/20 −1/20 x2 9/10 1 0 0 33/20 −6/7 x3 3/7 1 0 1/7 0 9/7 −2/7 z 1/7 0 0 5/7 1 45/7 make this entry 1 and the rest of its column 0
  • 44. Tableau x1 x2 x3 u1 u2 z value 7/20 −1/20 x2 9/10 1 0 0 33/20 6/7 −6/7 x3 3/7 1 0 1/7 0 9/7 2/7 −2/7 z 1/7 0 0 5/7 1 45/7 make this entry 1 and the rest of its column 0
  • 45. Tableau x1 x2 x3 u1 u2 z value 7/20 −1/20 x2 9/10 1 0 0 33/20 x3 6/5 0 1 3/10 1/10 0 27/10 −2/7 z 1/7 0 0 5/7 1 45/7 make this entry 1 and the rest of its column 0
  • 46. Tableau x1 x2 x3 u1 u2 z value 7/20 −1/20 x2 9/10 1 0 0 33/20 x3 6/5 0 1 3/10 1/10 0 27/10 z 2/5 0 0 1/10 7/10 1 69/10
  • 47. Tableau x1 x2 x3 u1 u2 z value 7/20 −1/20 x2 9/10 1 0 0 33/20 x3 6/5 0 1 3/10 1/10 0 27/10 z 2/5 0 0 1/10 7/10 1 69/10 No more negative coefficients. We are done!
  • 48. Tableau x1 x2 x3 u1 u2 z value 7/20 −1/20 x2 9/10 1 0 0 33/20 x3 6/5 0 1 3/10 1/10 0 27/10 z 2/5 0 0 1/10 7/10 1 69/10 No more negative coefficients. We are done!