Lecture 11 Linear programming : The Revised Simplex Method

Similar documents
Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

(includes both Phases I & II)

Fundamental Theorems of Optimization

Linear Programming, Lecture 4

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

Lecture 11: Post-Optimal Analysis. September 23, 2009

IE 400: Principles of Engineering Management. Simplex Method Continued

Concept and Definition. Characteristics of OR (Features) Phases of OR

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Non-Standard Constraints. Setting up Phase 1 Phase 2

Summary of the simplex method

(includes both Phases I & II)

AM 121: Intro to Optimization Models and Methods

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

Systems Analysis in Construction


Slide 1 Math 1520, Lecture 10

Simplex Method for LP (II)

9.1 Linear Programs in canonical form

Week_4: simplex method II

Math 354 Summer 2004 Solutions to review problems for Midterm #1

Math Models of OR: Handling Upper Bounds in Simplex

TIM 206 Lecture 3: The Simplex Method

UNIT-4 Chapter6 Linear Programming

Part 1. The Review of Linear Programming

Lecture 2: The Simplex method

Chapter 3, Operations Research (OR)

AM 121: Intro to Optimization

Review Solutions, Exam 2, Operations Research

ENGI 5708 Design of Civil Engineering Systems

Supplementary lecture notes on linear programming. We will present an algorithm to solve linear programs of the form. maximize.

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize

Linear Programming: Chapter 5 Duality

OPERATIONS RESEARCH. Linear Programming Problem

ORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods

Math Models of OR: Some Definitions

Part 1. The Review of Linear Programming

Linear Programming in Matrix Form

Lecture 5 Simplex Method. September 2, 2009

Linear Programming and the Simplex method

On Application of Matrix-Vector Operations for Solving Constrained Optimization Problems

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Example. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive

Understanding the Simplex algorithm. Standard Optimization Problems.

4.4 The Simplex Method and the Standard Minimization Problem

MAT016: Optimization

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

CPS 616 ITERATIVE IMPROVEMENTS 10-1

Lesson 27 Linear Programming; The Simplex Method

56:270 Final Exam - May

Optimisation and Operations Research

MATH 445/545 Homework 2: Due March 3rd, 2016

Lecture Simplex Issues: Number of Pivots. ORIE 6300 Mathematical Programming I October 9, 2014

Farkas Lemma, Dual Simplex and Sensitivity Analysis

The Simplex Method of Linear Programming

DM545 Linear and Integer Programming. Lecture 7 Revised Simplex Method. Marco Chiarandini

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

Revised Simplex Method

Introduction to Mathematical Programming IE406. Lecture 13. Dr. Ted Ralphs

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

1 Review Session. 1.1 Lecture 2

Math 210 Finite Mathematics Chapter 4.2 Linear Programming Problems Minimization - The Dual Problem

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns

Part III: A Simplex pivot

February 17, Simplex Method Continued

LP. Lecture 3. Chapter 3: degeneracy. degeneracy example cycling the lexicographic method other pivot rules the fundamental theorem of LP

2. Linear Programming Problem

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10

Lecture 10: Linear programming duality and sensitivity 0-0

Distributed Real-Time Control Systems. Lecture Distributed Control Linear Programming

Notes on Simplex Algorithm

1. Introduce slack variables for each inequaility to make them equations and rewrite the objective function in the form ax by cz... + P = 0.

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

In Chapters 3 and 4 we introduced linear programming

Optimization (168) Lecture 7-8-9

Special cases of linear programming

Sensitivity Analysis

MATH2070 Optimisation

MATH 210 EXAM 3 FORM A November 24, 2014

Integer Programming. The focus of this chapter is on solution techniques for integer programming models.

Simplex Algorithm Using Canonical Tableaus

Chap6 Duality Theory and Sensitivity Analysis

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

IE 5531: Engineering Optimization I

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

4.6 Linear Programming duality

Lecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P)

3 The Simplex Method. 3.1 Basic Solutions

OPRE 6201 : 3. Special Cases

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

56:171 Operations Research Fall 1998

