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

Slides:



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

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
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)
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
Water Resources Development and Management Optimization (Integer Programming) CVEN 5393 Mar 11, 2013.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
Computational Methods for Management and Economics Carla Gomes
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
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
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
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
Presentation by: H. Sarper
The Dual Problem: Minimization with problem constraints of the form ≥
Presentation: H. Sarper
The Theory of the Simplex Method
Chapter 6 Linear Programming: The Simplex Method
Duality Theory LI Xiaolei.
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.
Parametric Linear Programming-1 Parametric Linear Programming.
Solving Linear Programming Problems: The Simplex Method
Duality Theory.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
4  The Simplex Method: Standard Maximization Problems  The Simplex Method: Standard Minimization Problems  The Simplex Method: Nonstandard Problems.
Chapter 6 Linear Programming: The Simplex Method Section 3 The Dual Problem: Minimization with Problem Constraints of the Form ≥
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
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.
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.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ 5.5 Dual problem: minimization.
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.
Mathematics Medicine What is meant by a matrix A matrix is a set of numbers arranged in the form of a rectangle and enclosed in curved brackets.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
MTH108 Business Math I Lecture 20.
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.
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 7, 2011.
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.
Sindhuja K, Annapoorani G, Pramela Devi S Department: CSE
Chapter 4 Linear Programming: The Simplex Method
Chapter 5. Sensitivity Analysis
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
Chapter-III Duality in LPP
Presentation transcript:

Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Mar 4, 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 – 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 3 x 2 matrix (matrices are denoted by Boldface Capital Letters) In more general terms,

Matrix Operations To multiply a matrix by a number (denote this number by k ) Let and be two matrices having the same number of rows and the same number of columns. 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 where I is assigned the appropriate number of rows and columns in each case for the multiplication operation to be defined. 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).

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 ModelAugmented Form of the Model

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

Solving for a Basic Feasible Solution For initialization, Bx B + Nx N = b Bx B = b - Nx N x B = B -1 b – B -1 Nx N x B = B -1 b Z = c B x B + c N x N = c B x B = c B B -1 b x B = B -1 b Z = c B B -1 b x B = x = I -1 b = b Z = c B I -1 b = c B b For any iteration,

Example x B = B -1 b Z = c B B -1 b x B = x = I -1 b = b Z = c B I -1 b = c B b

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

Example For Iteration 2

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

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

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

Optimality test: The nonbasic variables are x 1 and x Iteration 2 Step 1: Determine the entering basic variable x 1 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 Therefore, the new B -1 is The new set of basic variables is Step 3: Determine the new BF solution Optimality test: The nonbasic variables are x 4 and x 5.

Relationship between the initial and final simplex tableaux

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

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

DUAL SIMPLEX

HUGHES-MCMAKEE- NOTES\CHAPTER-05.PDF

Duality Theory and Sensitivity Analysis Duality Theory

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

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

Suboptimal Superoptimal Optimal Superptimal Suboptimal Optimal Neither feasible nor superoptimal

Adapting to Other Primal Forms

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

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

Dual Simplex Method Suboptimal Superoptimal Optimal Superptimal Suboptimal Optimal

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 b i

Incremental analysis

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

The allowable range of b i to stay feasible The solution remains feasible only if A B C

Case 2a : Changes in the coefficients of a nonbasic variable Consider a particular variable x j (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 havefor 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 c i 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 c i of a basic variable

Case 4 : Introduction of a new constraint

Parametric Linear Programming Systematic Changes in the c j 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  is a parameter and  j are given input constants representing the relative rates at which the coefficients are to be changed.

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

Because both x 1 and x 2 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 c j Parameters

Systematic Changes in the b i Parameters For the case where the b i 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  i are given input constants. Thus the problem becomes subject to The goal is to identify the optimal solution as a function of 

Example: subject to Suppose that  1 =2 and  2 = -1 so that the functional constraints become This problem with  = 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 b i Parameters