SlideShare uma empresa Scribd logo
1 de 41
Baixar para ler offline
Lesson 31 (KH, Section 11.2)
                The Simplex Method

                           Math 20


                      December 5, 2007

Announcements
   Pset 11 due December 10. Pset 12 due December 17.
   ML OH: Today 1–3 (SC 323)
   SS OH: Tonight 8:30–9:30 in Quincy dining hall
   HW coming
   Midterm II review slides online
   Midterm II: tomorrow 7–8:30pm in Hall A
Outline

   Setup

   Illustrative Problem
        Slack Variables

   The Simplex Method, By Example
      The Initial Basic Feasible Solution
      Creating a New Tableau

   Recap of Steps

   Example
Setup
  A standard linear programming problem is to maximize the
  quantity
                    c1 x1 + c2 x2 + . . . cn xn = c x
  subject to constraints

                    a11 x1 + a12 x2 +. . .+ a1n xn ≤ b1
                    a21 x1 + a22 x2 +. . .+ a2n xn ≤ b2
                       ...
                   am1 x1 +am2 x2 +. . .+amn xn ≤ bm


  or
                                Ax ≤ b.
  We usually include the nonnegativity constraint x ≥ 0. Today we
  will also assume b ≥ 0.
Any vector x which satifies all the inequalities is called a feasible
solution to the given problem, and a feasible solution maximizing
the objective function is called an optimal solution.
Outline

   Setup

   Illustrative Problem
        Slack Variables

   The Simplex Method, By Example
      The Initial Basic Feasible Solution
      Creating a New Tableau

   Recap of Steps

   Example
Illustrative Problem


   We will use the baker of before. He is trying to maximize

                                z = 8x + 10y

   subject to the constraints

                                2x+ y ≤50
                                 x+ 2y ≤70
                                 x≥ 0
                                 y ≥ 0.
Slack Variables
   We can turn the inequalities into equalities by inserting new
   variables, which are called slack variables. Thus the first equation
   of constraint becomes

                    2x + y ≤ 50 =⇒ 2x + y + u = 50,

   and the second

                    x + 2y ≤ 70 =⇒ x + 2y + v = 70.

   But u and v are nonnegative. So the new problem is to maximize
   8x + 10y subject to constraints

                           2x+ y +u       =50
                             x+2y     +v =70


            x ≥0          y ≥0           u≥0            v ≥0
In general, we insert slack variables u1 , u2 , . . . , um and the
equations of constraint become

                              Ax + u = b,

along with x ≥ 0, u ≥ 0.
Definition
The vector x in Rn+m is called a basic solution if its obtained by
setting n of the variables in this equation equal to zero and solving
for the remaining n variables. The m variables are we solve for are
called the basic variables, and the n variables set equal to zero are
called the nonbasic variables. The vector x is called a basic
feasible solution if it is a basic solution that also satisfies the
inequalities x ≥ 0.
Why are basic feasible solutions necessary?
Theorem
If a LP problem has an optimal solution, then it has a basic
optimal solution.
This is just a restatement of the corner principle. So we only need
to find the basic feasible solutions!
Back to the Baker
      y
          (0, 50)
 50

 40       (0, 35)
                    (10, 30)
 30
                                   x+
                      2x




                                        2y
 20
                       +y




                                             =7
                                                  0
                           =5




 10
                             0




          (0, 0)                 (25, 0)                   (70, 0)
                                                                      x
               10       20        30       40         50   60    70
Back to the Baker
      y
 50       not feasible

 40       (0, 35)
                    (10, 30)
 30

                                     v=
 20
                                        0
                       u=
                         0




 10
          (0, 0)               (25, 0)             not feasible
                                                                   x
               10        20     30       40   50       60     70
How many basic feasible solutions are there? Out of the m + n
variables, we choose n to set equal to zero, and solve for the rest.
This can be done
                        n+m         (n + m)!
                                 =
                           m          m! n!
