Starting Solutions and Convergence

Slides:



Advertisements
Similar presentations
The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case.
Advertisements

Chapter 5: Linear Programming: The Simplex Method
Linear Programming – Simplex Method
SIMPLEX METHOD FOR LP LP Model.
Degeneracy and the Convergence of the Simplex Algorithm LI Xiao-lei.
Computational Methods for Management and Economics Carla Gomes Module 6b Simplex Pitfalls (Textbook – Hillier and Lieberman)
The Simplex Method: Standard Maximization Problems
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Design and Analysis of Algorithms
Solving Linear Programs: The Simplex Method
Linear Programming (LP)
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.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Duality Theory LI Xiaolei.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
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.
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: The Simplex Method.
OR Perturbation Method (tableau form) (after two iterations, optimal solution obtained) (0+2  1 ) (0+2  2 ) (1+  3 )
Mechanical Engineering Department 1 سورة النحل (78)
Discrete Optimization Lecture #3 2008/3/41Shi-Chung Chang, NTUEE, GIIE, GICE Last Time 1.Algorithms and Complexity » Problems, algorithms, and complexity.
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
1 Chapter 4 The Simplex Algorithm PART 2 Prof. Dr. M. Arslan ÖRNEK.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
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.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
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.
1. 2 We studying these special cases to: 1- Present a theoretical explanation of these situations. 2- Provide a practical interpretation of what these.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
1 Two-Phase Simplex Method file Simplex3_AMII_05b_gr Rev. 1.4 by M. Miccio on December 17, 2014 from a presentation at the Fuqua School of Business MIT.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Solving Linear Program by Simplex Method The Concept
Chap 10. Sensitivity Analysis
The minimum cost flow problem
Perturbation method, lexicographic method
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
The Two-Phase Simplex Method
Chapter 4 Linear Programming: The Simplex Method
Chap 9. General LP problems: Duality and Infeasibility
Chapter 5. Sensitivity Analysis
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Chap 3. The simplex method
Chapter 3 The Simplex Method and Sensitivity Analysis
Dual simplex method for solving the primal
Part 3. Linear Programming
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Well, just how many basic
Chapter 8. General LP Problems
Lecture 4 Part I Mohamed A. M. A..
CS5321 Numerical Optimization
ISyE 4231: Engineering Optimization
Chapter 8. General LP Problems
Chapter 4 The Simplex Algorithm
Chapter-III Duality in LPP
Chapter 2. Simplex method
Simplex method (algebraic interpretation)
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Chapter 10: Iterative Improvement
BASIC FEASIBLE SOLUTIONS
Chapter 8. General LP Problems
Practical Issues Finding an initial feasible solution Cycling
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Presentation transcript:

Starting Solutions and Convergence CONTENTS The Initial Basic Feasible Solutions The Two-Phase Method The Big-M Method Degeneracy, Cycling, and Stalling Reference: Chapter 4 in BJS book.

Starting Solutions The simplex method assumes the existence of a basic feasible solution When a basic feasible solution is not readily available, then we need to create one such solution by adding slack, surplus, or artificial variable

Starting Solutions (cont’d) Starting basis:

Starting Solutions (cont’d) In both cases, the constraint matrix does not contain an identity matrix.

Artificial Variables In order to obtain identity in the constraint matrix, sometimes we must add artificial variables. The use of artificial variables changes the solution space; hence we must guarantee that these variables will eventually drop to zero

Artificial Variables (cont’d) Let P1: and P2: Result 1: If P1 has a feasible solution, them P2 has a feasible solution with xa=0. Result 2: If P2 has a feasible solution with xa=0, then P1 has a feasible solution. Theorem: There is a one-to-one correspondence between feasible solution of P1 and feasible solutions of P2 with xa=0.

Two Phase Method Phase I: If at optimality , then stop; the original problem has no feasible solutions. If at optimality , then the original problem has a feasible solution (xB) and we go to phase 2.

Two Phase Method (cont’d) Phase II: Solve the following LP:

Optimization of the Simplex Tableau … xn xn+1 xn+m RHS 1 -c1 ... -cn -1 a11 a1n b1 xn+2 a21 a2n b2 am1 amn bm Phase I Objective Phase II Objective

Big M Method Solve the following LP: where M is a very large number. The term can be interpreted as a penalty to be paid by any solution with .

Nondegenerate Linear Program z-value of the new BFS = z-value of the current BFS – (value of the entering variable)*(zj – cj) for the entering variable We know that the reduced cost coeff. of the entering variable is positive. RESULT 1: If value of the entering variable > 0, then z-value of the new BFS is strictly less than the BFS of the current BFS. RESULT 2: If value of the entering variable = 0, then z-value of the new BFS is the same as that for the BFS of the current BFS.

Nondegenerate Linear Programs (contd.) Nondegenerate LP: We call a LP to be nondegenerate if in each BFS of the LP all the basic variables are positive. RESULT 3: For a nondegenerate LP, the value of the entering variable is always positive. RESULT 4: For a nondegenerate LP, the simplex algorithm never repeats a BFS and terminates within nCm iterations.

Degenerate Linear Programs Degenerate LP: We call a LP to be degenerate if it has at least one BFS in which a basic variable is equal to zero. The following LP is degenerate: max z = 5x1 + 2x2 max z = 5x1 + 2x2 s. t. x1 + x2  6 s. t. s. t. x1 + x2 + s1 = 6 x1 – x2  0 x1 – x2 + s2 = 0 x1, x2  0 x1, x2 , s1, s2  0

Degenerate Linear Programs (contd.) Starting Solution z x1 x2 s1 s2 RHS 1 -5 -2 6 -1 z x1 x2 s1 s2 RHS 1 -7 5 2 -1 6 Solution after the first iteration. It is a degenerate iteration.

Degenerate Linear Programs (contd.) z x1 x2 s1 s2 RHS 1 -7 5 2 -1 6 Solution after the first iteration z x1 x2 s1 s2 RHS 1 3.5 1.5 21 0.5 -0.5 3 Solution after the second iteration. It is a nondegenerate iteration.

Degenerate Linear Programs (contd.) BFS and Extreme Points BVs BFS Extreme Point x1, x2 x1=x3=3, s1=s2=0 D x1, s1 x1=0, s1=6, x2=s2=0 C x1, s2 x1=6, s2=-6, x2=s1=0 Infeasible x2, s1 x2=0, s1=6, x1=s2=0 x2, s2 x2=6, s2=6, s1=x1=0 B s1, s2 s1=6, s2=0, x1=x2=0 B 6 5 4 D 3 2 1 A C 1 2 3 4 5 6

Degenerate Linear Programs (contd.) In a degenerate iteration, the basis changes, but the BFS solution remains unchanged. In the presence of degeneracy, the objective function value may not increase from one iteration to next. For very large LPs, degeneracy is a real problem and over 90% of the pivot operations are degenerate iterations. For degenerate LPs, cycling can occur (that is, simplex algorithm can perform an infinite sequence of iterations without any improvement) and the algorithm may not obtain an optimal solution. Cycling can theoretically occur and but has never occurred in practice.