Simplex Tableau Method

Slides:



Advertisements
Similar presentations
Chapter 5: Linear Programming: The Simplex Method
Advertisements

Standard Minimization Problems with the Dual
Linear Programming – Simplex Method
Assignment (6) Simplex Method for solving LP problems with two variables.
Chapter 6 Linear Programming: The Simplex Method
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
4.1 Slack Variables and the Simplex Method Maximizing Objective Functions Maximize the objective function subject to: What would this look like?
1. The Simplex Method for Problems in Standard Form 1.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Chapter 6 Linear Programming: The Simplex Method
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Operation Research Chapter 3 Simplex Method.
1 Linear programming simplex method This presentation will help you to solve linear programming problems using the Simplex tableau.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
Linear Programming (LP)
The Simplex Method.
5.6 Maximization and Minimization with Mixed Problem Constraints
Chapter 4 The Simplex Method
Spreadsheet Modeling & Decision Analysis:
Learning Objectives for Section 6.2
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
Simplex Algorithm.Big M Method
Chapter 6 Linear Programming: The Simplex Method Section 2 The Simplex Method: Maximization with Problem Constraints of the Form ≤
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
Setting Up the Initial Simplex Tableau and Finding the Pivot Element Example 4.2 # 17 Produced by E. Gretchen Gascon.
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.3 The student will be able to formulate the dual problem. The student.
Simplex Method for solving LP problems with two variables.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
Chapter 4 The Simplex Algorithm and Goal Programming
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
Dr.G.Suresh University Linear Programming Saturday, February 03, 2018Saturday, February 03, 2018 Dr.G.Suresh University.
Spreadsheet Modeling & Decision Analysis:
Solving Linear Program by Simplex Method The Concept
MBA, Semester 2 Operations Management Ms. Aarti Mehta Sharma
Simplex Algorithm.Big M Method
Chapter 2 An Introduction to Linear Programming
Chap 10. Sensitivity Analysis
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Linear programming Simplex method.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
The Two-Phase Simplex Method
SOLVING LINEAR PROGRAMMING PROBLEMS: The Simplex Method
Chapter 4 Linear Programming: The Simplex Method
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chapter 3 The Simplex Method and Sensitivity Analysis
The Simplex Method: Nonstandard Problems
Well, just how many basic
Spreadsheet Modeling & Decision Analysis
Linear Programming.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
LINEAR PROGRAMMING Example 1 Maximise I = x + 0.8y
Chapter 4 The Simplex Algorithm
BASIC FEASIBLE SOLUTIONS
Spreadsheet Modeling & Decision Analysis:
Spreadsheet Modeling & Decision Analysis:
Presentation transcript:

Simplex Tableau Method

General Form of a Linear Programming (LP) Problem MAX (or MIN): c1X1 + c2X2 + … + cnXn Subject to: a11X1 + a12X2 + … + a1nXn <= b1 : ak1X1 + ak2X2 + … + aknXn <= bk am1X1 + am2X2 + … + amnXn = bm

The Simplex Method To use the simplex method, we first convert all inequalities to equalities by adding slack variables to <= constraints and subtracting slack variables from >= constraints. For example: ak1X1 + ak2X2 + … + aknXn <= bk is converted to: ak1X1 + ak2X2 + … + aknXn + Sk = bk And: ak1X1 + ak2X2 + … + aknXn >= bk is converted to: ak1X1 + ak2X2 + … + aknXn - Sk = bk

Example A company manufactures different electronic components for computers. Component A requires 2 hours of fabrication and 1 hour of assembly, component B require 3 hours of fabrication with 1 hour of assembly, and component C requires 2 hours of fabrication and 2 hours of assembly. The company has up to 1,000 labor hours for fabrication and 800 labor hours of assembly time, each week. If the profit on each component A, B, and C is $7, $8 and $10 respectively, how many of each component will produce the maximum the profit?  

Setup the simplex Tableau Maximize the Profit Let: X1 be the number of components of A X2 be the number of components of B X3 be the number of components of C Maximize: P = 7X1+ 8 X2+ 10 X3 Subject to: Fabrication time 2X1+ 3X2+ 2X3 <= 1000 Assembly time 1X1+ 1X2+2 X3 <= 800 X1, X2, X3 >= 0

Next build the Simplex Tableau by introducing Slack Variables S Rewrite the objective function and make the constraints equality equations by adding positive slack variables S1 and S2 -7X1 - 8 X2 - 10 X3 + P = 0 2X1+ 3X2+ 2X3 + S1 = 1000 1X1+ 1X2+2X3+ S2= 800 From this, Produce the Simplex Tableau See: Simplex Tableau Adobe pdf or Text doc.

Simplex Tableau Example Setup the simplex Tableau Maximize the Profit Let: X1 be the number of components of A X2 be the number of components of B X3 be the number of components of C Maximize: P = 7X1+ 8 X2+ 10 X3 Subject to: Fabrication time 2X1+ 3X2+ 2X3 <= 1000 Assembly time 1X1+ 1X2+2 X3 <= 800 X1, X2, X3 >= 0

