Lecture 7: Sensitivity Analysis. Reading: Chapter 9

Size: px
Start display at page:

Download "Lecture 7: Sensitivity Analysis. Reading: Chapter 9"

Transcription

1 Lecture 7: Sensitivity Analysis Reading: Chapter 9 1

2 Sensitivity Analysis: Answering the What If Questions After you have solved a given LP and found an optimal solution: 1. What is the effect of a change in one or more parameters on the optimal tableau? current solution? 2. If the solution is no longer optimal, what needs to be done in order to find a new optimal solution? 3. What happens when we add a new variable? a new constraint? 4. What if we want to test changes in parameters over a range of possible parameter values? 2

3 Problem Parameters and the Optimal Tableau Suppose we start with a canonical max form tableau z x 1 x 2... x n s 1 s 2... s m rhs 0 a 11 a a 1n b 1 0 a 21 a a 2n b a m1 a m2... a mn b m 1 c 1 c 2... c n and we pivot (using whatever method) to optimal tableau basis z x 1 x 2... x n s 1 s 2... s m rhs x B1 0 a 11 a a 1n s 11 s s 1m b 1 x B2 0 a 21 a a 2n s 21 s s 2m b x Bm 0 a m1 a m2... a mn s m1 s m2... s mm b m z 1 c 1 c 2... c n y 1 y 2... y m z 0 with b 0 and c 0. We start by identifying the basis matrix B = [A B1,..., A Bm ], the basic costs c B = [c B1,..., c Bm ], the inverse matrix S = B 1, and the dual variables y = c B S. 3

4 Example: Woody s Problem Initial tableau z x 1 x 2 x 3 s 1 s 2 s 3 rhs Optimal tableau basis z x 1 x 2 x 3 s 1 s 2 s 3 rhs s / x /4 0 2/3 2 x / z / We can read off from the the slack columns S = 15/ /4 0 2/3 1/2 0 1 and note that y = ( 5/2, 0, 5 ) c B = ( c 5, c 2, c 1 ) = ( 0, 60, 35 ) 4

5 The Key Equations Recall the matrix equations describing the final tableau derived in Lecture 4: In formulae: b = S b (1) A = S A (2) c = c c B S A z 0 = c y A (3) = c c B A (3 ) = c B S b = y b (4) = c B b (4 ) (1) b i = s i1b 1 + s i2b s imb m i = 1,..., m (2) a ij = s i1a 1j + s i2a 2j s ima mj i = 1,..., m, j = 1,..., n (3) c j = c j y1a 1j y2a 2j... yma mj j = 1,..., n (3 ) = c j c B1 a 1j c B2 a 2j... c Bm a mj j = 1,..., n (4) z0 = y1b 1 + y2b ymb m (4 ) = c B1 b 1 + c B2 b c Bm b m 5

6 Dual Variables as Shadow Prices The dual variables serve an important role as a mechanism for pricing the parameters of the LP. In particular, The dual variable for the i th constraint represents the shadow price for that constraint, and is the amount the objective function value will increase per unit increase of b i. That is, y i = z/ b i. Example: Suppose Woody has the opportunity to buy additional amounts of either mahogany or pine at $2 per linear foot. Which (if any) of these opportunities should he take advantage of? Answer: The shadow price of pine is 5/2, which means that each additional unit of pine obtained will result in an increase of the in Woody s profits by $2.50. Thus buying pine at $2 per linear foot results in a profit of $.50 for each additional linear foot purchased. Mahogany has $0 shadow price (why?). Thus there is no change in the objective per additional units of pine, and so there is no price attractive enough to convince Woody to buy more mahogany. 6

7 Changes in a Resource Suppose we want to change the values of one or more b k values. Effect on the optimal tableau: b k only appears in Equations (1) and (4), i.e. only the right-handside column (b and z 0) is affected Effect on the current solution: All basic solution values, as well as the objective function value, may change. Dual solution remains the same (although its objective function value may change). Effect on feasibility: Primal solution may become infeasible. Dual solution remains dual feasible. Reoptimization method: Dual Simplex Method. 7

