CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

Similar documents
CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

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

AM 121: Intro to Optimization

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

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

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

Termination, Cycling, and Degeneracy

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

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

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

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

Simplex Algorithm Using Canonical Tableaus

1 Review Session. 1.1 Lecture 2

Simplex method(s) for solving LPs in standard form

February 17, Simplex Method Continued

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

ORF 522. Linear Programming and Convex Analysis

Summary of the simplex method

CO350 Linear Programming Chapter 6: The Simplex Method

Part 1. The Review of Linear Programming

AM 121: Intro to Optimization Models and Methods Fall 2018

IE 400: Principles of Engineering Management. Simplex Method Continued

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

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

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

Optimization (168) Lecture 7-8-9

Linear Programming and the Simplex method

The simplex algorithm

Systems Analysis in Construction

IE 5531: Engineering Optimization I

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

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

3 The Simplex Method. 3.1 Basic Solutions

Lecture slides by Kevin Wayne

1 Overview. 2 Extreme Points. AM 221: Advanced Optimization Spring 2016

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

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

Simplex Method: More Details

CO350 Linear Programming Chapter 5: Basic Solutions

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

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

Special cases of linear programming

A primal-simplex based Tardos algorithm

Math 273a: Optimization The Simplex method

OPERATIONS RESEARCH. Linear Programming Problem

Review Solutions, Exam 2, Operations Research

On the Chvatál-Complexity of Binary Knapsack Problems. Gergely Kovács 1 Béla Vizvári College for Modern Business Studies, Hungary

3 Does the Simplex Algorithm Work?

Notes on Simplex Algorithm

Lecture 5 Simplex Method. September 2, 2009

9.1 Linear Programs in canonical form

Math Models of OR: Some Definitions

Linear Programming, Lecture 4

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

Week 2. The Simplex method was developed by Dantzig in the late 40-ties.

F 1 F 2 Daily Requirement Cost N N N

Properties of a Simple Variant of Klee-Minty s LP and Their Proof

Lecture 2: The Simplex method. 1. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form.

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

4. Duality and Sensitivity

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

A Bound for the Number of Different Basic Solutions Generated by the Simplex Method

IE 5531: Engineering Optimization I

A Parametric Simplex Algorithm for Linear Vector Optimization Problems

Lecture 2: The Simplex method

CO350 Linear Programming Chapter 6: The Simplex Method

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

The Simplex Algorithm: Technicalities 1

LOWER BOUNDS FOR THE MAXIMUM NUMBER OF SOLUTIONS GENERATED BY THE SIMPLEX METHOD

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

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

Sensitivity Analysis

ORF 522. Linear Programming and Convex Analysis

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

Summary of the simplex method

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

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

2.098/6.255/ Optimization Methods Practice True/False Questions

Advanced Mathematical Programming IE417. Lecture 24. Dr. Ted Ralphs

MATH2070 Optimisation

1 date: February 23, 1998 le: papar1. coecient pivoting rule. a particular form of the simplex algorithm.

Revised Simplex Method

3. THE SIMPLEX ALGORITHM

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

LP Duality: outline. Duality theory for Linear Programming. alternatives. optimization I Idea: polyhedra

On the Number of Solutions Generated by the Simplex Method for LP

Duality Theory, Optimality Conditions

An upper bound for the number of different solutions generated by the primal simplex method with any selection rule of entering variables

Simplex Method for LP (II)

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

Introduction to Lexicographic Reverse Search: lrs

Linear programs Optimization Geoff Gordon Ryan Tibshirani

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

OPRE 6201 : 3. Special Cases

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

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

New Artificial-Free Phase 1 Simplex Method

58 Appendix 1 fundamental inconsistent equation (1) can be obtained as a linear combination of the two equations in (2). This clearly implies that the

Linear Programming Redux

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Transcription:

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination 22th June 2005

Chapter 8: Finite Termination Recap On Monday, we established In the absence of degeneracy, the simplex method will terminate after a nite number of iterations. The following observations. Iteration degenerate =) old tableau degenerate. The converse is not true. 2. Iteration degenerate =) new tableau degenerate. The converse is not true. 3. More than one choice of leaving variable =) new basis degenerate. The converse is not true. 4. Iteration is degenerate () basic solution remains the same.

Chapter 8: Finite Termination 2 Example of degeneracy (pg 05) x 2 6 x A (; 2) AU (0; ) x 0 - x + x 2 Feasible region H HHHH (0; 0) CO C H (; 0) HHHH H H x + x 2 = z x 2x 2-6 x x 2 0 LP problem: max z = x + x 2 s.t. x + x 2 x 2x 2 x x ; x 2 0

Chapter 8: Finite Termination 3 Geometry of degeneracy (bottom of pg 06) From the example: degeneracy in 2-dimension is represented by having more than two lines intersecting at an extreme point. =) there is a redundant constraint. In general: degeneracy in d-dimension is represented by having more than d hyperplanes intersecting at an extreme point. However, this does not necessarily mean that there is a redundant constraint. Example degenerate b.f.s

