Simplex method : Tableau Form

Slides:



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

Operation Research Chapter 3 Simplex Method.
L17 LP part3 Homework Review Multiple Solutions Degeneracy Unbounded problems Summary 1.
SIMPLEX METHOD FOR LP LP Model.
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Minimization by Dr. Arshad zaheer
Optimization Mechanics of the Simplex Method
Linear Programming (LP)
5.6 Maximization and Minimization with Mixed Problem Constraints
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
The Simplex Procedure Daniel B. Taylor AAEC 5024 Department of Agricultural and Applied Economics Virginia Tech.
LINEAR PROGRAMMING SIMPLEX METHOD.
1. The Simplex Method.
Simplex Linear Programming I. Concept II. Model Template III. Class Example IV. Procedure V. Interpretation MAXIMIZATION METHOD Applied Management Science.
Chapter 6 Linear Programming: The Simplex Method
The Two-Phase Simplex Method LI Xiao-lei. Preview When a basic feasible solution is not readily available, the two-phase simplex method may be used as.
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
EE/Econ 458 The Simplex Method using the Tableau Method
Simplex Algorithm.Big M Method
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
The Simplex Method Updated 15 February Main Steps of the Simplex Method 1.Put the problem in Row-Zero Form. 2.Construct the Simplex tableau. 3.Obtain.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Public Policy Modeling Simplex Method Tuesday, October 13, 2015 Hun Myoung Park, Ph.D. Public Management & Policy Analysis Program Graduate School of International.
Simplex Method Adapting to Other Forms.  Until now, we have dealt with the standard form of the Simplex method  What if the model has a non-standard.
Solving Linear Programming Problems: The Simplex Method
A model consisting of linear relationships representing a firm’s objective and resource constraints Linear Programming (LP) LP is a mathematical modeling.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Mechanical Engineering Department 1 سورة النحل (78)
Part 4 Nonlinear Programming 4.5 Quadratic Programming (QP)
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
1 Simplex Method (created by George Dantzig in late 1940s) A systematic way of searching for an optimal LP solution BMGT 434, Spring 2002 Instructor: Chien-Yu.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
OR  Now, we look for other basic feasible solutions which gives better objective values than the current solution. Such solutions can be examined.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
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 :
SENSITIVITY ANALYSIS. 2 Sensitivity Analysis Sensitivity analysis is carried out after optimal solution is found. Hence called as post optimality analysis.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
Solving Linear Program by Simplex Method The Concept
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Perturbation method, lexicographic method
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
The Two-Phase Simplex Method
Chapter 5 Simplex-Based Sensitivity Analysis and Duality
Chapter 4 Linear Programming: The Simplex Method
The Simplex Method.
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chapter 3 The Simplex Method and Sensitivity Analysis
Dual simplex method for solving the primal
Part 3. Linear Programming
Linear Programming SIMPLEX METHOD.
Lecture 4 Part I Mohamed A. M. A..
LINEAR PROGRAMMING Example 1 Maximise I = x + 0.8y
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Presentation transcript:

Simplex method : Tableau Form Maximise Z= 10X1+9X2+0S1+0S2+0S3+0S4 subject to: 7/10X1+1X2+1S1 =630 1/2X1+5/6X2+ +1S2 =600 1X1+2/3X2 +1S3 =708 1/10X1+1/4X2 +1S4 =135 X1,X2,X3,X4,S1,S2,S3,S4 > 0 Constraints equations make more variables (six) than equations (four), the simplex method find solutions for these equations by assigning zero values to variables A basic solution can be either feasible or infeasible. A basic feasible solution is a solution which is both basic and satisfy non negativity condition.

cj = objective function coefficient for variables j Simplex Form cj = objective function coefficient for variables j bj = right hand side coefficient for constraints i aij = Coefficient associated with variable j in constraint i c1 c2 …………………………………………….cn -------------------------------------------------------------------------------------- a11 a12 ……………………………………………… a1n b1 a21 a22 ………………………………………………..a2n b2 …………………………………………………………………………. am1 am2 amn bm C(row) = row of objective function coefficient b(column)= column of right hand side value of the constraint equation A(matrix) = m-row and n-column of coefficient of the variables in the constraint equations

Simplex Tableau X1 X2 S1 S2 S3 S4 bj/aij Basis Cj 10 9 7/10 1 630 ½ 7/10 1 630 ½ 5/6 600 2/3 708 1/10 ¼ 135 Profit Zj Cj-Zj

Improving the Solution Zj represents the decrease in profit that will result if one unit of X1 is brought into the solution Cj-Zj - net evaluation row Values in Zj row is calculated by multiplying the element in the cj column by the corresponding elements in the column of the A matrix and summing them. The process of moving from one basic feasible solution to another is called iteration. We select the entering variable that has the highest coefficient in the net evaluation row. Criteria of moving a variable from the current basic: For each row i compute the ratio bj/aij> 0. This ratio tells us the maximum amount of the variable Xj that can be brought into the solution and still satisfy the constraint equation represented by that row. Select the basic variable corresponding to the minimum of these ratios as the variable to leave.

Optimality Optimality Condition: The optimal solution to a LP problem has been reached when there are no positive values in the net evaluation row of the simplex tableau. Pivot Row : Replace the leaving variable In the basic column with the entering variable. New pivot row = current row divided by pivot element All other rows including Z : New row : Current row – (pivot column element) X ( New pivot row)

X1 X2 S1 S2 S3 S4 bj/aij Basis Cj 10 9 16/30 1 -7/10 134.4 ½ -1/2 246 2/3 708 22/120 -1/10 64.2 Profit Zj 20/3 7080 Cj-Zj 7/3 -10

X1 X2 S1 S2 S3 S4 bj/aij Basis Cj 10 9 1 30/16 -21/16 252 -15/16 5/32 120 -20/16 50/16 540 -11/32 9/64 18 Profit Zj 70/16 111/16 7668 Cj-Zj -70/16 -111/16

Condition for Optimal Solution Cj-Zj< 0 for both of the non-basic variables S1 & S2, an attempt to bring non- basic variables into basic will lower the current value of the objective function. The optimal solution of a LP problem has been reached when there are no positive values at the net evaluation row. X1 540 X2 252 S1 0 S2 120 S3 0 S4 18

Sample Problem Max. 4X1+6X2+3X3+1X4 s.t 3/2X1+2X2+4X3+3X4<550 Problem in standard form: Max> 4X1+6X2+3X3+1X4+0S1+0S2+0S3 s t 3/2X1+2X2+4X3+3X4+1S1 = 550 4X1+1X2+2X3+1X4 +1S2 = 700 2X1+3X2+1X3+2X4 +1S3 = 200 X1, X2, X3, X4, S1, S2, S3 > 0

Initial Simplex Tableau Basis Cj 4 6 3 1 3/2 2 550 700 200 Zj Cj-Zj

X1 X2 X3 X4 S1 S2 S3 Cj 4 6 3 1 1/6 5/3 -2/3 1/3 -1/3 x2 2/3 Zj 6/3 Iteration :1… X1 X2 X3 X4 S1 S2 S3 Basis Cj 4 6 3 1 1/6 10/3 5/3 -2/3 416(2/3) 1/3 -1/3 633(1/3) x2 2/3 66(2/3) Zj 12/3 6/3 400 Cj-Zj 3/3 -9/3 -6/3

x1 x2 x3 x4 S1 S2 S3 Cj 4 6 3 1 Zj 525 3/60 3/10 Basis -5/10 425 -1/10 Iteration 2…. x1 x2 x3 x4 S1 S2 S3 Basis Cj 4 6 3 1 3/60 5/10 3/10 -2/10 125 39/12 -15/30 -5/10 425 39/60 15/30 -1/10 12/30 25 Zj 81/20 9/2 54/30 525 Cj-Zj -1/20 -7/2 -3/10 -54/30

Eliminating negative right hand side: Treating Constraints Eliminating negative right hand side: The number of std bag had to be less or X1 < X2-25 equal to the number of deluxe bag after 25 1X1 - 1X2 < -25 bags had been set aside for displaying -X1 + X2 > 25 purpose Greater than equal to constraint : 6X1 + 3 X2 -4X3 > -20 -6X1 – 3X2 + 4 X3 < 20

Simplex Problem Max. 10X1 + 9 X2 s t 7/10X1+1X2 < 630 1X1 >100 a5, a6 (artificial variables) 1X2 >100 very large cost -M Max. 10X1+9X2+ 0S1+S2+0S3+0S4+0S5+0S6-Ma5-Ma6 s t. 7/10X1+1X2+1S1 = 630 1/2X1+5/6X2 +1S2 =600 1X1+2/3X2 +1S3 =708 1/10X1+1/4X2 +1S4 =135 1X1 -1S5+1a5 =100 1X2 -S6+1a6 =100

X1 X2 S1 S2 S3 S4 S5 S6 a5 a6 630 600 708 135 Basis Cj 10 9 -M 7/10 1 -M 7/10 1 630 1/2 5/6 600 2/3 708 1/10 ¼ 135 -1 100 Zj Cj-Zj 10+M 9+M M -200M

X1 X2 S1 S2 S3 S4 S5 S6 a5 a6 Cj 10 9 -M 1 -1 ¼ Zj M 560 5/6 550 2/3 Basis Cj 10 9 -M 1 7/10 -7/10 560 5/6 1/2 -1/2 550 2/3 -1 608 ¼ 1/10 -1/10 125 100 Zj Cj-Zj 9+M -10 M -M-10 1000- 100M

X1 X2 S1 S2 S3 S4 S5 S6 a5 a6 Basis Cj 10 9 -M 30/16 -210/160 1 -1 152 -15/16 25/160 120 -20/16 300/160 440 -11/32 45/320 18 540 252 Zj Cj-Zj 9+M 70/16 -70/16 111/16 -111/16 7668

Max. 6X1+3X2+4X3+1X4 s t -2X1-1/2X2+1X3+-6X4 = -60 Equality Constraints Max. 6X1+3X2+4X3+1X4 s t -2X1-1/2X2+1X3+-6X4 = -60 1X1 +1X3+2/3X4<20 -1X2-5X3 <-50 X1, X2, X3, X4> 0 Max. 6X1+3X2+4X3+1X4+0S2+0S3-Ma1-Ma2 st 2X1+1/2X2-1X3+6X4 +1a1 = 60 1X1 +1X3-2/3X4 +1S1 = 20 1X2+5X3 -1S3 +1a5= 50 X1, X2, X3, X4, S2, S3, a1, a3 > 0

Sensitivity Analysis Study of how optimal solution and value of optimal solution to a LP given a changes in the various coefficients of the problem: 1. What effect on the optimal solution will a change in a coefficient of the objective function (Cj) have? 2. What effect on the optimal solution will a change in constraint in right hand side value (bj) have? 3. What effect on the optimal solution will a change in a coefficient of a constraint equation (aij) have?