4.3 Minimizing & Mixed Constraints

Homework Assignment 4 Solutions

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

Introduction to Mathematical Programming

Transcription:

Lecture 11 Linear programming : The Revised Simplex Method 11.1 The Revised Simplex Method While solving linear programming problem on a digital computer by regular simplex method, it requires storing the entire simplex table in the memory of the computer table, which may not be feasible for very large problem. But it is necessary to calculate each table during each iteration. The revised simplex method which is a modification of the original method is more economical on the computer, as it computes and stores only the relevant information needed currently for testing and / or improving the current solution. i.e. it needs only The net evaluation row Δ j to determine the non-basic variable that enters the basis. The pivot column The current basis variables and their values (X B column) to determine the minimum positive ratio and then identify the basis variable to leave the basis. The above information is directly obtained from the original equations by making use of the inverse of the current basis matrix at any iteration. There are two standard forms for revised simplex method Standard form-i In this form, it is assumed that an identity matrix is obtained after introducing slack variables only. Standard form-ii If artificial variables are needed for an identity matrix, then twophase method of ordinary simplex method is used in a slightly different way to handle artificial variables. 11.2 Steps for solving Revised Simplex Method in Standard Form-I Solve by Revised simplex method Max Z = 2x 1 + x 2 3 x 1 + 4 x 2 6 6 x 1 + x 2 3 and x 1, x 2 0 SLPP Max Z = 2x 1 + x 2 + 0s 1 + 0s 2 3 x 1 + 4 x 2 + s 1 = 6 6 x 1 + x 2 + s 2 = 3 and x 1, x 2, s 1, s 2 0 1

Step 1 Express the given problem in standard form I Ensure all b i 0 The objective function should be of maximization Use of non-negative slack variables to convert inequalities to equations The objective function is also treated as first constraint equation Z - 2x 1 - x 2 + 0s 1 + 0s 2 = 0 3 x 1 + 4 x 2 + s 1 + 0s 2 = 6 -- 6 x 1 + x 2 + 0s 1 + s 2 = 3 and x 1, x 2, s 1, s 2 0 Step 2 Construct the starting table in the revised simplex form Express in the matrix form with suitable notation Column vector corresponding to Z is usually denoted by e 1 matrix, which is usually denoted as = [β 0,, β n ] Hence the column β 0,, constitutes the basis matrix (whose inverse is also ) X B X k X B / X k Z 1 0 0 0-2 s 1 0 1 0 6 3 4 s 2 0 0 1 3 6 1 Step 3 Computation of Δ j for a 1 and a 2 a 1 a 2 Δ 1 = first row of * a 1 = 1 * -2 + 0 * 3 + 0 *6 = -2 Δ 2 = first row of * a 2 = 1 * + 0 * 4 + 0 *1 = Step 4 Apply the test of optimality Both Δ 1 and Δ 2 are negative. So find the most negative value and determine the incoming vector. Therefore most negative value is Δ 1 = -2. This indicates a 1 (x 1 ) is incoming vector. Step 5 Compute the column vector X k X k = * a 1 2

Step 6 Determine the outgoing vector. We are not supposed to calculate for Z row. X B X k X B / X k Z 1 0 0 0-2 - s 1 0 1 0 6 3 2 s 2 0 0 1 3 6 1/2 outgoing incoming Step 7 Determination of improved solution Column e 1 will never change, x 1 is incoming so place it outside the rectangular boundary X B X 1 R 1 0 0 0-2 R 2 1 0 6 3 R 3 0 1 3 6 Make the pivot element as 1 and the respective column elements to zero. X B X 1 R 1 0 1/3 1 0 R 2 1 /2 9/2 0 R 3 0 1/6 1/2 1 Construct the table to start with second iteration X B X k X B / X k Z 1 0 1/3 1 0 s 1 0 1 /2 9/2 0 4 x 1 0 0 1/6 1/2 1 1 Δ 4 = 1 * 0 + 0 * 0 + 1/3 *1 = 1/3 Δ 2 = 1 * + 0 * 4 + 1/3 *1 = -2/3 a 4 a 2 3

