Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)

Slides:



Advertisements
Similar presentations
Chapter 5: Linear Programming: The Simplex Method
Advertisements

Operation Research Chapter 3 Simplex Method.
SIMPLEX METHOD FOR LP LP Model.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Solving Linear Programming Problems: The Simplex Method
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
Computational Methods for Management and Economics Carla Gomes
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
5.6 Maximization and Minimization with Mixed Problem Constraints
Chapter 4 The Simplex Method
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
LINEAR PROGRAMMING SIMPLEX METHOD.
Presentation: H. Sarper
Chapter 6 Linear Programming: The Simplex Method
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.
Simplex method (algebraic interpretation)
Chapter 6 Sensitivity Analysis & Duality
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
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.
Public Policy Modeling Simplex Method Tuesday, October 13, 2015 Hun Myoung Park, Ph.D. Public Management & Policy Analysis Program Graduate School of International.
Solving Linear Programming Problems: The Simplex Method
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 4, 2011.
OR Perturbation Method (tableau form) (after two iterations, optimal solution obtained) (0+2  1 ) (0+2  2 ) (1+  3 )
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
4  The Simplex Method: Standard Maximization Problems  The Simplex Method: Standard Minimization Problems  The Simplex Method: Nonstandard Problems.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
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
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Sensitivity analysis LI Xiao-lei. A graphical introduction to sensitivity analysis Sensitivity analysis is concerned with how changes in an LP’s parameters.
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
Chapter 3 Linear Programming Methods
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
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 Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
Chapter 10 Advanced Topics in Linear Programming
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
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.
Chapter 4 The Simplex Algorithm and Goal Programming
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
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
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 7, 2011.
Perturbation method, lexicographic method
The Two-Phase Simplex Method
Chapter 4 Linear Programming: The Simplex Method
Chap 9. General LP problems: Duality and Infeasibility
Chapter 5. Sensitivity Analysis
Chapter 5. The Duality Theorem
Simplex method (algebraic interpretation)
Presentation transcript:

Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)

Chapter 3 Linear Programming Methods 高等作業研究 Initial BFS When the original model contains "greater than or equal to" inequalities or equations, a BFS is not immediately available. We now show how to find an initial solution by solving an augmented linear program as the first phase of a two-phase procedure. The second phase involves solving the original problem using the BFS obtained in the first phase as the starting point.

Chapter 3 Linear Programming Methods 高等作業研究 Example

Chapter 3 Linear Programming Methods 高等作業研究 (artificial variables: ) Note: The optimal objective value in phase 1 is w *=0.

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 7 -3

Chapter 3 Linear Programming Methods 高等作業研究 DUAL SIMPLEX ALGORITHM We say that the basis for the tableau is primal feasible if all elements of the right- hand side are nonnegative. Alternatively, when some of the elements are negative, we say that the basis is primal infeasible. Up to this point, we have always been concerned with primal feasible bases.

Chapter 3 Linear Programming Methods 高等作業研究 For the primal simplex algorithm, some elements in row 0 will be negative until the final iteration when the optimality conditions are satisfied. In the event that all elements of row 0 are nonnegative, we say that the associated basis is dual feasible. Alternatively, if some of the elements of row 0 are negative, we have a dual infeasible basis.

Chapter 3 Linear Programming Methods 高等作業研究 The primal simplex method works with primal feasible but dual infeasible (nonoptimal) bases. At the final (optimal) solution, the basis is both primal and dual feasible. Throughout the process, we maintain primal feasibility and drive toward dual feasibility.

Chapter 3 Linear Programming Methods 高等作業研究 For the dual simplex method, until the final iteration, each basis examined is primal infeasible (there are some negative values on the right-hand side) and dual feasible (all elements in row 0 are nonnegative). At the final (optimal) iteration, the solution is both primal and dual feasible. Throughout the process, we maintain dual feasibility and drive toward primal feasibility.

