Simplex Algorithm Using Canonical Tableaus

Similar documents
Duality Theory, Optimality Conditions

9.1 Linear Programs in canonical form

AM 121: Intro to Optimization

AM 121: Intro to Optimization Models and Methods Fall 2018

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

OPERATIONS RESEARCH. Linear Programming Problem

Contents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod

Linear programs Optimization Geoff Gordon Ryan Tibshirani

Math Models of OR: Some Definitions

Systems Analysis in Construction

Lecture 2: The Simplex method

Dr. Maddah ENMG 500 Engineering Management I 10/21/07

F 1 F 2 Daily Requirement Cost N N N

Review Solutions, Exam 2, Operations Research

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

IE 5531: Engineering Optimization I

IE 400: Principles of Engineering Management. Simplex Method Continued

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

Math Models of OR: Sensitivity Analysis

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

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

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

Lecture 4: Algebra, Geometry, and Complexity of the Simplex Method. Reading: Sections 2.6.4, 3.5,

4.5 Simplex method. min z = c T x s.v. Ax = b. LP in standard form

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

Part 1. The Review of Linear Programming

Lesson 27 Linear Programming; The Simplex Method

CO 602/CM 740: Fundamentals of Optimization Problem Set 4

Algorithm for QP thro LCP

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.

CO350 Linear Programming Chapter 6: The Simplex Method

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

AM 121: Intro to Optimization Models and Methods

February 17, Simplex Method Continued

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

Part 1. The Review of Linear Programming

1 Review Session. 1.1 Lecture 2

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

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Lecture 5 Simplex Method. September 2, 2009

Chapter 1 Linear Programming. Paragraph 5 Duality

Math 273a: Optimization The Simplex method

Developing an Algorithm for LP Preamble to Section 3 (Simplex Method)

Linear Programming and the Simplex method

TIM 206 Lecture 3: The Simplex Method

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

Linear Programming, Lecture 4

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I

Ω R n is called the constraint set or feasible set. x 1

Sensitivity Analysis

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

Simplex method(s) for solving LPs in standard form

Linear Programming. Linear Programming I. Lecture 1. Linear Programming. Linear Programming

"SYMMETRIC" PRIMAL-DUAL PAIR

The Avis-Kalunzy Algorithm is designed to find a basic feasible solution (BFS) of a given set of constraints. Its input: A R m n and b R m such that

Special cases of linear programming

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

The Simplex Method for Solving a Linear Program Prof. Stephen Graves

The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006

Introduce the idea of a nondegenerate tableau and its analogy with nondenegerate vertices.

Simplex Method for LP (II)

4.5 Simplex method. LP in standard form: min z = c T x s.t. Ax = b

LINEAR PROGRAMMING I. a refreshing example standard form fundamental questions geometry linear algebra simplex algorithm

Chapter 4 The Simplex Algorithm Part II

Lecture slides by Kevin Wayne

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

CPS 616 ITERATIVE IMPROVEMENTS 10-1

Notes on Simplex Algorithm

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

Chapter 3, Operations Research (OR)

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3)

Example Bases and Basic Feasible Solutions 63 Let q = >: ; > and M = >: ;2 > and consider the LCP (q M). The class of ; ;2 complementary cones

Chapter 5 Linear Programming (LP)

MATH2070 Optimisation

4. Duality and Sensitivity

Linear programming. Starch Proteins Vitamins Cost ($/kg) G G Nutrient content and cost per kg of food.

The augmented form of this LP is the following linear system of equations:

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3

Linear Programming: Simplex Algorithm. A function of several variables, f(x) issaidtobelinear if it satisþes the two

Chapter 4 The Simplex Algorithm Part I

Math Models of OR: Extreme Points and Basic Feasible Solutions

Operations Research Lecture 2: Linear Programming Simplex Method

ECE 307 Techniques for Engineering Decisions

Interior Point Methods for LP

OPRE 6201 : 3. Special Cases

MATH 445/545 Test 1 Spring 2016

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

In Chapters 3 and 4 we introduced linear programming

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

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

Understanding the Simplex algorithm. Standard Optimization Problems.

Week_4: simplex method II

System of Linear Equations

SOLVING INTEGER LINEAR PROGRAMS. 1. Solving the LP relaxation. 2. How to deal with fractional solutions?

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis:

Chapter 1: Linear Programming

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

Optimization (168) Lecture 7-8-9

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

Transcription:

41 Simplex Algorithm Using Canonical Tableaus Consider LP in standard form: Min z = cx + α subject to Ax = b where A m n has rank m and α is a constant In tableau form we record it as below Original Tableau x z A 0 b c 1 α Suppose a BFS x associated with a feasible basic vector x B is available Take z as the basic variable in the objective row, andwehave(x B, z) as a feasible basic vector for the original tableau 96