8 Example Suppose Woody wants to change the amount of pine he uses each day, that is, he is changing b 1 currently 120 to an amount b 1 + = New tableau and solution values: s 2 b1 15/ x B = x 2 = b2 = 1/4 0 2/3 x 1 b3 1/2 0 1 = /4 2 1/ /2 z 0 = ( 5/2, 0, 5 ) = / In particular, for every four linear feet of pine Woody buys, he will make two more chairs and one less table (and still no desks), with an additional profit of $10. There is a limit here, however; if, say, Woody buys 12 more linear feet of pine the RHS values will be 75, -1, and 18 (and z 0 = 570). In this case, we would have to reoptimize by performing a dual simplex pivot in Row 2, in particular, with x 4 replacing x 2 in the basis. 8

9 Changes in Nonbasic Cost Coefficients Suppose that we want to change the costs c k for one or more variables that are nonbasic in the optimal tableau. Effect on the optimal tableau: c k only appears in the Equation (3) and only for j = k, i.e. only the entry c k is affected. Effect on the current solution: Primal and dual solution values and objective function value remain the same. Effect on feasibility: Primal solution remains feasible, but dual solution may become infeasible. Reoptimization method: Primal Simplex Method 9

10 Example Suppose that Woody wants to change the price for desks so that the current value of c 3 = 75 changes to an amount New value of c 3: c 3 = (75 + ) ( 5/2, 0, 5 ) = 10 + Reduced costs and ranging for optimality: The reduced cost of any nonbasic variable in the optimal tableau represents the minimum increase allowed for the profit of that variable before it enters the basis. (For a min problem, this represents the minimum decrease in that cost.) Any less than that increase will not affect the optimal solution for either the primal or dual problem. In our example, if the profits for desks stays below 75+ = $85 then there will be no change in the optimal solution values for the problem. If profits for desks exceed $85 then a pivot would be called for in column 3, with desks (x 3 ) replacing chairs (x 2 ) in the basis. 10

11 Changes in Basic Cost Coefficients Suppose we want to analyze a change in the cost c k of a basic variable in the optimal tableau. Effect on the optimal tableau: c k appears in Equation (3 ) and (4 ), and affects the entire objective function row (z 0 and all c j) Effect on the current solution: Primal solution remains the same (although its objective function may change) and dual solution values may change. Effect on feasibility: Primal solution remains feasible, dual solution may become infeasible. Reoptimization method: primal simplex method 11

12 Example Suppose that Woody wants to analyze a change in the price of chairs from its current value of c 1 = 35 to an amount (Negative of the) new tableau values: Using (3 ), (4 ) with c B = (c 5, c 2, c 1 ) = (0, 60, 35 + ) we get c = ( 35 +, 60, 75, 0, 0, 0 ) ( 0, 60, 35 + ) / /4 0 2/ /2 0 1 = ( 0, 0, 10 +, 5/2 1/2, 0, 5 + ) z 0 = ( 0, 60, 35 + ) = Thus if c 1 increases by = 5 the optimal solution value would not change, although its objective function now becomes 600, and the dual solution becomes ỹ = (5, 0, 0). If profits decrease by, say, = 10, though, then c 4 becomes 5 (corresponding tableau value is 5) and so x 4 enters the basis, replacing x 5. 12

13 Changes in Nonbasic Production Coefficients Suppose we want to analyze a change in the value a kl of a nonbasic variable in the optimal tableau. Effect on the optimal tableau: a kl appears in Equations (2) and (3), and affects all values in Column l (and nothing else). Effect on the current solution: Primal and dual solution values and objective function value remain the same. Effect on feasibility: Primal solution remains feasible, but dual solution may become infeasible. Reoptimization method: Primal Simplex Method 13

14 Example Suppose that Woody wants to decrease the number of carpenter-hours spent on making desks from its current value of a 33 = 9 to value a 33 = 9, to see when it becomes profitable to make desks. New tableau values: ã 13 15/ ã 23 = 1/4 0 2/3 ã 33 1/2 0 1 c 3 = 75 ( 5/2, 0, 5 ) = /3 1 + = Value at which Woody would start making desks: Since the only change in the objective row occurs at c 3, then the tableau and hence current solution will remain optimal as long as c 3 = 10 5 remains nonnegative. In this case we need 10 5 < 0, i.e. > 2 (a 33 < 7) before it becomes preferable to pivot on Column 3, that is, make desks. We would then make primal simplex method pivot to reoptimize. 14