Chapter 3 Linear Programming Methods 高等作業研究 The dual simplex algorithm is best suited for problems in which an initial dual feasible solution is easily available. It is particularly useful for reoptimizing a problem after a constraint has been added or some parameters have been changed so that the previously optimal basis is no longer feasible.

Chapter 3 Linear Programming Methods 高等作業研究 Example Max s.t.

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 Leaving variable: the basic variable with most negative value.( ) Entering variable: min. ratio test

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 Restarting After Changing the Right- Hand-Side Constants Ex:

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 Changing the RHS constants will change only the entries in the last column of the tableau. In particular, if we change from 35 to 20 and from 20 to 26 in the original problem statement, the RHS vector in the tableau shown in Table 3.29 for the current basis B becomes

Chapter 3 Linear Programming Methods 高等作業研究 Why? The inverse matrix B -1 records the operations that have been done to the system of equations.

Chapter 3 Linear Programming Methods 高等作業研究 46

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 Adding a Constraint Using the preceding problem, we now add the constraint. The solution in the optimal tableau, = 20 and = 5, does not satisfy this constraint, so action must be taken to incorporate it into the tableau. First we subtract a slack variable to get the equality and then multiply it by -1 to achieve the correct form.

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 SIMPLEX METHOD USING MATRIX NOTATION Decision variables: Objective coefficients: Right-hand-side constants:

Chapter 3 Linear Programming Methods 高等作業研究 Structural coefficients:

Chapter 3 Linear Programming Methods 高等作業研究 LP Model

Chapter 3 Linear Programming Methods 高等作業研究 Suppose we now assume that the n variables are permuted so that the basic variables are the first m components of x. Then we can write x = ( ), where and refer to the basic and nonbasic variables, respectively. The matrix A can also be partitioned similarly into A = (B, N), where B is the m × m basis matrix and N is m × (n - m). The equation Ax = b can thus be written as

Chapter 3 Linear Programming Methods 高等作業研究 Multiplying through by yields =>

Chapter 3 Linear Programming Methods 高等作業研究 we introduce the n-dimensional row vector of dual variables,π, and define it as, so currently z =πb and x B =B -1 b.

Chapter 3 Linear Programming Methods 高等作業研究 Example Max s.t.

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 The dual solution is

Chapter 3 Linear Programming Methods 高等作業研究 we see that the objective function value for a given basis can be written as => The objective value as a function of alone is

Chapter 3 Linear Programming Methods 高等作業研究 Reduced cost of Optimality condition: (Q=set of nonbasic variables)

Chapter 3 Linear Programming Methods 高等作業研究 For a particular basis B, we have When we set all the nonbasic variables equal to zero except x k, this expression becomes

Chapter 3 Linear Programming Methods 高等作業研究 Note For the example problem, we start with the basic solution

Chapter 3 Linear Programming Methods 高等作業研究 Allowing to enter the basis, we compute The minimum ratio is θ= 6 for the first equation, so, must leave the basis.

Chapter 3 Linear Programming Methods 高等作業研究 The initial and later simplex tableau Performing elementary row operations to a system of equations is equivalent to pre-multiply the system of equations by a certain matrix.

Chapter 3 Linear Programming Methods 高等作業研究 REVISED SIMPLEX METHOD This method does not update and store the entire tableau but only those data elements needed to construct the current basis inverse and to reproduce the matrices describing the original problem.

Chapter 3 Linear Programming Methods 高等作業研究 Commercial codes do not store as an m × m matrix but use an implicit approach such as LU­decomposition to reconstruct it as needed. In this approach, the B-matrix is decomposed into an upper triangular matrix, U, and a lower triangular matrix, L, such that B = LU.

Chapter 3 Linear Programming Methods 高等作業研究 Components of Revised Simplex Algorithm:

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究

Chapter 3 Linear Programming Methods 高等作業研究 Suppose that x k is the entering variable and the r th basic variable is the leaving variable. The new basis inverse is: Inverse Update formula where E is an identity matrix except that its r th column is replaced by Ex: