Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 7, 2011.

Slides:



Advertisements
Similar presentations
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Advertisements

Solving Linear Programming Problems: The Simplex Method
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
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.
Linear Programming (LP)
ISM 206 Lecture 4 Duality and Sensitivity Analysis.
5.6 Maximization and Minimization with Mixed Problem Constraints
Chapter 4 The Simplex Method
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 25, 2013.
LINEAR PROGRAMMING SIMPLEX METHOD.
ECON 1150 Matrix Operations Special Matrices
Row Reduction Method Lesson 6.4.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Presentation by: H. Sarper
The Theory of the Simplex Method
Chapter 6 Linear Programming: The Simplex Method
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
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 4, 2011.
Duality Theory.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
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.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
Matrices Introduction.
MTH108 Business Math I Lecture 20.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Water Resources Development and Management Optimization (Integer and Mixed Integer Programming) CVEN 5393 Mar 28, 2011.
Solving Linear Program by Simplex Method The Concept
Matrices and Matrix Operations
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Chap 10. Sensitivity Analysis
5 Systems of Linear Equations and Matrices
Perturbation method, lexicographic method
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Chapter 5 Simplex-Based Sensitivity Analysis and Duality
Sindhuja K, Annapoorani G, Pramela Devi S Department: CSE
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.
Chapter 3 The Simplex Method and Sensitivity Analysis
The Theory of the Simplex Method Asst. Prof. Dr. Nergiz Kasımbeyli
Dual simplex method for solving the primal
St. Edward’s University
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Matrices and Matrix Operations
Lecture 4 Part I Mohamed A. M. A..
6 Systems of Linear Equations and Matrices
Chapter-III Duality in LPP
Simplex method (algebraic interpretation)
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Presentation transcript:

Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 7, 2011

Acknowledgements Dr. Yicheng Wang (Visiting Researcher, CADSWES during Fall 2009 – early Spring 2010) for slides from his Optimization course during Fall 2009 Introduction to Operations Research by Hillier and Lieberman, McGraw Hill

Today’s Lecture Simplex Method Simplex Method for other forms Recap of algebraic form Simplex Method in Tabular form Simplex Method for other forms Equality Constraints Minimization Problems (Big M and Twophase methods) Sensitivity / Shadow Prices Simplex Method in Matrix form Basics of Matrix Algebra Revised Simplex Dual Simplex R-resources / demonstration

Simplex Method (MAtrix Form) Matrix Algebra Basics Revised Simplex

Matrices and Matrix Operations A matrix is a rectangular array of numbers. For example is a 3x2 matrix (matrices are denoted by Boldface Capital Letters) In more general terms,

To multiply a matrix by a number (denote this number by k ) Matrix Operations Let and be two matrices having the same number of rows and the same number of columns. To multiply a matrix by a number (denote this number by k ) To add two matrices A and B For example,

Subtraction of two matrices Matrix multiplication

Matrix division is not defined

Matrix operations satisfy the following laws. The relative sizes of these matrices are such that the indicated operations are defined. Transpose operations This operation involves nothing more than interchanging the rows and columns of the matrix.

Special kinds of matrices Identity matrix The identity matrix I is a square matrix whose elements are 0s except for 1s along the main diagonal. ( A square matrix is one in which the number of rows is equal to the number of columns). where I is assigned the appropriate number of rows and columns in each case for the multiplication operation to be defined.

Null matrix The null matrix 0 is a matrix of any size whose elements are all 0s .

Inverse of matrix

Vectors (We use boldface lowercase letters to represent vectors)

Partitioning of matrices Up to this point, matrices have been rectangular arrays of elements, each of which is a number. However, the notation and results are also valid if each element is itself a matrix. For example, the matrix

Example : Calculate AB, given

Matrix Form of Linear Programming Original Form of the Model Augmented Form of the Model

Solving for a Basic Feasible Solution For initialization, For any iteration, 19

Solving for a Basic Feasible Solution For initialization, xB = x = I-1b = b Z = cB I-1b = cB b For any iteration, Z = cB xB + cNxN = cB xB = cB B-1b xB = B-1b Z = cB B-1b BxB + NxN = b BxB = b - NxN xB = B-1b – B-1NxN xB = B-1b

Example xB = B-1b Z = cB B-1b xB = x = I-1b = b Z = cB I-1b = cB b

Matrix Form of the Set of Equations in the Simplex Tableau For the original set of equations, the matrix form is xB = B-1b Z = cB B-1b For any iteration,

Example For Iteration 2

Summary of the Revised Simplex Method 1. Initialization (Iteration 0) Optimality test:

Step 1: Determine the entering basic variable 2. Iteration 1 Step 1: Determine the entering basic variable So x2 is chosen to be the entering variable. Step 2: Determine the leaving basic variable So the number of the pivot row r =2 Thus, x4 is chosen to be the entering variable.

Step 3: Determine the new BF solution The new set of basic variables is To obtain the new B-1, So the new B-1 is

The nonbasic variables are x1 and x4. Optimality test: The nonbasic variables are x1 and x4. 3. Iteration 2 Step 1: Determine the entering basic variable x1 is chosen to be the entering variable.

Step 2: Determine the leaving basic variable The ratio 4/1 > 6/3 indicate that x5 is the leaving basic variable Step 3: Determine the new BF solution The new set of basic variables is Therefore, the new B-1 is Optimality test: The nonbasic variables are x4 and x5.

Relationship between the initial and final simplex tableaux

For iteration 1: y* = S* = B-1 =

For iteration 2: y* = S* = B-1 =

Dual Simplex

Hughes-McMakee-notes\chapter-05.pdf

Duality Theory and Sensitivity Analysis

is the surplus variable for the functional constraints in the dual problem.

If a solution for the primal problem and its corresponding solution for the dual problem are both feasible, the value of the objective function is optimal. If a solution for the primal problem is feasible and the value of the objective function is not optimal (for this example, not maximum), the corresponding dual solution is infeasible.

Summary of Primal-Dual Relationships

Summary of Primal-Dual Relationships

Primal Problem H C D B A E G Dual Problem F A E F D B C G H

Neither feasible nor superoptimal Suboptimal Superptimal Optimal Optimal Superoptimal Suboptimal

Adapting to Other Primal Forms

subject to subject to subject to (1) (2) : dual variables corresponding to (1) : dual variables corresponding to (2) subject to : unconstrained in sign

subject to subject to : dual variables corresponding to (2) subject to

Dual Simplex Method Suboptimal Superptimal Optimal Optimal Superoptimal Suboptimal

Simplex Method : Keep the solution in any iteration suboptimal ( not satisfying the condition for optimality, but the condition for feasibility). Dual Simplex Method : Keep the solution in any iteration superoptimal ( not satisfying the condition for feasibility, but the condition for optimality). If a solution satisfies the condition for optimality, the coefficients in row (0) of the simplex tableau must nonnegative. If a solution does not satisfy the condition for feasibility, one or more of the values of b in the right-side of simplex tableau must be negative.

Summary of Dual Simplex Method subject to

Sensitivity Analysis

Case 1 : Changes in bi

Incremental analysis

The dual simplex method now can be applied to find the new optimal solution.

The allowable range of bi to stay feasible C The solution remains feasible only if

Case 2a : Changes in the coefficients of a nonbasic variable Consider a particular variable xj (fixed j) that is a nonbaic variable in the optimal solution shown by the final simplex tableau. is the vector of column j in the matrix A . We have for the revised model. We can observe that the changes lead to a single revised constraint for the dual problem.

The allowable range of the coefficient ci of a nonbasic variable

Case 2b : Introduction of a new variable

Case 3 : Changes in the coefficients of a basic variable

The allowable range of the coefficient ci of a basic variable

Case 4 : Introduction of a new constraint

Parametric Linear Programming Systematic Changes in the cj Parameters The objective function of the ordinary linear programming model is For the case where the parameters are being changed, the objective function of the ordinary linear programming model is replaced by where q is a parameter and aj are given input constants representing the relative rates at which the coefficients are to be changed.

Example: To illustrate the solution procedure, suppose a1=2 and a2 = -1 for the original Wyndor Glass Co. problem, so that Beginning with the final simplex tableau for q = 0, we see that its Eq. (0) If q ≠ 0, we have

Because both x1 and x2 are basic variables, they both need to be eliminated algebraically from Eq. (0) The optimality test says that the current BF solution will remain optimal as long as these coefficients of the nonbasic variables remain nonnegative:

Summary of the Parametric Linear Programming Procedure for Systematic Changes the cj Parameters

Systematic Changes in the bi Parameters For the case where the bi parameters change systematically, the one modification made in the original linear programming model is that is replaced by, for i = 1, 2, …, m, where the ai are given input constants. Thus the problem becomes subject to The goal is to identify the optimal solution as a function of q

Example: subject to Suppose that a1=2 and a2 = -1 so that the functional constraints become This problem with q = 0 has already been solved in the table, so we begin with the final tableau given there.

Using the sensitivity procedure, we find that the entries in the right side column of the tableau change to the values given below Therefore, the two basic variables in this tableau Remain nonnegative for

Summary of the Parametric Linear Programming Procedure for Systematic Changes the bi Parameters