15 Adding a Variable Suppose Woody wants to consider producing executive desks, with each executive desk requiring 12 linear feet of pine, 30 linear feet of mahogany, and 15 carpenter-hours, with a profit of $175. Effect on the optimal tableau: A new column (using x 4 = number of executive desks) is added, using Equations (2) and (3), as if the Revised Simplex Method were being applied. Remaining values remain unchanged. Effect on the current solution: Solution value and objective function value remain the same. New tableau values: ã 14 ã 24 ã 34 = 15/ /4 0 2/3 1/2 0 1 c 4 = 175 ( 5/2, 0, 5 ) = = 70 c 4 = 70, so Woody should produce executive desks. Reoptimization Method: Primal Simplex Method. In this case the first pivot would be in Row 2, that is, Woody would replace table production with executive desk production. 15

16 Changes in Basic Production Coefficients Suppose we want to analyze a change in the value a kl of a basic variable x l = x Br in the optimal tableau. Effect on the optimal tableau: Again, a kl appears in Equations (2) and (3), and affects values in Column l. Unfortunately, Column l is a basic column, and hence the resulting tableau may stop being basic. Remedy: After substituting in the new column values, we pivot on the (r, l) th entry. The tableau then becomes basic again, but all tableau entries can change. Tableau can become primal infeasible, dual infeasible, or both. Method of reoptimization: Depends upon tableau status. If the tableau happens to remain primal feasible apply the Phase II Simplex Method; if the tableau happens to remain dual feasible apply the Dual Simplex Method. If it becomes both primal and dual infeasible, then we would have to apply some Phase I method. 16

17 Example Suppose that Woody wants to analyze a change in the amount of carpenter-hours spent on making chairs (a 31 ) from 3 to 2. Then the values in Column 1 become ã 11 ã 21 ã 31 = 15/ /4 0 2/3 1/2 0 1 c 1 = 35 ( 5/2, 0, 5 ) = = /3 2 We replace Column 1 by the above values, and then pivot on entry (3, 1), to get new tableau basis z x 1 x 2 x 3 s 1 s 2 s 3 rhs s / x /3 1/12 0 1/3 6 x /2 1/4 0 1/2 6 z /2 15/4 0 5/2 570 In this case the tableau remains dual feasible, and so we apply the dual simplex method to reoptimize, pivoting on entry (1, 6). This again produces an optimal tableau. 17

18 Adding a Constraint Suppose we want to add a constraint of the type a m+1,1 x 1 + a m+1,2 x a m+1,n x n b m+1 1. Enter the corresponding equality constraint (including the slack variable) into the current tableau as the (m + 1) st row. 2. Cost out the current basis by subtracting a m+1,bi (Row i) from Row (m + 1). Equivalently, use the formulae à m+1, = A m+1 A m+1,b A S m+1, = A m+1,b S bm+1 = b m+1 A m+1,b b where A m+1,b = (A m+1,b1,..., A m+1,bm ). 3. If b m+1 < 0, continue to apply the Dual Simplex Method to reoptimize. 18

19 Example Woody wants to limit himself to 10 pieces of furniture each day, that is, he wants to add the constraint x 1 + x 2 + x 3 10 to his tableau. He can add this row directly to the tableau and cost out the basic variables, or use the formulae: Ã 4, = A 4 (A 45, A 42, A 41 )A = ( 1, 1, 1 ) ( 0, 1, 1 ) = ( 0, 0, 0 ) S 4, = (A 45, A 42, A 41 )S = ( 0, 1, 1 ) = ( 1/4, 0, 1/3 ) 15/ /4 0 2/3 1/ b4 = 10 ( 0, 1, 1 ) = 4. 19

20 This gives the following tableau: basis z x 1 x 2 x 3 s 1 s 2 s 3 s 4 rhs s / x /4 0 2/3 0 2 x / s /4 0 1/3 1 4 z / Two dual simplex pivots produce optimal tableau basis z x 1 x 2 x 3 s 1 s 2 s 3 s 4 rhs x /10 1/2 3/2 3 x /5 2/3 2 0 x /10 1/6 1/2 7 s / z / so that Woody should produce 7 chairs and 3 desks. 20