ways. That’s a lot!
The simplex method is a way to arrive at an optimal solution by
traversing the vertices of the feasible set, in each step increasing
the objective function by as much as possible.
Outline

   Setup

   Illustrative Problem
        Slack Variables

   The Simplex Method, By Example
      The Initial Basic Feasible Solution
      Creating a New Tableau

   Recap of Steps

   Example
We’ll work with the illustrative problem. We can start with the
basic feasible solution x = 0, y = 0. Thus u = 50 and v = 70.
This is our initial basic solution.
We’ll start writing everything in a table (or tableau), so let’s also
write the objective function with a right-hand side of zero. Thus

                        −8x − 10y + z = 0.

We put this all together, forming what is called the initial tableau:

                     x   y        u   v   z   value
                  u  2   1        1   0   0      50
                  v  1   2        0   1   0      70
                  z −8 −10        0   0   1       0
x   y       u   v   z   value
                  u  2   1       1   0   0      50
                  v  1   2       0   1   0      70
                  z −8 −10       0   0   1       0
Is the solution u = 50, v = 70 (i.e., x = 0, y = 0 optimal?)
x   y        u   v   z   value
                 u  2   1        1   0   0      50
                 v  1   2        0   1   0      70
                 z −8 −10        0   0   1       0
Is the solution u = 50, v = 70 (i.e., x = 0, y = 0 optimal?) No,
increasing x or y would increase z.
x   y        u   v   z   value
                  u  2   1        1   0   0      50
                  v  1   2        0   1   0      70
                  z −8 −10        0   0   1       0
Is the solution u = 50, v = 70 (i.e., x = 0, y = 0 optimal?) No,
increasing x or y would increase z.
Optimality Criterion
If the objective row of a tableau has no negative entries in the
columns labeled with variables, then the indicated solution is
optimal and we can stop our computation.
x   y       u   v   z   value
             u  2   1       1   0   0      50
             v  1   2       0   1   0      70
             z −8 −10       0   0   1       0

Move from one basic solution to another
One of the zero (nonbasic) variables becomes nonzero and
one of nonzero (basic) variables becomes zero
Do this as efficiently as possible
x   y       u   v   z   value
                 u  2   1       1   0   0      50
                 v  1   2       0   1   0      70
                 z −8 −10       0   0   1       0

    Move from one basic solution to another
    One of the zero (nonbasic) variables becomes nonzero and
    one of nonzero (basic) variables becomes zero
    Do this as efficiently as possible
Which of x or y would you most like to increase?
x   y        u   v   z   value
                  u  2   1        1   0   0      50
                  v  1   2        0   1   0      70
                  z −8 −10        0   0   1       0

    Move from one basic solution to another
    One of the zero (nonbasic) variables becomes nonzero and
    one of nonzero (basic) variables becomes zero
    Do this as efficiently as possible
Which of x or y would you most like to increase? An increase of 1
in y gives an increase of 10 in z. Let’s make y > 0. y enters the
set of basic variables, so it’s called the entering variable for this
step.
How much can we increase y ? Well, since x is still zero, the
equations of constraint can be written

                           u = 50 − y
                           v = 70 − 2y
How much can we increase y ? Well, since x is still zero, the
equations of constraint can be written

                           u = 50 − y
                           v = 70 − 2y

We still need u ≥ 0 and v ≥ 0, so the most we can increase y is to
35. This is the smallest of the ratios 50 = 50 and 70 = 35. So
                                       1           2
we’re going to increase y to 35. This will make v = 0. We call v
the departing variable.
How much can we increase y ? Well, since x is still zero, the
equations of constraint can be written

                           u = 50 − y
                           v = 70 − 2y

We still need u ≥ 0 and v ≥ 0, so the most we can increase y is to
35. This is the smallest of the ratios 50 = 50 and 70 = 35. So
                                       1           2
