OR-1 20101 Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.

Slides:



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

Duality for linear programming. Illustration of the notion Consider an enterprise producing r items: f k = demand for the item k =1,…, r using s components:
Chapter 5: Linear Programming: The Simplex Method
Summary of complementary slackness: 1. If x i ≠ 0, i= 1, 2, …, n the ith dual equation is tight. 2. If equation i of the primal is not tight, y i =0. 1.
Solving LP Models Improving Search Special Form of Improving Search
EMGT 501 HW #1 Solutions Chapter 2 - SELF TEST 18
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
Operation Research Chapter 3 Simplex Method.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
Duality Dual problem Duality Theorem Complementary Slackness
Computational Methods for Management and Economics Carla Gomes
7(2) THE DUAL THEOREMS Primal ProblemDual Problem b is not assumed to be non-negative.
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Use complementary slackness to check the solution: ( 20/3, 0, 16/3, 0) Maximize 9 x 1 -3 x x 3 -7 x 4 subject to 2 x x x x 4 ≤
LINEAR PROGRAMMING SIMPLEX METHOD.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
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 method (algebraic interpretation)
Duality Theory LI Xiaolei.
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.
OR Perturbation Method (tableau form) (after two iterations, optimal solution obtained) (0+2  1 ) (0+2  2 ) (1+  3 )
1. 2 Computing the Adjoint matrix: 3 Assignment #3 is available. Due: Monday Nov. 5, beginning of class.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
3.3 Implementation (1) naive implementation (2) revised simplex method
Mechanical Engineering Department 1 سورة النحل (78)
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
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 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.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
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.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
OR Relation between (P) & (D). OR optimal solution InfeasibleUnbounded Optimal solution OXX Infeasible X( O )O Unbounded XOX (D) (P)
Linear Programming Chapter 9. Interior Point Methods  Three major variants  Affine scaling algorithm - easy concept, good performance  Potential.
OR  Now, we look for other basic feasible solutions which gives better objective values than the current solution. Such solutions can be examined.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
(iii) Simplex method - I D Nagesh Kumar, IISc Water Resources Planning and Management: M3L3 Linear Programming and Applications.
Chapter 4 The Simplex Algorithm and Goal Programming
Solving Linear Program by Simplex Method The Concept
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Chap 10. Sensitivity Analysis
The minimum cost flow problem
Perturbation method, lexicographic method
Chap 9. General LP problems: Duality and Infeasibility
The Simplex Method: Standard Minimization Problems
Chapter 5. Sensitivity Analysis
Chap 3. The simplex method
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Chapter 8. General LP Problems
Chapter 5. The Duality Theorem
Chapter 8. General LP Problems
Chapter 4 The Simplex Algorithm
Chapter 2. Simplex method
Simplex method (algebraic interpretation)
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Chapter 8. General LP Problems
Chapter 2. Simplex method
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Presentation transcript:

OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we know which variables are basic.  Suppose we have the following form after adding slack variables to the standard LP. (or any LP in equality form and nonnegativity)

OR  Note that we have m basic variables and n nonbasic variables in a dictionary. Reorder the columns of A (the order that variables appear) so that the columns for basic variables come first. Partition A into A=[B : N], where B is m  m (and nonsingular, see the proof in the text p.100) and the columns of B correspond to basic variables. Let

OR  Matrix representation of dictionary (tableau)  Note that In the text A N is used instead of N

OR  Current tableau  c B ’B -1 N can be interpreted differently i.e. we take linear combination of rows of N using weights - y i and add it to c N ’ in the z-row. For basic variables, we have y’B = c B ’. Hence the coefficients 0 of the basic variables in the z-row can be interpreted as taking linear combination of rows of B using weights – y i and add it to c B ’ in the z- row ( c B ’ + ( -c B ’B -1 B) = 0 ).

OR Similar argument also holds for r.h.s., i.e. add (- y)’b to z-row. Hence given the initial tableau, we obtain z-row of the updated tableau by taking linear combination of rows of the initial tableau using weights - y i and add it to z-row. It is the net effect of many elementary row operations performed on the tableau.  Recall the proof of strong duality theorem, in which we claimed that, at the optimal tableau, the negative of the coefficients of slack variables in z-row is an optimal dual solution. It is the y vector obtained from y = c B ’B -1. We will see the reason shortly.