21 Other Types of Inequalities constraints: Negate the constraint and treat it as a constraint. Equality constraints: Add this constraint just as you would a constraint, but without the slack variable. Then do a dual simplex pivot on the added row (ignore the sign of the RHS) to determine a basic variable for that tableau. Then continue with the Dual Simplex Method. Example: Suppose Woody wanted to make exactly 10 pieces of furniture. The initial tableau will look like basis z x 1 x 2 x 3 s 1 s 2 s 3 rhs s / x /4 0 2/3 2 x / ? /4 0 1/3 4 z / Pivot on the s 1 column to put s 1 into the basis in Row 4. One more pivot gives the same optimal tableau and solution as in the case, only without the s 4 column. 21

22 Summary of Sensitivity Analysis parameter relevant parts of tableau method of changed equation(s) affected reoptimization b i (1) & (4) entire r.h.s. column dual simplex nonbasic c j (3) a 0j only primal simplex basic c j (3 ) & (4 ) entire objective row primal simplex nonbasic a ij (2) & (3) entire j th column primal simplex basic a ij (2) & (3) all entries (depends upon + pivot type of tableau) added column (2) & (3) new column primal simplex added constraint cost out new row dual simplex 22

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints Chapter 6 Linear Programming: The Simplex Method Introduction to the Big M Method In this section, we will present a generalized version of the simplex method that t will solve both maximization i and

More information

Linear Programming Notes VII Sensitivity Analysis

Linear Programming Notes VII Sensitivity Analysis Linear Programming Notes VII Sensitivity Analysis 1 Introduction When you use a mathematical model to describe reality you must make approximations. The world is more complicated than the kinds of optimization

More information

4.6 Linear Programming duality

4.6 Linear Programming duality 4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP. Different spaces and objective functions but in general same optimal

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method Introduction to dual linear program Given a constraint matrix A, right

More information

Duality in Linear Programming

Duality in Linear Programming Duality in Linear Programming 4 In the preceding chapter on sensitivity analysis, we saw that the shadow-price interpretation of the optimal simplex multipliers is a very useful concept. First, these shadow

More information

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2 IEOR 4404 Homework # Intro OR: Deterministic Models February 14, 011 Prof. Jay Sethuraman Page 1 of 5 Homework #.1 (a) What is the optimal solution of this problem? Let us consider that x 1, x and x 3

More information

Chapter 2 Solving Linear Programs

Chapter 2 Solving Linear Programs Chapter 2 Solving Linear Programs Companion slides of Applied Mathematical Programming by Bradley, Hax, and Magnanti (Addison-Wesley, 1977) prepared by José Fernando Oliveira Maria Antónia Carravilla A

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS

Sensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS Sensitivity Analysis 3 We have already been introduced to sensitivity analysis in Chapter via the geometry of a simple example. We saw that the values of the decision variables and those of the slack and

More information

Linear Programming in Matrix Form

Linear Programming in Matrix Form Linear Programming in Matrix Form Appendix B We first introduce matrix concepts in linear programming by developing a variation of the simplex method called the revised simplex method. This algorithm,

More information

Special Situations in the Simplex Algorithm

Special Situations in the Simplex Algorithm Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the

More information

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

Solving Linear Programs

Solving Linear Programs Solving Linear Programs 2 In this chapter, we present a systematic procedure for solving linear programs. This procedure, called the simplex method, proceeds by moving from one feasible solution to another,

More information

Standard Form of a Linear Programming Problem

Standard Form of a Linear Programming Problem 494 CHAPTER 9 LINEAR PROGRAMMING 9. THE SIMPLEX METHOD: MAXIMIZATION For linear programming problems involving two variables, the graphical solution method introduced in Section 9. is convenient. However,

More information

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,

More information

Practical Guide to the Simplex Method of Linear Programming

Practical Guide to the Simplex Method of Linear Programming Practical Guide to the Simplex Method of Linear Programming Marcel Oliver Revised: April, 0 The basic steps of the simplex algorithm Step : Write the linear programming problem in standard form Linear

More information

Linear Programming I

Linear Programming I Linear Programming I November 30, 2003 1 Introduction In the VCR/guns/nuclear bombs/napkins/star wars/professors/butter/mice problem, the benevolent dictator, Bigus Piguinus, of south Antarctica penguins

More information

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood

Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood PERFORMANCE EXCELLENCE IN THE WOOD PRODUCTS INDUSTRY EM 8720-E October 1998 $3.00 Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood A key problem faced

More information

What is Linear Programming?

What is Linear Programming? Chapter 1 What is Linear Programming? An optimization problem usually has three essential ingredients: a variable vector x consisting of a set of unknowns to be determined, an objective function of x to

More information

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16. LINEAR PROGRAMMING II 1 Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16. Introduction A minimization problem minimizes the value of the objective function rather than

More information

Solving Linear Programs in Excel

Solving Linear Programs in Excel Notes for AGEC 622 Bruce McCarl Regents Professor of Agricultural Economics Texas A&M University Thanks to Michael Lau for his efforts to prepare the earlier copies of this. 1 http://ageco.tamu.edu/faculty/mccarl/622class/

More information

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1 Operation Research Module 1 Unit 1 1.1 Origin of Operations Research 1.2 Concept and Definition of OR 1.3 Characteristics of OR 1.4 Applications of OR 1.5 Phases of OR Unit 2 2.1 Introduction to Linear

More information

56:171 Operations Research Midterm Exam Solutions Fall 2001

56:171 Operations Research Midterm Exam Solutions Fall 2001 56:171 Operations Research Midterm Exam Solutions Fall 2001 True/False: Indicate by "+" or "o" whether each statement is "true" or "false", respectively: o_ 1. If a primal LP constraint is slack at the

More information

Linear Programming Problems

Linear Programming Problems Linear Programming Problems Linear programming problems come up in many applications. In a linear programming problem, we have a function, called the objective function, which depends linearly on a number

More information

Degeneracy in Linear Programming

Degeneracy in Linear Programming Degeneracy in Linear Programming I heard that today s tutorial is all about Ellen DeGeneres Sorry, Stan. But the topic is just as interesting. It s about degeneracy in Linear Programming. Degeneracy? Students

More information

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming

More information

Linear Programming. Solving LP Models Using MS Excel, 18

Linear Programming. Solving LP Models Using MS Excel, 18 SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting

More information

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where. Introduction Linear Programming Neil Laws TT 00 A general optimization problem is of the form: choose x to maximise f(x) subject to x S where x = (x,..., x n ) T, f : R n R is the objective function, S

More information

Chapter 6: Sensitivity Analysis

Chapter 6: Sensitivity Analysis Chapter 6: Sensitivity Analysis Suppose that you have just completed a linear programming solution which will have a major impact on your company, such as determining how much to increase the overall production

More information

15.053/8 February 26, 2013

15.053/8 February 26, 2013 15.053/8 February 26, 2013 Sensitivity analysis and shadow prices special thanks to Ella, Cathy, McGraph, Nooz, Stan and Tom 1 Quotes of the Day If the facts don't fit the theory, change the facts. --

More information

0.1 Linear Programming

0.1 Linear Programming 0.1 Linear Programming 0.1.1 Objectives By the end of this unit you will be able to: formulate simple linear programming problems in terms of an objective function to be maximized or minimized subject

More information

Mathematical finance and linear programming (optimization)

Mathematical finance and linear programming (optimization) Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may

More information

9.4 THE SIMPLEX METHOD: MINIMIZATION

9.4 THE SIMPLEX METHOD: MINIMIZATION SECTION 9 THE SIMPLEX METHOD: MINIMIZATION 59 The accounting firm in Exercise raises its charge for an audit to $5 What number of audits and tax returns will bring in a maximum revenue? In the simplex

More information

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above: Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. left most nonzero entry) of a row is in

More information

OPRE 6201 : 2. Simplex Method

OPRE 6201 : 2. Simplex Method OPRE 6201 : 2. Simplex Method 1 The Graphical Method: An Example Consider the following linear program: Max 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2

More information

4 UNIT FOUR: Transportation and Assignment problems

4 UNIT FOUR: Transportation and Assignment problems 4 UNIT FOUR: Transportation and Assignment problems 4.1 Objectives By the end of this unit you will be able to: formulate special linear programming problems using the transportation model. define a balanced

More information

Linear Programming. April 12, 2005

Linear Programming. April 12, 2005 Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first

More information

Simplex method summary

Simplex method summary Simplex method summary Problem: optimize a linear objective, subject to linear constraints 1. Step 1: Convert to standard form: variables on right-hand side, positive constant on left slack variables for

More information

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

International Doctoral School Algorithmic Decision Theory: MCDA and MOO International Doctoral School Algorithmic Decision Theory: MCDA and MOO Lecture 2: Multiobjective Linear Programming Department of Engineering Science, The University of Auckland, New Zealand Laboratoire

More information

Sensitivity Report in Excel

Sensitivity Report in Excel The Answer Report contains the original guess for the solution and the final value of the solution as well as the objective function values for the original guess and final value. The report also indicates

More information

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that

More information

Optimization in R n Introduction

Optimization in R n Introduction Optimization in R n Introduction Rudi Pendavingh Eindhoven Technical University Optimization in R n, lecture Rudi Pendavingh (TUE) Optimization in R n Introduction ORN / 4 Some optimization problems designing

More information

Linear Programming: Theory and Applications

Linear Programming: Theory and Applications Linear Programming: Theory and Applications Catherine Lewis May 11, 2008 1 Contents 1 Introduction to Linear Programming 3 1.1 What is a linear program?...................... 3 1.2 Assumptions.............................

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Row Echelon Form and Reduced Row Echelon Form

Row Echelon Form and Reduced Row Echelon Form These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation

More information

The Graphical Method: An Example

The Graphical Method: An Example The Graphical Method: An Example Consider the following linear program: Maximize 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2 0, where, for ease of reference,

More information

This exposition of linear programming

This exposition of linear programming Linear Programming and the Simplex Method David Gale This exposition of linear programming and the simplex method is intended as a companion piece to the article in this issue on the life and work of George

More information

Several Views of Support Vector Machines

Several Views of Support Vector Machines Several Views of Support Vector Machines Ryan M. Rifkin Honda Research Institute USA, Inc. Human Intention Understanding Group 2007 Tikhonov Regularization We are considering algorithms of the form min

More information

Nonlinear Programming Methods.S2 Quadratic Programming

Nonlinear Programming Methods.S2 Quadratic Programming Nonlinear Programming Methods.S2 Quadratic Programming Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard A linearly constrained optimization problem with a quadratic objective

More information

Chapter 4. Duality. 4.1 A Graphical Example

Chapter 4. Duality. 4.1 A Graphical Example Chapter 4 Duality Given any linear program, there is another related linear program called the dual. In this chapter, we will develop an understanding of the dual linear program. This understanding translates

More information

MATH 10034 Fundamental Mathematics IV

MATH 10034 Fundamental Mathematics IV MATH 0034 Fundamental Mathematics IV http://www.math.kent.edu/ebooks/0034/funmath4.pdf Department of Mathematical Sciences Kent State University January 2, 2009 ii Contents To the Instructor v Polynomials.

More information

Lecture 2: August 29. Linear Programming (part I)

Lecture 2: August 29. Linear Programming (part I) 10-725: Convex Optimization Fall 2013 Lecture 2: August 29 Lecturer: Barnabás Póczos Scribes: Samrachana Adhikari, Mattia Ciollaro, Fabrizio Lecci Note: LaTeX template courtesy of UC Berkeley EECS dept.

More information

3. Linear Programming and Polyhedral Combinatorics

3. Linear Programming and Polyhedral Combinatorics Massachusetts Institute of Technology Handout 6 18.433: Combinatorial Optimization February 20th, 2009 Michel X. Goemans 3. Linear Programming and Polyhedral Combinatorics Summary of what was seen in the

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Recall that two vectors in are perpendicular or orthogonal provided that their dot Orthogonal Complements and Projections Recall that two vectors in are perpendicular or orthogonal provided that their dot product vanishes That is, if and only if Example 1 The vectors in are orthogonal

More information

information available. There is a tremendous amount of sensitivity information, or information

information available. There is a tremendous amount of sensitivity information, or information Chapter 8 Sensitivity Analysis for Linear Programming Finding the optimal solution to a linear programming model is important, but it is not the only information available. There is a tremendous amount

More information

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication). MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

Duality in General Programs. Ryan Tibshirani Convex Optimization 10-725/36-725

Duality in General Programs. Ryan Tibshirani Convex Optimization 10-725/36-725 Duality in General Programs Ryan Tibshirani Convex Optimization 10-725/36-725 1 Last time: duality in linear programs Given c R n, A R m n, b R m, G R r n, h R r : min x R n c T x max u R m, v R r b T

More information

EXCEL SOLVER TUTORIAL

EXCEL SOLVER TUTORIAL ENGR62/MS&E111 Autumn 2003 2004 Prof. Ben Van Roy October 1, 2003 EXCEL SOLVER TUTORIAL This tutorial will introduce you to some essential features of Excel and its plug-in, Solver, that we will be using