Chapter 8: Finite Termination 4 Cycling In some extreme cases, degeneracy may stall the simplex method indenitely: We may visit the same sequence of bases over and over again. This phenomenon is called cycling. Example of cycling (pg 07) Using largest coecient rule for entering variable. Initial tableau: z 2x 3x 2 + x 3 + 2x 4 = 0 Pivot on (6; 2): 2x 9x 2 + x 3 + 9x 4 + x 5 = 0 x 3 + x 2 x 3 3 2x 4 + x 6 = 0 z x + 6x 4 + 3x 6 = 0 Pivot on (5; ): x 2x 3 9x 4 + x 5 + 9x 6 = 0 x 3 + x 2 x 3 3 2x 4 + x 6 = 0 z 2x 3 3x 4 + x 5 + 2x 6 = 0 x 2x 3 9x 4 + x 5 + 9x 6 = 0 x 2 + 3 x 3 + x 4 3 x 5 2x 6 = 0

Chapter 8: Finite Termination 5 Example of cycling (cont'd) Pivot on (2; 4): z + 3x 2 x 3 + 6x 6 = 0 Pivot on (; 3): x + 9x 2 + x 3 2x 5 9x 6 = 0 x 2 + 3 x 3 + x 4 3 x 5 2x 6 = 0 z + x + 2x 2 2x 5 3x 6 = 0 Pivot on (4; 6): x + 9x 2 + x 3 2x 5 9x 6 = 0 3 x 2x 2 + x 4 + 3 x 5 + x 6 = 0 z + 6x 2 + 3x 4 x 5 = 0 Pivot on (3; 5): 2x 9x 2 + x 3 + 9x 4 + x 5 = 0 3 x 2x 2 + x 4 + 3 x 5 + x 6 = 0 z 2x 3x 2 + x 3 + 2x 4 = 0 2x 9x 2 + x 3 + 9x 4 + x 5 = 0 3 x + x 2 3 x 3 2x 4 + x 6 = 0 This is the same as the initial tableau!

Chapter 8: Finite Termination 6 The Perturbation Method (x8.3) In this chapter, we consider the LP problem (P ) max c T x s.t. Ax = b x 0 and assume that we are given a feasible basis B. Motivation Degeneracy occurs because too many hyperplanes intersect at an extreme point. Solution: nudge each hyperplane slightly so that such intersection disappear. More precisely, we change b to b 0 = 2 6 4 b + " b 2 + " 2. b m + " m where " is a very small but positive real number, and consider the LP problem (P 0 ) max c T x 3 7 5 s.t. Ax = b 0 x 0

Chapter 8: Finite Termination 7 We need to ensure that. the new LP problem (P 0 ) is feasible, and 2. the new LP problem (P 0 ) is nondegenerate.. (P 0 ) is feasible If A B = I, then the b.f.s. of fax = b 0 ; x 0g determined by B is x B = b 0, x N = 0, which is feasible. If A B 6= I, then we rst change the equality constraints of (P ) to (A B A)x = A B b Feasible region remains unchanged. The new equality constraints b Ax = b b satises b A B = I. Then we change b b to b b 0 by adding "; " 2 ; : : : ; " m. In both cases, (P 0 ) is feasible.

Chapter 8: Finite Termination 8 Before showing that (P 0 ) is nondegenerate, consider Question: How can we apply the simplex method without knowing the value "? Answer: " only appears on the r.h.s. of each tableau =) it only aects the choice of leaving variable =) we only need to compare numbers of the form d 0 + d " + d 2 " 2 + + d m " m Good news: Such numbers are comparable if " is small enough. Lemma 8.2 (pg 0). Consider the numbers and = 0 + " + 2 " 2 + + m " m = 0 + " + 2 " 2 + + m " m For all " suciently small and positive,. = if and only if i = i for 0 i m. 2. > if and only if k > k where k is the least integer i for which i 6= i. 3. < if and only if k < k where k is the least integer i for which i 6= i.

Chapter 8: Finite Termination 9 Example (Not in notes) Arrange the following numbers in ascending order, assuming that " is very small and positive. p = 3" 3" 2 p 2 = 3" + 0" 2 p 3 = 00" + 5" 2 p 4 = 2 + 7" 2 p 5 = 2 7" Comparing constants: p ; p 2 ; p 3 < p 4 ; p 5. Comparing " terms: p 5 < p 4 and p 3 < p ; p 2. Comparing " 2 terms: p < p 2. Answer: p 3 < p < p 2 < p 5 < p 4 Lexicographic ordering: Suppose we represent p by (0; 3; 3) and p 2 by (0; 3; 0). Then p < p 2 corresponds to the fact that (0; 3; 3) is lexicographically less than (0; 3; 0). We write (0; 3; 3) L < (0; 3; 0) This is also precisely how we order words in dictionaries: cap cat go golf to

Chapter 8: Finite Termination 0 We need to ensure that. the new LP problem (P 0 ) is feasible, and 2. the new LP problem (P 0 ) is nondegenerate. 2. (P 0 ) is nondegenerate Theorem 8.3 (pg ) (a) (P 0 ) is nondegenerate. (b) B is a feasible basis of (P 0 ) =) B is a feasible basis of (P ). (c) B is an optimal basis of (P 0 ) =) B is an optimal basis of (P ). (d) x k can enter and x r can leave in tableau for (P 0 ) corresponding to B =) same for tableau for (P ) corresponding to B. (e) Tableau for (P 0 ) corresponding to B detects unboundedness =) same for tableau for (P ) corresponding to B. Corollary 8.3 (pg 2) The simplex method applied to the perturbed problem (P 0 ) starting from a feasible basis B with A B = I will terminate after a nite number of iterations. Moreover, B 0 optimal for (P 0 ) =) B 0 optimal for (P ), and (P 0 ) unbounded =) (P ) unbounded.