Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

Chapter 5: Linear Programming: The Simplex Method
Operation Research Chapter 3 Simplex Method.
SIMPLEX METHOD FOR LP LP Model.
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
Transportation Problem (TP) and Assignment Problem (AP)
Chapter 6 Linear Programming: The Simplex Method
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)
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 9-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 9 Linear.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Solving Linear Programs: The Simplex Method
Linear Programming (LP)
5.6 Maximization and Minimization with Mixed Problem Constraints
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 25, 2013.
LINEAR PROGRAMMING SIMPLEX METHOD.
Linear Programming - Standard Form
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
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.
Simplex Algorithm.Big M Method
Chapter 6 Linear Programming: The Simplex Method Section 2 The Simplex Method: Maximization with Problem Constraints of the Form ≤
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.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
The big M method LI Xiao-lei.
Chapter 6 Linear Programming: The Simplex Method Section R Review.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: The Simplex Method.
Solving Linear Programming Problems: The Simplex Method
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
4  The Simplex Method: Standard Maximization Problems  The Simplex Method: Standard Minimization Problems  The Simplex Method: Nonstandard Problems.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
Mechanical Engineering Department 1 سورة النحل (78)
 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 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
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.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
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 :
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
Lecture 3.
Perturbation method, lexicographic method
Linear programming Simplex method.
The Two-Phase Simplex Method
SOLVING LINEAR PROGRAMMING PROBLEMS: The Simplex Method
Chapter 4 Linear Programming: The Simplex Method
Linear programming Simplex method.
Presentation transcript:

Business Mathematics MTH-367 Lecture 15

Chapter 11 The Simplex and Computer Solutions Methods continued

Last Lecture’s Summary Covered Sec. 11.1: Simplex Preliminaries Requirements of Simplex Method Requirements for different types of constraints Feasible Solution, Basic Solution, and Basic Feasible Solution Incorporating objective function

Today’s topics The Simplex Method for Maximization problem with all ≤ constraints Maximization problem with mixed constraints

Incorporating the Objective Function (Recall) Given the LP problem Maximize z = 5x 1 + 6x 2 subject to3x 1 + 2x 2 ≤ 120 (1) 4x 1 + 6x 2 ≤ 260 (2) x 1, x 2 ≥ 0 The required form by simplex method is given as follows.

z – 5x 1 – 6x 2 – 0S 1 – 0S 2 = 0(0) 3x 1 + 2x 2 + S 1 = 120 (1) 4x 1 + 6x 2 + S 2 = 260 (2) Since we are particularly concerned about the value of z and will want to know its value for any solution, z will always be a basic variable. The standard practice, however, is not to refer to z as a basic variable. The terms basic variable and non-basic variable are usually reserved for other variables in the problem. Incorporating the Objective Function (recall)

The simplex operations are performed in a tabular format. The initial table, or tableau, for our problem is shown in the table below. Note that there is one row for each equation and the table contains the coefficients of each variable in the equations and bi column contains right hand sides of the equation.

RULE: 1 OPTIMALITY CHECK IN MAXIMIZATION PROBLEM In a maximization problem, the optimal solution has been found if all row (0) coefficients for the variables are greater than or equal to 0. If any row (0) coefficients are negative for non-basic variable, a better solution can be found by assigning a positive quantity to these variables.

RULE: 2 NEW BASIC VARIABLE IN MAXIMIZATION PROBLEM In a maximization problem the non-basic variable which will replace a basic variable is the one having the most negative row (0) coefficient. “Ties” may be broken arbitrarily.

RULE: 3 DEPARTING BASIC VARIABLE The basic variable to be replaced is found by determining the row i associated with min ----i = 1,.... m Where a ik > 0. In addition to identifying the departing basic variable, the minimum b i /a ik value is the maximum number of units which can be introduced of the incoming basic variable. bibi aikaik

Summary of simplex prodedure We summaries the simplex procedure for maximization problems having all (≤) constraints. First, add slack variables to each constraint and the objective function and place the variable coefficients and right-hand-side constants in a simplex tableau:

1-Identify the initial solution by declaring each of the slack variables as basic variables. All other variables are non-basic in the initial solution. 2-Determine whether the current solution is optimal by applying rule 1 [Are all row (0) coefficients ≥ 0?]. If it is not optimal, proceed to step 3. Summary of Simplex procedure cont’d

3-Determine the non-basic variable which should become a basic variable in the next solution by applying rule 2 [most negative row (0) coefficient]. 4-Determine the basic variable which should be replaced in the next solution by applying rule 3 (min b i /a ik ratio where a ik > 0) 5-Applying the Gaussian elimination operations to generate the new solution (or new tableau). Go to step 2. Summary of Simplex procedure cont’d

Solve the following linear programming problem using the simplex method. Maximize z = 5x 1 + 6x 2 subject to 3x 1 + 2x 2 ≤ 120 4x 1 + 6x 2 ≤ 260 x 1, x 2 ≥ 0 Example