More information

SENSITIVITY ANALYSIS AS A MANAGERIAL DECISION

SENSITIVITY ANALYSIS AS A MANAGERIAL DECISION SENSITIVITY ANALYSIS AS A MANAGERIAL DECISION MAKING TOOL SENSITIVITY ANALYSIS AS A MANAGERIAL DECISION MAKING TOOL SUMMARY Martina Briš, B.Sc.(Econ) Faculty of Economics in Osijek 87 Decision making is

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

Chapter 3. if 2 a i then location: = i. Page 40

Chapter 3. if 2 a i then location: = i. Page 40 Chapter 3 1. Describe an algorithm that takes a list of n integers a 1,a 2,,a n and finds the number of integers each greater than five in the list. Ans: procedure greaterthanfive(a 1,,a n : integers)

More information

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving Section 7 Algebraic Manipulations and Solving Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving Before launching into the mathematics, let s take a moment to talk about the words

More information

Offered to MAN ECN IRL THM IBT Elective. Course Level Course Code Year Semester ECTS Weekly Course Hours

Offered to MAN ECN IRL THM IBT Elective. Course Level Course Code Year Semester ECTS Weekly Course Hours Offered by Department of Business Administration Course Status Offered to MAN ECN IRL THM IBT Compulsory Offered to MAN ECN IRL THM IBT Elective Course Title Management Science Course Level Course Code

More information

26 Integers: Multiplication, Division, and Order

26 Integers: Multiplication, Division, and Order 26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

Using EXCEL Solver October, 2000

Using EXCEL Solver October, 2000 Using EXCEL Solver October, 2000 2 The Solver option in EXCEL may be used to solve linear and nonlinear optimization problems. Integer restrictions may be placed on the decision variables. Solver may be

More information

1 Linear Programming. 1.1 Introduction. Problem description: motivate by min-cost flow. bit of history. everything is LP. NP and conp. P breakthrough.

1 Linear Programming. 1.1 Introduction. Problem description: motivate by min-cost flow. bit of history. everything is LP. NP and conp. P breakthrough. 1 Linear Programming 1.1 Introduction Problem description: motivate by min-cost flow bit of history everything is LP NP and conp. P breakthrough. general form: variables constraints: linear equalities

More information

Product Mix as a Framing Exercise: The Role of Cost Allocation. Anil Arya The Ohio State University. Jonathan Glover Carnegie Mellon University

Product Mix as a Framing Exercise: The Role of Cost Allocation. Anil Arya The Ohio State University. Jonathan Glover Carnegie Mellon University Product Mix as a Framing Exercise: The Role of Cost Allocation Anil Arya The Ohio State University Jonathan Glover Carnegie Mellon University Richard Young The Ohio State University December 1999 Product

More information

Solving Linear Systems, Continued and The Inverse of a Matrix

Solving Linear Systems, Continued and The Inverse of a Matrix , Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing

More information

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Solving square systems of linear equations; inverse matrices. Linear algebra is essentially about solving systems of linear equations,

More information

. P. 4.3 Basic feasible solutions and vertices of polyhedra. x 1. x 2

. P. 4.3 Basic feasible solutions and vertices of polyhedra. x 1. x 2 4. Basic feasible solutions and vertices of polyhedra Due to the fundamental theorem of Linear Programming, to solve any LP it suffices to consider the vertices (finitely many) of the polyhedron P of the

More information

Using CPLEX. =5 has objective value 150.

Using CPLEX. =5 has objective value 150. Using CPLEX CPLEX is optimization software developed and sold by ILOG, Inc. It can be used to solve a variety of different optimization problems in a variety of computing environments. Here we will discuss

More information

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL

LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL Chapter 6 LINEAR INEQUALITIES 6.1 Introduction Mathematics is the art of saying many things in many different ways. MAXWELL In earlier classes, we have studied equations in one variable and two variables

More information

26 Linear Programming

26 Linear Programming The greatest flood has the soonest ebb; the sorest tempest the most sudden calm; the hottest love the coldest end; and from the deepest desire oftentimes ensues the deadliest hate. Th extremes of glory

More information

Lecture Notes 2: Matrices as Systems of Linear Equations

Lecture Notes 2: Matrices as Systems of Linear Equations 2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably

More information

Study Guide 2 Solutions MATH 111