we’re going to increase y to 35. This will make v = 0. We call v
the departing variable.
The new basic solution therefore has y = 35, v = 0, u = 15, and
x = 0. The new value of the objective function is z = 10y = 350.
Creating a New Tableau
   We are exchanging the basic variable v for y . This means the ob-
   jective row has to be replaced with one that has a zero in the y
   columns. We can do this by adding multiples of row 2. Since y is
   an entering variable, we might as well normalize row 2 to have a
   one.
   So we scale the second row to have a one in the y column.



                       x   y       u   v   z   value
                    u  2   1       1   0   0      50
                    v  1   2       0   1   0      70
                    z −8 −10       0   0   1       0
Creating a New Tableau
   Now we zero out the rest of this column by adding 10 times row 2
   to row 3, and subtracting row 2 from row 1.




                         x  y    u     v   z   value
                         2  1    1     0   0      50
                       1/2  1    0   1/2   0      35
                       −8 −10
                   z             0     0   1       0
Creating a New Tableau
   The new tableau. By looking at the columns, we see y and u are
   the basic variables. The value of the objective function has also
   changed.




                        x   y   u    vz      value
                                1 −1/2 0
                    u 3/2   0                   15
                    y 1/2   1   0  1/2 0        35
                    z −3    0   0    51       350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z.




                          xy     u   vz         value
                                 1−
                     u   3/2
                           0       1/2 0           15
                     y 1/2 1     0 1/2 0           35
                     z −3 0      0   51          350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it?




                          xy     u   vz         value
                                 1−
                     u   3/2
                           0       1/2 0           15
                     y 1/2 1     0 1/2 0           35
                     z −3 0      0   51          350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it? The minimum of
                   15           35
   the two ratios 3/2 = 10 and 1/2 = 70.




                          xy     u   vz         value
                                 1−
                     u   3/2
                           0       1/2 0           15
                     y 1/2 1     0 1/2 0           35
                     z −3 0      0   51          350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it? The minimum
                       15            35
   of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering
   variable and u is the departing variable.




                           ↓x    y   u   vz       value
                   ←u                1−
                           3/2   0     1/2 0         15
                    y      1/2   1   0 1/2 0         35
                           −3
                    z            0   0   51        350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it? The minimum
                       15            35
   of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering
   variable and u is the departing variable.
   We scale row one by 2/3 to make it one in the basic column.




                          xy     u   vz         value
                                 1−
                     u   3/2
                           0       1/2 0           15
                     y 1/2 1     0 1/2 0           35
                     z −3 0      0   51          350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it? The minimum
                       15            35
   of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering
   variable and u is the departing variable.
   We scale row one by 2/3 to make it one in the basic column.
   And we zero out the rest of the column by subtracting half of row
   1 from row 2, and adding 3 times row 1 to row 3.




                          x   y    u      v  z   value
                                        −1/3
                    u     1   0   2/3        0      10
                    y   1/2   1    0     1/2 0      35
                        −3    0    0       51     350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it? The minimum
                       15            35
   of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering
   variable and u is the departing variable.
   We scale row one by 2/3 to make it one in the basic column.
   And we zero out the rest of the column by subtracting half of row
   1 from row 2, and adding 3 times row 1 to row 3.




                          x   y    u      v  z   value
                                        −1/3
                    u     1   0   2/3        0      10
                    y   1/2   1    0     1/2 0      35
                        −3    0    0       51     350
Rinse, Lather, Repeat
   The x column in the objective row has a negative entry, so increasing
   x will increase z. How much can we increase it? The minimum
                       15            35
   of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering
   variable and u is the departing variable.
   We scale row one by 2/3 to make it one in the basic column.
   And we zero out the rest of the column by subtracting half of row
   1 from row 2, and adding 3 times row 1 to row 3.




                        x   y    u    vz         value
                               2/3 −1/3 0
                    x   1   0                       10
                            1 −1/3
                    y   0           2/3 0           30
                        0   0    2    41          380
x   y    u    vz        value
                            2/3 −1/3 0
                 x   1   0                      10
                         1 −1/3
                 y   0           2/3 0          30
                     0   0    2    41         380
Now any increase in the decision variables or slack variables would
result in a decrease of z. We are done!
Outline

   Setup

   Illustrative Problem
        Slack Variables

   The Simplex Method, By Example
      The Initial Basic Feasible Solution
      Creating a New Tableau

   Recap of Steps

   Example
Recap of Steps
    1. Set up the initial tableau.
    2. Apply the optimality test. If the objective row has no negative
       entries in the columns labeled with variables, then the
       indicated solution is optimal; we can stop.
    3. Choose a pivotal column by determining the column with the
       most negative entry in the objective row. If there are several
       candidates for a pivotal column, choose any one.
    4. Choose a pivotal row. Form the ratios of the entries above the
       objective row in the rightmost column by the corresponding
       entries of the pivotal column for those entries in the pivotal
       column which are positive. The pivotal row is the row for
       which the smallest of these ratios occurs. If there is a tie,
       choose any one of the qualifying rows. If none of the entries
       in the pivotal column above the objective row is positive, the
       problem has no finite optimum. We stop.
    5. Perform pivotal elimination to construct a new tableau and
       return to Step 2.
Outline

   Setup

   Illustrative Problem
        Slack Variables

   The Simplex Method, By Example
      The Initial Basic Feasible Solution
      Creating a New Tableau

   Recap of Steps

   Example
Another Example

  Example
  Maximize z = 3x1 − x2 + 6x3 subject to the constraints

                          2x1 +4x2 + x3 ≤ 4
                        −2x1 +2x2 −3x3 ≥−4
                          2x1 + x2 − x3 ≤ 8
                                     x1 ≥ 0
                                     x2 ≥ 0
                                     x3 ≥ 0.

  Negating row two puts this problem into standard form.
Another Example

  Example
  Maximize z = 3x1 − x2 + 6x3 subject to the constraints

                           2x1 +4x2 + x3 ≤ 4
                         −2x1 +2x2 −3x3 ≥−4
                           2x1 + x2 − x3 ≤ 8
                                      x1 ≥ 0
                                      x2 ≥ 0
                                      x3 ≥ 0.

  Negating row two puts this problem into standard form.

  Answer.
  x1 = 0, x2 = 4/7, x3 = 12/7, z = 687.
We insert slack variables u1 , u2 , and u3 .
The equations of constraint become

                                                  ≤4
                    2x1 +4x2 + x3 +u1
                    2x1 −2x2 +3x3                 ≤4
                                        +u2
                    2x1 + x2 − x3              +u3 ≤8


with all variables nonnegative.

Mais conteúdo relacionado

Mais procurados

Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)Shivani Gautam
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation CaseJoseph Konnully
 
Simplex Method
Simplex MethodSimplex Method
Simplex Methodkzoe1996
 
Bounded variables new
Bounded variables newBounded variables new
Bounded variables newSamo Alwatan
 
Simplex Method
Simplex MethodSimplex Method
Simplex MethodSachin MK
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method pptDereje Tigabu
 
Simplex Method Explained
Simplex Method ExplainedSimplex Method Explained
Simplex Method ExplainedAtif Shahzad
 
Series solution to ordinary differential equations
Series solution to ordinary differential equations Series solution to ordinary differential equations
Series solution to ordinary differential equations University of Windsor
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODEKris014
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingManas Lad
 

Mais procurados (20)

Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
simplex method
simplex methodsimplex method
simplex method
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Simplex method maximisation
Simplex method maximisationSimplex method maximisation
Simplex method maximisation
 
Bounded variables new
Bounded variables newBounded variables new
Bounded variables new
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
S1 Dualsimplex
S1 DualsimplexS1 Dualsimplex
S1 Dualsimplex
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
simplex method
simplex methodsimplex method
simplex method
 
Simplex Method Explained
Simplex Method ExplainedSimplex Method Explained
Simplex Method Explained
 
Duality
DualityDuality
Duality
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Series solution to ordinary differential equations
Series solution to ordinary differential equations Series solution to ordinary differential equations
Series solution to ordinary differential equations
 
Linear programming
Linear programmingLinear programming
Linear programming
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODE
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Ch02 7
Ch02 7Ch02 7
Ch02 7
 

Destaque

Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex methodShivek Khurana
 
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 32: Simplex Method II
Lesson 32: Simplex Method IILesson 32: Simplex Method II
Lesson 32: Simplex Method IIMatthew 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 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
 
F and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body ProblemF and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body ProblemEtienne Pellegrini
 

Destaque (20)

Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex method
 
Simplex Algorithm
Simplex AlgorithmSimplex Algorithm
Simplex Algorithm
 
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
 
Lesson 32: Simplex Method II
Lesson 32: Simplex Method IILesson 32: Simplex Method II
Lesson 32: Simplex Method II
 
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 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
 
F and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body ProblemF and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
 

Semelhante a Lesson 31: The Simplex Method, I

Application of laplace(find k)
Application of  laplace(find k)Application of  laplace(find k)
Application of laplace(find k)Hazirah Fiyra
 
Sheet1 simplified
Sheet1 simplifiedSheet1 simplified
Sheet1 simplifiedmarwan a
 
Supporting Vector Machine
Supporting Vector MachineSupporting Vector Machine
Supporting Vector MachineSumit Singh
 
Relations among variables
Relations among variablesRelations among variables
Relations among variablesJulio Huato
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programmingknspavan
 
Zero product property remediation notes
Zero product property remediation notesZero product property remediation notes
Zero product property remediation notesMichelle Barnhill
 
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
 Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S... Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...parmeet834
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equationsEmdadul Haque Milon
 
CArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic SynthesisCArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic SynthesisAlessandro Bogliolo
 
Pydata Katya Vasilaky
Pydata Katya VasilakyPydata Katya Vasilaky
Pydata Katya Vasilakyknv4
 
Multiple Regression Model.pdf
Multiple Regression Model.pdfMultiple Regression Model.pdf
Multiple Regression Model.pdfUsamaIqbal83
 
Lecture4 binary-numbers-logic-operations
Lecture4  binary-numbers-logic-operationsLecture4  binary-numbers-logic-operations
Lecture4 binary-numbers-logic-operationsmarkme18
 

Semelhante a Lesson 31: The Simplex Method, I (20)

Application of laplace(find k)
Application of  laplace(find k)Application of  laplace(find k)
Application of laplace(find k)
 
Logicgates
LogicgatesLogicgates
Logicgates
 
Ch05 4
Ch05 4Ch05 4
Ch05 4
 
Sheet1 simplified
Sheet1 simplifiedSheet1 simplified
Sheet1 simplified
 
Supporting Vector Machine
Supporting Vector MachineSupporting Vector Machine
Supporting Vector Machine
 
Relations among variables
Relations among variablesRelations among variables
Relations among variables
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Zero product property remediation notes
Zero product property remediation notesZero product property remediation notes
Zero product property remediation notes
 
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
 Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S... Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equations
 
Mathf1 decimal
Mathf1 decimalMathf1 decimal
Mathf1 decimal
 
CArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic SynthesisCArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic Synthesis
 
Chemistry Assignment Help
Chemistry Assignment Help Chemistry Assignment Help
Chemistry Assignment Help
 
Pydata Katya Vasilaky
Pydata Katya VasilakyPydata Katya Vasilaky
Pydata Katya Vasilaky
 
Multiple Regression Model.pdf
Multiple Regression Model.pdfMultiple Regression Model.pdf
Multiple Regression Model.pdf
 
Boolean alebra
Boolean alebraBoolean alebra
Boolean alebra
 
Limit proofs
Limit proofsLimit proofs
Limit proofs
 
Lsd ee n
Lsd ee nLsd ee n
Lsd ee n
 
Lecture4 binary-numbers-logic-operations
Lecture4  binary-numbers-logic-operationsLecture4  binary-numbers-logic-operations
Lecture4 binary-numbers-logic-operations
 
Number systems tutorial
Number systems tutorialNumber systems tutorial
Number systems tutorial
 

Mais de 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
 

Mais de 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)
 