Δ 2 is most negative. Therefore a 2 is incoming vector. Compute the column vector Determine the outgoing vector X B X k X B / X k Z 1 0 1/3 1-2/3 - s 1 0 1 /2 9/2 7/2 9/7 outgoing x 1 0 0 1/6 1/2 1/6 3 incoming Determination of improved solution X B X 2 R 1 0 1/3 1-2/3 R 2 1 /2 9/2 7/2 R 3 0 1/6 1/2 1/6 X B X 2 R 1 4/21 5/21 13/7 0 R 2 2/7 /7 9/7 1 R 3 /21 8/42 2/7 0 X B X k X B / X k Z 1 4/21 5/21 13/7 0 0 x 2 0 2/7 /7 9/7 0 1 x 1 0 /21 8/42 2/7 1 0 Δ 4 = 1 * 0 + 4/21 * 0 + 5/21 *1 = 5/21 Δ 3 = 1 * 0 + 4/21 * 1 + 5/21 *0 = 4/21 a 4 Δ 4 and Δ 3 are positive. Therefore optimal solution is Max Z = 13/7, x 1 = 2/7, x 2 = 9/7 a 3 4

11.3 Worked Examples Example 1 Max Z = x 1 + 2x 2 x 1 + x 2 3 x 1 + 2x 2 5 3x 1 + x 2 6 and x 1, x 2 0 Solution SLPP Max Z = x 1 + 2x 2 + 0s 1 + 0s 2 + 0s 3 x 1 + x 2 + s 1 = 3 x 1 + 2x 2 + s 2 = 5 3x 1 + x 2 + s 3 = 6 and x 1, x 2, s 1, s 2, s 3 0 Standard Form-I Z - x 1-2x 2-0s 1-0s 2-0s 3 = 0 x 1 + x 2 + s 1 + 0s 2 + 0s 3 = 3 x 1 + 2x 2 + 0s 1 + s 2 + 0s 3 = 5 3x 1 + x 2 + 0s 1 + 0s 2 + s 3 = 6 and x 1, x 2, s 1, s 2, s 3 0 Matrix form Revised simplex table Additional table β 3 X B X k X B / X k a 1 Z 1 0 0 0 0-2 s 1 0 1 0 0 3 1 1 s 2 0 0 1 0 5 1 2 s 3 0 0 0 1 6 3 1 5 a 2

Computation of Δ j for a 1 and a 2 Δ 1 = first row of * a 1 = 1 * + 0 * 1 + 0 *1 + 0 *3= Δ 2 = first row of * a 2 = 1 * -2 + 0 * 1 + 0 *2+ 0 *1 = -2 Δ 2 = -2 is most negative. So a 2 (x 2 ) is incoming vector. Compute the column vector X k X k = * a 2 β 3 X B X k X B / X k Z 1 0 0 0 0-2 - s 1 0 1 0 0 3 1 3 s 2 0 0 1 0 5 2 5/2 s 3 0 0 0 1 6 1 6 Improved Solution β 3 X B X k R 1 0 0 0 0-2 R 2 1 0 0 3 1 R 3 0 1 0 5 2 R 4 0 0 1 6 1 β 3 X B R 1 0 1 0 5 0 R 2 1 /2 0 1/2 0 R 3 0 1/2 0 5/2 1 R 4 0 /2 1 7/2 0 X k 6

Revised simplex table for II iteration β 3 X B X k X B / X k Z 1 0 1 0 5 0 s 1 0 1 /2 0 1/2 1 0 x 2 0 0 1/2 0 5/2 1 1 s 3 0 0 /2 1 7/2 3 0 Δ 1 = 1 * + 0 * 1 + 1 *1 + 0 *3= 0 Δ 4 = 1 * 0 + 0 * 0 + 1 *1+ 0 *0 = 1 Δ 1 and Δ 4 are positive. Therefore optimal solution is Max Z = 5, x 1 = 0, x 2 = 5/2 a 1 a 4 7