Study Guide 2 Solutions MATH 111 Study Guide 2 Solutions MATH 111 Having read through the sample test, I wanted to warn everyone, that I might consider asking questions involving inequalities, the absolute value function (as in the suggested

More information

SOLVING LINEAR SYSTEMS

SOLVING LINEAR SYSTEMS SOLVING LINEAR SYSTEMS Linear systems Ax = b occur widely in applied mathematics They occur as direct formulations of real world problems; but more often, they occur as a part of the numerical analysis

More information

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

More information

Lecture 2 Matrix Operations

Lecture 2 Matrix Operations Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or

More information

6-3 Solving Systems by Elimination

6-3 Solving Systems by Elimination Warm Up Simplify each expression. 1. 2y 4x 2(4y 2x) 2. 5(x y) + 2x + 5y Write the least common multiple. 3. 3 and 6 4. 4 and 10 5. 6 and 8 Objectives Solve systems of linear equations in two variables

More information

Solutions of Linear Equations in One Variable

Solutions of Linear Equations in One Variable 2. Solutions of Linear Equations in One Variable 2. OBJECTIVES. Identify a linear equation 2. Combine like terms to solve an equation We begin this chapter by considering one of the most important tools

More information

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd ) (Refer Slide Time: 00:28) Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay Lecture - 13 Consumer Behaviour (Contd ) We will continue our discussion

More information

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 DAVID L. BERNICK dbernick@soe.ucsc.edu 1. Overview Typical Linear Programming problems Standard form and converting

More information

Linear Programming Sensitivity Analysis

Linear Programming Sensitivity Analysis Linear Programming Sensitivity Analysis Massachusetts Institute of Technology LP Sensitivity Analysis Slide 1 of 22 Sensitivity Analysis Rationale Shadow Prices Definition Use Sign Range of Validity Opportunity

More information

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes Solving Polynomial Equations 3.3 Introduction Linear and quadratic equations, dealt within Sections 3.1 and 3.2, are members of a class of equations, called polynomial equations. These have the general

More information

Solving Linear Programs using Microsoft EXCEL Solver

Solving Linear Programs using Microsoft EXCEL Solver Solving Linear Programs using Microsoft EXCEL Solver By Andrew J. Mason, University of Auckland To illustrate how we can use Microsoft EXCEL to solve linear programming problems, consider the following

More information

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

More information

T ( a i x i ) = a i T (x i ).

T ( a i x i ) = a i T (x i ). Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

Actually Doing It! 6. Prove that the regular unit cube (say 1cm=unit) of sufficiently high dimension can fit inside it the whole city of New York.

Actually Doing It! 6. Prove that the regular unit cube (say 1cm=unit) of sufficiently high dimension can fit inside it the whole city of New York. 1: 1. Compute a random 4-dimensional polytope P as the convex hull of 10 random points using rand sphere(4,10). Run VISUAL to see a Schlegel diagram. How many 3-dimensional polytopes do you see? How many

More information

Lecture Notes on MONEY, BANKING, AND FINANCIAL MARKETS. Peter N. Ireland Department of Economics Boston College. irelandp@bc.edu

Lecture Notes on MONEY, BANKING, AND FINANCIAL MARKETS. Peter N. Ireland Department of Economics Boston College. irelandp@bc.edu Lecture Notes on MONEY, BANKING, AND FINANCIAL MARKETS Peter N. Ireland Department of Economics Boston College irelandp@bc.edu http://www2.bc.edu/~irelandp/ec261.html Chapter 16: Determinants of the Money

More information

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system 1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables

More information

4.3-4.4 Systems of Equations

4.3-4.4 Systems of Equations 4.3-4.4 Systems of Equations A linear equation in 2 variables is an equation of the form ax + by = c. A linear equation in 3 variables is an equation of the form ax + by + cz = d. To solve a system of

More information

An Introduction to Linear Programming

An Introduction to Linear Programming An Introduction to Linear Programming Steven J. Miller March 31, 2007 Mathematics Department Brown University 151 Thayer Street Providence, RI 02912 Abstract We describe Linear Programming, an important

More information

OPTIMIZATION. Schedules. Notation. Index

OPTIMIZATION. Schedules. Notation. Index Easter Term 00 Richard Weber OPTIMIZATION Contents Schedules Notation Index iii iv v Preliminaries. Linear programming............................ Optimization under constraints......................3

More information