Último

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Último (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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...
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Lesson 31: The Simplex Method, I

  • 1. Lesson 31 (KH, Section 11.2) The Simplex Method Math 20 December 5, 2007 Announcements Pset 11 due December 10. Pset 12 due December 17. ML OH: Today 1–3 (SC 323) SS OH: Tonight 8:30–9:30 in Quincy dining hall HW coming Midterm II review slides online Midterm II: tomorrow 7–8:30pm in Hall A
  • 2. Outline Setup Illustrative Problem Slack Variables The Simplex Method, By Example The Initial Basic Feasible Solution Creating a New Tableau Recap of Steps Example
  • 3. Setup A standard linear programming problem is to maximize the quantity c1 x1 + c2 x2 + . . . cn xn = c x subject to constraints a11 x1 + a12 x2 +. . .+ a1n xn ≤ b1 a21 x1 + a22 x2 +. . .+ a2n xn ≤ b2 ... am1 x1 +am2 x2 +. . .+amn xn ≤ bm or Ax ≤ b. We usually include the nonnegativity constraint x ≥ 0. Today we will also assume b ≥ 0.
  • 4. Any vector x which satifies all the inequalities is called a feasible solution to the given problem, and a feasible solution maximizing the objective function is called an optimal solution.
  • 5. Outline Setup Illustrative Problem Slack Variables The Simplex Method, By Example The Initial Basic Feasible Solution Creating a New Tableau Recap of Steps Example
  • 6. Illustrative Problem We will use the baker of before. He is trying to maximize z = 8x + 10y subject to the constraints 2x+ y ≤50 x+ 2y ≤70 x≥ 0 y ≥ 0.
  • 7. Slack Variables We can turn the inequalities into equalities by inserting new variables, which are called slack variables. Thus the first equation of constraint becomes 2x + y ≤ 50 =⇒ 2x + y + u = 50, and the second x + 2y ≤ 70 =⇒ x + 2y + v = 70. But u and v are nonnegative. So the new problem is to maximize 8x + 10y subject to constraints 2x+ y +u =50 x+2y +v =70 x ≥0 y ≥0 u≥0 v ≥0
  • 8. In general, we insert slack variables u1 , u2 , . . . , um and the equations of constraint become Ax + u = b, along with x ≥ 0, u ≥ 0. Definition The vector x in Rn+m is called a basic solution if its obtained by setting n of the variables in this equation equal to zero and solving for the remaining n variables. The m variables are we solve for are called the basic variables, and the n variables set equal to zero are called the nonbasic variables. The vector x is called a basic feasible solution if it is a basic solution that also satisfies the inequalities x ≥ 0.
  • 9. Why are basic feasible solutions necessary? Theorem If a LP problem has an optimal solution, then it has a basic optimal solution. This is just a restatement of the corner principle. So we only need to find the basic feasible solutions!
  • 10. Back to the Baker y (0, 50) 50 40 (0, 35) (10, 30) 30 x+ 2x 2y 20 +y =7 0 =5 10 0 (0, 0) (25, 0) (70, 0) x 10 20 30 40 50 60 70
  • 11. Back to the Baker y 50 not feasible 40 (0, 35) (10, 30) 30 v= 20 0 u= 0 10 (0, 0) (25, 0) not feasible x 10 20 30 40 50 60 70
  • 12. How many basic feasible solutions are there? Out of the m + n variables, we choose n to set equal to zero, and solve for the rest. This can be done n+m (n + m)! = m m! n! ways. That’s a lot! The simplex method is a way to arrive at an optimal solution by traversing the vertices of the feasible set, in each step increasing the objective function by as much as possible.
  • 13. Outline Setup Illustrative Problem Slack Variables The Simplex Method, By Example The Initial Basic Feasible Solution Creating a New Tableau Recap of Steps Example
  • 14. We’ll work with the illustrative problem. We can start with the basic feasible solution x = 0, y = 0. Thus u = 50 and v = 70. This is our initial basic solution. We’ll start writing everything in a table (or tableau), so let’s also write the objective function with a right-hand side of zero. Thus −8x − 10y + z = 0. We put this all together, forming what is called the initial tableau: x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0
  • 15. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0 Is the solution u = 50, v = 70 (i.e., x = 0, y = 0 optimal?)
  • 16. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0 Is the solution u = 50, v = 70 (i.e., x = 0, y = 0 optimal?) No, increasing x or y would increase z.
  • 17. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0 Is the solution u = 50, v = 70 (i.e., x = 0, y = 0 optimal?) No, increasing x or y would increase z. Optimality Criterion If the objective row of a tableau has no negative entries in the columns labeled with variables, then the indicated solution is optimal and we can stop our computation.
  • 18. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0 Move from one basic solution to another One of the zero (nonbasic) variables becomes nonzero and one of nonzero (basic) variables becomes zero Do this as efficiently as possible
  • 19. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0 Move from one basic solution to another One of the zero (nonbasic) variables becomes nonzero and one of nonzero (basic) variables becomes zero Do this as efficiently as possible Which of x or y would you most like to increase?
  • 20. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0 Move from one basic solution to another One of the zero (nonbasic) variables becomes nonzero and one of nonzero (basic) variables becomes zero Do this as efficiently as possible Which of x or y would you most like to increase? An increase of 1 in y gives an increase of 10 in z. Let’s make y > 0. y enters the set of basic variables, so it’s called the entering variable for this step.
  • 21. How much can we increase y ? Well, since x is still zero, the equations of constraint can be written u = 50 − y v = 70 − 2y
  • 22. How much can we increase y ? Well, since x is still zero, the equations of constraint can be written u = 50 − y v = 70 − 2y We still need u ≥ 0 and v ≥ 0, so the most we can increase y is to 35. This is the smallest of the ratios 50 = 50 and 70 = 35. So 1 2 we’re going to increase y to 35. This will make v = 0. We call v the departing variable.
  • 23. How much can we increase y ? Well, since x is still zero, the equations of constraint can be written u = 50 − y v = 70 − 2y We still need u ≥ 0 and v ≥ 0, so the most we can increase y is to 35. This is the smallest of the ratios 50 = 50 and 70 = 35. So 1 2 we’re going to increase y to 35. This will make v = 0. We call v the departing variable. The new basic solution therefore has y = 35, v = 0, u = 15, and x = 0. The new value of the objective function is z = 10y = 350.
  • 24. Creating a New Tableau We are exchanging the basic variable v for y . This means the ob- jective row has to be replaced with one that has a zero in the y columns. We can do this by adding multiples of row 2. Since y is an entering variable, we might as well normalize row 2 to have a one. So we scale the second row to have a one in the y column. x y u v z value u 2 1 1 0 0 50 v 1 2 0 1 0 70 z −8 −10 0 0 1 0
  • 25. Creating a New Tableau Now we zero out the rest of this column by adding 10 times row 2 to row 3, and subtracting row 2 from row 1. x y u v z value 2 1 1 0 0 50 1/2 1 0 1/2 0 35 −8 −10 z 0 0 1 0
  • 26. Creating a New Tableau The new tableau. By looking at the columns, we see y and u are the basic variables. The value of the objective function has also changed. x y u vz value 1 −1/2 0 u 3/2 0 15 y 1/2 1 0 1/2 0 35 z −3 0 0 51 350
  • 27. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. xy u vz value 1− u 3/2 0 1/2 0 15 y 1/2 1 0 1/2 0 35 z −3 0 0 51 350
  • 28. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? xy u vz value 1− u 3/2 0 1/2 0 15 y 1/2 1 0 1/2 0 35 z −3 0 0 51 350
  • 29. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? The minimum of 15 35 the two ratios 3/2 = 10 and 1/2 = 70. xy u vz value 1− u 3/2 0 1/2 0 15 y 1/2 1 0 1/2 0 35 z −3 0 0 51 350
  • 30. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? The minimum 15 35 of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering variable and u is the departing variable. ↓x y u vz value ←u 1− 3/2 0 1/2 0 15 y 1/2 1 0 1/2 0 35 −3 z 0 0 51 350
  • 31. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? The minimum 15 35 of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering variable and u is the departing variable. We scale row one by 2/3 to make it one in the basic column. xy u vz value 1− u 3/2 0 1/2 0 15 y 1/2 1 0 1/2 0 35 z −3 0 0 51 350
  • 32. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? The minimum 15 35 of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering variable and u is the departing variable. We scale row one by 2/3 to make it one in the basic column. And we zero out the rest of the column by subtracting half of row 1 from row 2, and adding 3 times row 1 to row 3. x y u v z value −1/3 u 1 0 2/3 0 10 y 1/2 1 0 1/2 0 35 −3 0 0 51 350
  • 33. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? The minimum 15 35 of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering variable and u is the departing variable. We scale row one by 2/3 to make it one in the basic column. And we zero out the rest of the column by subtracting half of row 1 from row 2, and adding 3 times row 1 to row 3. x y u v z value −1/3 u 1 0 2/3 0 10 y 1/2 1 0 1/2 0 35 −3 0 0 51 350
  • 34. Rinse, Lather, Repeat The x column in the objective row has a negative entry, so increasing x will increase z. How much can we increase it? The minimum 15 35 of the two ratios 3/2 = 10 and 1/2 = 70. So x in the entering variable and u is the departing variable. We scale row one by 2/3 to make it one in the basic column. And we zero out the rest of the column by subtracting half of row 1 from row 2, and adding 3 times row 1 to row 3. x y u vz value 2/3 −1/3 0 x 1 0 10 1 −1/3 y 0 2/3 0 30 0 0 2 41 380
  • 35. x y u vz value 2/3 −1/3 0 x 1 0 10 1 −1/3 y 0 2/3 0 30 0 0 2 41 380 Now any increase in the decision variables or slack variables would result in a decrease of z. We are done!
  • 36. Outline Setup Illustrative Problem Slack Variables The Simplex Method, By Example The Initial Basic Feasible Solution Creating a New Tableau Recap of Steps Example
  • 37. Recap of Steps 1. Set up the initial tableau. 2. Apply the optimality test. If the objective row has no negative entries in the columns labeled with variables, then the indicated solution is optimal; we can stop. 3. Choose a pivotal column by determining the column with the most negative entry in the objective row. If there are several candidates for a pivotal column, choose any one. 4. Choose a pivotal row. Form the ratios of the entries above the objective row in the rightmost column by the corresponding entries of the pivotal column for those entries in the pivotal column which are positive. The pivotal row is the row for which the smallest of these ratios occurs. If there is a tie, choose any one of the qualifying rows. If none of the entries in the pivotal column above the objective row is positive, the problem has no finite optimum. We stop. 5. Perform pivotal elimination to construct a new tableau and return to Step 2.
  • 38. Outline Setup Illustrative Problem Slack Variables The Simplex Method, By Example The Initial Basic Feasible Solution Creating a New Tableau Recap of Steps Example
  • 39. Another Example Example Maximize z = 3x1 − x2 + 6x3 subject to the constraints 2x1 +4x2 + x3 ≤ 4 −2x1 +2x2 −3x3 ≥−4 2x1 + x2 − x3 ≤ 8 x1 ≥ 0 x2 ≥ 0 x3 ≥ 0. Negating row two puts this problem into standard form.
  • 40. Another Example Example Maximize z = 3x1 − x2 + 6x3 subject to the constraints 2x1 +4x2 + x3 ≤ 4 −2x1 +2x2 −3x3 ≥−4 2x1 + x2 − x3 ≤ 8 x1 ≥ 0 x2 ≥ 0 x3 ≥ 0. Negating row two puts this problem into standard form. Answer. x1 = 0, x2 = 4/7, x3 = 12/7, z = 687.
  • 41. We insert slack variables u1 , u2 , and u3 . The equations of constraint become ≤4 2x1 +4x2 + x3 +u1 2x1 −2x2 +3x3 ≤4 +u2 2x1 + x2 − x3 +u3 ≤8 with all variables nonnegative.