Given below is the canonical tableau wrt it (we take x B = (x 1,,x m )) Canonical Tableau Basic x 1 x m x m+1 x n z x 1 1 0 ā 1,m+1 ā 1n 0 b1 x m 0 1 ā m,m+1 ā mn 0 bm z 0 0 c m+1 c n 1 z 0 The Present BFS x is: nonbasics x m+1 to x n = 0 Basic = x 1 x m = z = z 0 b1 bm Columns in canonical tableau are called updated columns wrt present basic vector c m+1,, c n are called reduced (or relative) cost coefficients of present nonbasics wrt present basic vector 97

Theorem: Sufficient Opt Criterion: If all nonbasic reduced cost coeffs are 0, z 0 is the opt obj value, and present BFS is an opt sol Theorem: Suppose E = {j : c j < 0} Nonbasics x j for j E are said to be eligible to enter the present basic vector Choosing any one of them as entering variable leads to: an extreme half-line along which z if its updated column has no positive entries (no pivot step carried out in this case) a strict improvement in objective value if pivot step is nondegenerate (a better adjacent BFS) another basic vector for the same BFS if pivot step is degenerate Change in obj value in a pivot step = (Min ratio) (Rel cost coeff of entering var) 98

Simplex Algorithm Inputs needed: Problem in standard form, a feasible basic vector 1 If sufficient opt criterion satisfied in present canonical tableau, present BFS optimal, terminate 2 Select an entering variable among eligible vartiables 21 If updated col of entering variable has no positive entries, z unbounded below, terminate 22 Otherwise perform pivot step, and go back to 1 with canonical tableau of new basic vector 99

Example Min z = x 5 8x 6 subject to x 1 x 5 + x 6 = 2 x 2 + x 5 + x 6 = 1 x 3 +2x 5 + x 6 = 5 x 4 + x 6 = 0 Example Min z =2x 1 + x 2 x 3 +3x 4 6x 5 +10x 6 subject to x 1 + x 3 2x 5 x 6 = 2 x 2 + x 3 3x 5 +2x 6 = 4 x 3 + x 4 + x 5 +3x 6 = 1 100

Example Min z = x 1 2x 5 2x 6 +5x 7 + 100 subject to x 1 x 4 + x 7 = 2 x 1 + x 2 + x 5 +2x 7 = 3 x 3 + x 6 + x 7 = 5 x 4 x 7 = 0 101

Simplex Method to solve General LP 1 First put problem in standard form (a) Make all constraints into equations by introducing slacks (b) Eliminate any unrestricted variables by pivoting them out (c) Put objective in minimization form (d) Make RHS constants 0 2 Look for a unit basis Select basic variables corresponding to unit vectors, in as many rows as possible If full unit basis found (it will be feasible because of (d)), starting with it go to the simplex algorithm (Phase II) If full unit basis not found, introduce artificial variables corresponding to missing unit columns, and go to Phase I in which you apply simplex algorithm to minimize sum of artificial variables (Phase I objective function) starting with unit basis Phase I Once an artificial leaves basic vector, erase its column 102

from tableau If w = min of Phase I obj value > 0, original model infeasible, go to infeasibility analysis if w = 0, with basic vector at the end of Phase I, go to Phase II Transition From Phase I to Phase II: If all artificials left basic vector, delete last row ( w row), and the last col ( w column) in final Phase I tableau What remains is canonical tableau wrt present basic vector for original LP Begin Phase II with it If some artificials still in basic vector, their values must be 0 (otherwise w 0) Fod any j with d j > 0, fix x j = 0 and delete it from further consideration from original tableau Delete last row from final Phase I tableau, and go to Phase II with resulting tableau In this process all artificials in basic vector will remain = 0, or leave basic vector 103

Example Min z = x 1 +2x 2 +3x 3 subject to 2x 1 +3x 2 + x 3 x 4 = 9 x 1 +2x 2 x 3 + x 5 = 5 x 1 + x 2 +2x 3 = 4 Examples Original tableau x 1 x 2 x 3 x 4 x 5 x 6 z b 1 1 0 0 2 0 0 0 2 1 0 0 2 0 0 0 1 0 1 0 1 1 0 3 0 2 1 1 2 1 0 4 40 10 0 0 7 14 1 0 x j 0 for all j, minimize z 104

Theorem: Starting at an extreme point, the simplex algorithm traces an edge path along which the objective value is monotonic decreasing Terminates after a finite number of pivot steps with either an extreme half-line along which z or an extreme point optimum 105