Next build the Simplex Tableau by introducing Slack Variables S Rewrite the objective function and make the constraints equality equations by adding positive slack variables S1 and S2 -7X1 - 8 X2 - 10 X3 + P = 0 2X1+ 3X2+ 2X3 + S1 = 1000 1X1+ 1X2+2X3+ S2= 8 Form the Produce P in the Simplex Tableau at the bottom. (optional) Always (?) put slack variable equations first in Tableau and the objective function in the bottom row. Tableau 1 X1 X2 X3 S1 S2 P RHS 2 3 1 1000 800 -7 -8 -10

Next start reducing tableau to find the values for X1, X2, X3 and P the profit. Look at objective function row (P), find the largest negative number (-10) and this is the first pivot column. Next, find the row S1 or S2 in which to pick the pivot cell. To do this divide the RHS number by the pivot column (X3) element values and the resulting smallest dividend value is the row that will be the pivot row. In this example cell value (S1 X3) is divided into cell value (S1 RHS), 1000/ 2 = 500, and cell value (S2 X3 ) is divided into cell value (S2 RHS), 800/ 2 = 400. Our pivot (S2 X3) contains value 2 must be converted to value 1. First perform row operations on row 2 by taking ½ R2 –> R2 see Tableau 2 Tableau 2 X1 X2 X3 S1 S2 P RHS 2 3 1 1000 ½ 400 -7 -8 -10

Next two row operations, use pivot row R2 to change R1 and R3 -2 Next two row operations, use pivot row R2 to change R1 and R3 -2*R2 + R1 –> R1 -2R2 -1 -1 -2 0 -1 0 -800 R1 2 3 2 1 0 0 1000 Yields R1 1 2 0 1 -1 0 200 10*R2 + R3 –> R3 10R2 5 5 10 0 5 0 4000 R3 -7 -8 -10 0 0 1 0 R3 -2 -3 0 0 5 1 4000 These rows create next Tableau3 and all math operations were done on first pivot row 2. S1 and X3 are now the basic decision variables Tableau 3 X1 X2 X3 S1 S2 P RHS 1 2 -1 200 ½ 400 -2 -3 5 4000

Row reduction done; now look at objective function row (P), if there is any negative number pick the largest as the new pivot column (-3), which is X2   Next, find the row S1 or X3 in which to pick the pivot cell in column X2. To do this divide the RHS number by the pivot column (X2) element values and the resulting smallest dividend value is the row that will be the pivot row. In this example cell value (S1 X3) is divided into cell value (S1 RHS), 200/ 2 = 100, and cell value (X3) is divided into cell value (X3 RHS), 400/ ½ = 800. The smallest value is in R1 and our second pivot (S1 X2) contains value 2 must be converted to value 1, by again doing row operations: Take ½ R1 –> R1 Tableau 4 X1 X2 X3 S1 S2 P RHS ½ 1 -½ 100 400 -2 -3 5 4000 -½*R1 + R2 –> R2 3*R1 + R3 –> R3 Tableau 5 X1 X2 X3 S1 S2 P RHS ½ 1 -½ 100 1/4 -1/4 3/4 350 3/2 7/2 4300

Take 2*R1 –> R1 to get 1 in (X2 X1) Row reduction done, now look at objective function row (P), if there is any negative number pick the as the new pivot column (-1/2), at least one more row operation. Next, find the row X2 or X3 in which to pick the pivot cell. To do this divide the RHS number by the pivot column (X1) element values and the resulting smallest dividend value is the row that will be the pivot row. In this example cell value (X2 X1) is divided into cell value (X2 RHS), 100/½= 200, and cell value (X3) is divided into cell value (X3 RHS), 350/ 1/4 = 1400. The new pivot element in (X2 X1) is ½ so turn that into 1 by doing the row operation Take 2*R1 –> R1 to get 1 in (X2 X1) Tableau 6 X1 X2 X3 S1 S2 P RHS 1 2 -1 200 1/4 -1/4 3/4 350 -½ 3/2 7/2 4300 Take -1/4* R1 + R2 –> R2 to get 0 in (X3 X1) ½*R1 + R3 –> R3 to get 0 in (P X1) Tableau 7 X1 X2 X3 S1 S2 P RHS 1 2 -1 200 -½ 300 3 4400

The objective function P does not have any negative numbers so the simplex method is complete. How to interpret the results.   Maximize P = 7X1 + 8 X2 + 10 X3 Subject to Fabrication time 2X1 + 3X2 + 2X3 <= 1000 Assembly time 1X1 + 1X2 +2 X3 <= 800 X1, X2, X3 >= 0 The left tableau decision variables X1, X3 in column 1 equal the LHS column value and the maximum profit P = 4400 when X1 = 200, X2 = 0, and X3 = 300. Means make 200 components type A, 300 components type C, and do not make components type B. In addition, you will have 0 hours of slack time S1 for Fabrication and 0 hours of slack time S2 for Assembly.

Simplex Method Summary The simplex method operates by first identifying any basic feasible solution (or extreme point) for an LP problem, then moving to an adjacent extreme point, if such a move improves the value of the objective function. When no adjacent extreme point has a better objective function value, the current extreme point is optimal and the simplex method terminates. The process of moving from one extreme point to an adjacent one is accomplished by switching one of the basic variables with one of the nonbasic variables to create a new basic feasible solution that corresponds to the adjacent extreme point.