OR  Initially, we have After reordering of columns

OR Updated tableau = c B ’ – c B ’B -1 B = c N ’ – c B ’B -1 N ( = B -1 [ B : N ] )(= B -1 b) = 0 – c B ’B -1 b (c B ’B -1 = y’ )

OR  Let Then updated z-row is obtained by multiplying - y i to the i-th constraint (row) and add it to z-row for all constraints i. We can identify the coefficient of a nonbasic variable in z-row by computing c j – y’A j, once y vector is known ( y’ = c B ’B -1 ). Also B -1 gives information what elementary row operations are performed on the constraints. ( updated i-th constraint = ( i-th row of B -1 )  [B : N], so j-th component of ( i-th row of B -1 ) is the weight we multiply to the j-th original constraint. We take linear combination of rows of [B : N]. )  Hence updated tableau carries information what elementary operations have been performed ( the net effect) to obtain the current tableau.  z-row obtained from c –y’A (objective value: 0 –y’b)  i-th constraint : ( i-th row of B -1 )  [B : N] (r.h.s: ( i-th row of B -1 )b )

 Ex) OR

10  Current dictionary

OR

OR Updated tableau

OR Apply same elementary row operations

OR c j – y’A j = - y m+j c j – y’e j = - y j

OR  The coefficients of slack variables in z-row are -y j, j = 1,.., 3. Also note that the coefficient of j-th original structural variable in the z- row is c j – y’A j. Since dual constraint for j-th structural variable is y’A j  c j, we obtain y’A j – y m+j = c j if we subtract nonnegative surplus variable to convert it into an equation. Then c j – y’A j = - y m+I. So the coefficient of j-th structural variable in the z-row can be interpreted as the negative of j-th surplus variable of the dual problem.  In the optimal tableau (the current tableau is not optimal yet), the coefficients in z-row are all nonpositive. Hence we have a dual feasible solution. Also c B ’B -1 b = c B ’x B = y’b ( x B = B -1 b, y’ = c B ’B -1 )

OR Summary  We can read the B -1 matrix from the updated tableau. Note that B -1 [B | N ] = [ I | B -1 N ] in the updated tableau. If we premultiply B -1 to [A | I ] matrix in the initial tableau, we obtain the same matrix as [ I | B -1 N ] except that the positions of the columns are different. From B -1 [A | I ] = [B -1 A | B -1 ], we conclude that B -1 is the coefficient matrix for the slack variables in the updated tableau. Also B -1 carries the information of the net effect of the elementary row operations we needed to perform to obtain the updated tableau from the initial tableau.  We can read a dual solution from the z-row in the updated tableau. Let O denote the index set of original structural variables and S the slack vars. Then Note that we have y’B=c B ’, hence

OR Then

OR  In summary, each tableau in the simplex iterations gives primal basic feasible solution and, as a by-product, gives a dual solution (it is a dual basic solution although we do not prove it here). The dual solution is not necessarily dual feasible, but always gives an objective value of the dual problem which is the same as the primal objective value of the current primal solution. Also the primal and the dual solution pairs satisfy the complementary slackness condition (check this) If we obtain a dual feasible solution, i.e. the coefficients in the z-row are all nonpositive, we obtain primal, dual feasible solution with the same objective value. Hence optimality of the primal solution is established.  Other types of algorithms can be designed using the complementary slackness optimality conditions. (e.g. dual simplex method, some algorithms for network problems,...)

OR

OR The Revised Simplex Method  Efficient implementation of the simplex method.  Recall the needed operations for the simplex method: Find the entering and the leaving variable, update dictionary. (If we know the basis, entire tableau can be constructed. Hence we do not really need to update the dictionary.)  Find the entering variable x j : 1) Find 2) Evaluate Choose a nonbasic variable with as the entering nonbasic var.  Find the leaving variable:

OR Suppose x k, k  N is the entering nonbasic variable. As we increase x k while keeping other nonbasic variables at 0, we get  Update: Set Replace the leaving column of B by entering column A j, and x k enters the basis in place of x l (position in the basis is important)

OR ex) Current dictionary

OR Find entering nonbasic variable x j such that c j - y’A j > 0 ( y = c B ’B -1 ) First solve y’B = c B ’

OR