SlideShare a Scribd company logo
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

PROJECT MANAGEMENT - CPM & PERT
PROJECT MANAGEMENT - CPM & PERTPROJECT MANAGEMENT - CPM & PERT
PROJECT MANAGEMENT - CPM & PERT
Dr. Varaprasada Rao Manda
 
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 Case
Semih Gümüşbaş
 
Lesson 3: Continuity
Lesson 3: ContinuityLesson 3: Continuity
Lesson 3: Continuity
Matthew Leingang
 
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 Problems
Matthew 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 function
Matthew Leingang
 
Lesson 5: Tangents, Velocity, the Derivative
Lesson 5: Tangents, Velocity, the DerivativeLesson 5: Tangents, Velocity, the Derivative
Lesson 5: Tangents, Velocity, the Derivative
Matthew Leingang
 
Introduction to Math 1a
Introduction to Math 1aIntroduction to Math 1a
Introduction to Math 1a
Matthew 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 technologies
Ahmed Khalaf
 
Lesson 3: The Cross Product
Lesson 3: The Cross ProductLesson 3: The Cross Product
Lesson 3: The Cross Product
Matthew Leingang
 
Lesson 31: The Simplex Method, I
Lesson 31: The Simplex Method, ILesson 31: The Simplex Method, I
Lesson 31: The Simplex Method, I
Matthew 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 surfaces
Matthew Leingang
 
Lesson 4: Limits Involving Infinity
Lesson 4: Limits Involving InfinityLesson 4: Limits Involving Infinity
Lesson 4: Limits Involving Infinity
Matthew Leingang
 
Lesson 29: Linear Programming I
Lesson 29: Linear Programming ILesson 29: Linear Programming I
Lesson 29: Linear Programming I
Matthew 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 planes
PRAJWAL 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 Foils
Antonini
 
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
SEENET-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 metric
Gota Morota
 
Document1
Document1Document1
Document1faket15
 
0.0. steffensen.naol
0.0. steffensen.naol0.0. steffensen.naol
0.0. steffensen.naol
Agua 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 geostatistics
Amro 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

Making Lesson Plans
Making Lesson PlansMaking Lesson Plans
Making Lesson Plans
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-choice
Matthew Leingang
 
Electronic Grading of Paper Assessments
Electronic Grading of Paper AssessmentsElectronic Grading of Paper Assessments
Electronic Grading of Paper Assessments
Matthew 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

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 

Recently uploaded (20)

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 

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!