Rewriting the problem in standard form with slack variables added in, we have the following: Maximize z = 5x 1 + 6x 2 subject to x 1, x 2, S 1, S 2 ≥ 0 The objective function should be restated by moving all variables to the left side of the equation. The initial simplex tableau is shown in the following table.

Basic Variables Key Column Ratio zx1x1 x2x2 s1s1 s2s2 bibi 1–5–6000 S1S S2S Step 1 in the initial solution x 1 and x 2 are non-basic variable having values equal to 0. The basic variables are the slack variables with S 1 = 120, S 2 = 260, and z = 0. Step 2 Now in table 1, we look for row(0) and observe that the current solution is optimal or not. Since all row (0) coefficients are not greater than or equal to 0, the initial solution is not optimal.

Step 3 The most negative coefficient in row (0) is –6, and it is associated with x 2. So x 2 column is the key column. Thus, x 2 will become a basic variable in the next solution and its column of coefficients becomes the key column. Step 4 In order to find the basic variable, which should be replaced in the next solution, we will look for the least ration in the last column. In order to find the least ratio, we will divide the values of R.H.S by the corresponding values of the key column. This ratio should be a real positive number, so ignore the 0, negative and undefined values. As the least ration is which correspond to s 2 we will replace it by x 2 in the next table.

Step 5 The new solution is found by transforming the coefficients in the x 2 column

Basic Variables Key Column Ratio zx1x1 x2x2 s1s1 s2s2 bibi s1s x2x2 04/6101/6260/6 Since all row(0) coefficients are not non- negative, i.e the solution is not optimal, so we start again from step 3. The most negative value is -1 in row(0), so the column below x 1 is key column. The least ratio is 20 which corresponds to s 1. So s 1 is replace by x 1 in the next table.

By applying Gaussian elimination method, we want to convert

Basic Variables Key Column Ratio zx1x1 x2x2 S1S1 S2S2 bibi 100 3/53/5 4/ x1x /53/5 –1/5–1/5 20 x2x

For a maximization problem having a mix of (≤, ≥, and =) constraints the simplex method itself does not change. The only change is in transforming constraints to the standard equation form with appropriate supplemental variables. Recall that for each (≥) constraint, a surplus variable is subtracted and an artificial variable is added to the left side of the constraint. For each (=) constraint, an artificial variable is added to the left side. Maximization Problems with Mixed Constraints

An additional column is added to the simplex tableau for each supplemental variable. Also, surplus and artificial variables must be assigned appropriate objective function coefficients (c, values) Surplus variables usually re-assigned an objective function coefficient of 0. Maximization Problems with Mixed Constraints cont’d

Artificial variables are assigned objective function coefficient of –M, where |M| is a very large number. This is to make the artificial variables unattractive in the problem. In any linear programming problem, the initial set of basic variables will consist of all the slack variables and all the artificial variables which appear in the problem. Maximization Problems with Mixed Constraints cont’d

Maximizez = 8x 1 + 6x 2 subject to2x 1 + x 2 ≥ 10 3x 1 + 8x 2 ≤ 96 x 1, x 2 ≥ 0 We have a maximization problem which has a mix of a (≤) constraint and a (≥) constraint. Example

Rewriting the problem with constraints expressed as equations, Maximizez = 8x 1 + 6x 2 + 0E 1 – MA 1 + 0S 2 subject to 2x 1 + x 2 – E 1 + A 1 = 10 3x 1 + 8x 2 +S 2 = 96 x 1, x 2 E 1, A 1, S 2 ≥ 0 Example cont’d

The initial tableau for this problem appears as in the following table: Basic Variables zx1x1 x2x2 E1E1 A1A1 S2S2 b i Row Number 1–8–60M00(0) A1A1 021–11010(1) S2S (2) Example cont’d

Note that the artificial variable is one of the basic variables in the initial solution. For any problem containing artificial variables, the row (0) coefficients for the artificial variable will not equal zero in the initial tableau. We need to make M equal to zero by we get Example cont’d

Basic Varia bles z Key Column Transformed to zero Row b i Number b i /a ik x1x1 x2x2 E1E1 A1A1 S2S2 1–8–2M–6–MM00–10M(0) A1A1 021–11010(1) 10/2 = 5* S2S (2) 96/3 = 32 We want to transform Example cont’d

Basic Variable s z Key Column Transformed to zero Row b i Number Ratio x1x1 x2x2 E1E1 A1A1 S2S2 10–4–88+2M080(0) x1x1 01½–½½05(1) S2S (2) Example cont’d

By Gaussian elimination method, we want to transform Basic Variable s zx1x1 x2x2 E1E1 A1A1 S2S2 b i Row Number M161536(0) x1x (1) E2E –32162(2) Example cont’d

In short form we can write. The objective function is maximized at

Review The Simplex Method for Maximization problem with all ≤ constraints Maximization problem with mixed constraints

Next Lecture Minimization problems Special phenomena 1.Alternative Optimal Solutions 2.No Feasible Solution 3.Unbounded Solutions Examples