Math 210 Finite Mathematics Chapter 4.2 Linear Programming Problems Minimization - The Dual Problem

Similar documents
MATH 210 EXAM 3 FORM A November 24, 2014

Non-Standard Constraints. Setting up Phase 1 Phase 2

Understanding the Simplex algorithm. Standard Optimization Problems.

4.4 The Simplex Method and the Standard Minimization Problem

1. Introduce slack variables for each inequaility to make them equations and rewrite the objective function in the form ax by cz... + P = 0.

Slide 1 Math 1520, Lecture 10

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

Math Models of OR: Some Definitions

Math 210 Lecture Notes: Chapter Matrix Product Inverse Matrix

4.3 Minimizing & Mixed Constraints

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Lesson 27 Linear Programming; The Simplex Method

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

Review Solutions, Exam 2, Operations Research

Part 1. The Review of Linear Programming

MA 162: Finite Mathematics - Section 3.3/4.1

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns

Math Homework 3: solutions. 1. Consider the region defined by the following constraints: x 1 + x 2 2 x 1 + 2x 2 6

(includes both Phases I & II)

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

You solve inequalities the way you solve equations: Algebra Rule Equation Inequality 2x 5 = 3 2x 5 3. Add 5 to both sides 2x = 8 2x 8.

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Variants of Simplex Method

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

Systems Analysis in Construction

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Linear Programming: Chapter 5 Duality

Chap6 Duality Theory and Sensitivity Analysis

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

Optimization 4. GAME THEORY

Exam 3 Review Math 118 Sections 1 and 2

(includes both Phases I & II)

Section 4.1 Solving Systems of Linear Inequalities

Math 354 Summer 2004 Solutions to review problems for Midterm #1

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

Lecture 11 Linear programming : The Revised Simplex Method

The Dual Simplex Algorithm

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

Week_4: simplex method II

Math Models of OR: Handling Upper Bounds in Simplex

Lecture 11: Post-Optimal Analysis. September 23, 2009

Linear Programming: Simplex Method CHAPTER The Simplex Tableau; Pivoting

TIM 206 Lecture 3: The Simplex Method

Professor Alan H. Stein October 31, 2007

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

Worked Examples for Chapter 5

ORIE 6300 Mathematical Programming I August 25, Lecture 2

The Simplex Algorithm

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

Sensitivity Analysis

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

OPRE 6201 : 3. Special Cases

Linear Programming and the Simplex method

The Simplex Method for Solving a Linear Program Prof. Stephen Graves

Linear Programming, Lecture 4

Lecture Simplex Issues: Number of Pivots. ORIE 6300 Mathematical Programming I October 9, 2014

3. Duality: What is duality? Why does it matter? Sensitivity through duality.

Special cases of linear programming

SAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T.

UNIT-4 Chapter6 Linear Programming

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

MATH 373 Section A1. Final Exam. Dr. J. Bowman 17 December :00 17:00

Part III: A Simplex pivot

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

Foundations of Operations Research

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

March 13, Duality 3

ECE 307 Techniques for Engineering Decisions

Summary of the simplex method

MATH 445/545 Homework 2: Due March 3rd, 2016

9.1 Linear Programs in canonical form

Math Models of OR: Sensitivity Analysis

3. THE SIMPLEX ALGORITHM

Ω R n is called the constraint set or feasible set. x 1

Linear Programming Inverse Projection Theory Chapter 3

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

The Big M Method. Modify the LP

Math Models of OR: The Revised Simplex Method

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

4.6 Linear Programming duality

1 Review Session. 1.1 Lecture 2

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

Part 1. The Review of Linear Programming

Foundations of Operations Research

1. Math 101. Math 101 Website: richard/math101 Section 2 Website: richard/math101/fall06

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3)

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2

Optimisation and Operations Research

Supplementary lecture notes on linear programming. We will present an algorithm to solve linear programs of the form. maximize.

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1

Linear Programming and Marginal Analysis

Linear programs Optimization Geoff Gordon Ryan Tibshirani

MATH 118 FINAL EXAM STUDY GUIDE

Week 3: Simplex Method I

Chapter 1 Linear Programming. Paragraph 5 Duality

Optimum Solution of Linear Programming Problem by Simplex Method

Duality and Projections

Transcription:

Math 2 Finite Mathematics Chapter 4.2 Linear Programming Problems Minimization - The Dual Problem Richard Blecksmith Dept. of Mathematical Sciences Northern Illinois University Math 2 Website: http://math.niu.edu/courses/math2. An Example Minimize C = x+y subject to x+y 6 x+2y y. Solving the Problem The corner points of the feasible set are: (,2), (6,), and (,) x y C = x+y 2 2 6 92 2 Minimum value of C is 92 and occurs at the point (6,) Note: There is no maximum since the feasible set is infinite. (,2) (,6) (,) 2. Feasible Set Feasible Set Line 2: x+2y= (6,) Line : x+y=6 (,) Line : y= (,) (,) (6,) 4. Slack variables for Minimization When an inequality involves, the slack variable should be subtracted. For example, we rewrite the inequality x+y 6 as x+y u = 6 Really, u should perhaps be called an excess variable, rather than a slack variable, since u represents the amount that x + y exceeds the minimum allowable requirement of 6. Mathematically, x + y u = 6 means u = x+y 6 and so, u is equivalent to x+y 6 or x+y 6

2. Slack Variables for System The system of inequalities () x+y 6 (2) x+2y () y can be rewritten as () x+y u = 6 (2) x+2y v = () y w =. An Example Minimize C = x+y subject to x+y 6 x+2y y Reversing the rows and columns of the data table: x y const 6 2 C = u v w const 2 6 F Dual: Maximize F = 6u+v +w subject to u+v u+2v +w 6. The Dual Problem A standard minimization problem (where inequalities involve ) can be transformed into a standard maximization problem (where inequalities involve ) by the following method: Write the table of data for the original problem (not the tableau with slack variables) Put the objective function at the bottom (without the minus signs) Now reverse the rows and columns to obtain a new data table Make the inequalities involve Use u, v,... for the standard variables. 8. What s the Point? A linear programming problem and its dual problem are related in the following important way: The maxiumum of the original (or primal) problem is the minimum of the dual problem, and conversely. Moreover, the values of the variables for the solution of the dual problem can be read off the final tableau of the dual problem.

9. Example Revisited Solving the problem Minimize C = x+y subject to x+y 6 x+2y y x,y is equivalent to solving the dual problem Maximize F = 6u+v +w subject to u+v u+2v +w u,v,w The point is: we can solve the dual problem by the Simplex Method.. The Initial Tableau 2 6 Since we are only using the dual to solve our original minimization problem, we are not really interested in the values of these variables in terms of the dual maximazation problem, which we could obtain by setting the non-basic variables (u, v, and w) to zero and solving for the basic variables (x =, y =, F = ).. Finding the pivot The pivot column is 2 since the most negative value of the bottom row is in the second column. To find the pivot row, we compare ratios: The Simplex Tableau: ratio =.2 2 = 2. 2 6 The minimum ratio of.2 occurs in row, so the pivot row is. Pivot at row, col 2.. Simplex Tableau Maximize F = 6u+v +w subject to u+v u+2v +w u,v,w Introduce the slack variables x and y Note the change in letters! u+v +x = u+2v +w +y = u,v,w,x,y The Simplex Tableau: 2 6 2. The Initial Tableau 2 6 We can obtain the values of the variables relating to the original minimization problem by reading off the variables on the bottom row of the tableau: (It is not so surprising that we use the bottom row instead of the right side of the tableau, since switching rows and columns turns the original right side into the bottom.) u = 6 v = w = x = y =

4 4. Pivot at row, col 2 Step. The Initial Tableau. Step 2. 2 2 6 6 Step Step 4 Pivot at row col 2 2 2 6 6 Step Multiply row by Step 6 2 2 6 6 Add 2 row to row 2 2 + = 2 + 2 = 2 + = 2 2 + =

Step Step 8 2 2 6 6 Add row to row + 6 = 6 + = + = + =. The Second Tableau 2 6 We obtain the values of the variables relating to the original minimization problem by reading off the variables on the bottom row of the tableau: u = 6 v = w = x = y = 6. The Second Pivot The pivot column is since the most negative value of the bottom row is 6 in the first column. ratio / = 2 6 The minimum ratio of the pivot row is 2. Pivot at row 2, col. / = occurs in row 2, so

6. Pivot at row 2, col Step. The Initial Tableau. Step 2. 2 2 6 6 Step Step 4 Pivot at row 2 col 2 2 6 6 Step Multiply row 2 by Step 6 2 2 2 6 6 Add row 2 to row + = + = 2 + = + = + = 2

Step Step 8 2 2 2 2 6 6 92 Add 6 row 2 to row 6 + 6 = 6 + = 6 2 + = 6 6 + = 6 + = 92 8. The Third Tableau - Dual Look 2 2 6 92 Look at the colored values at the bottom of the tableau. These give the values of x, y, and P which solve the original minimization problem: x = 6 y = F = 92 Since the maximum of the dual equals the minimum of the original problem, the minimum value of C in the original problem is: minc = maxf = 92 The slack variables are: u = v = w = Pure Magic

8 9. The Nutrition Problem Minimize C = 2x+4y subject to 2x+y 2 x+y 6 x+y 9 x,y To obtain the dual problem, we reverse the rows and columns of the data table. 2. Simplex Tableau Maximize F = 2u+6v +9w subject to 2u+v +w 2 u+v +w 4 u,v,w Introduce the slack variables x and y Note the change in letters! 2u+v +w+x = 2 u+v +w +y = 4 u,v,w,x,y The Simplex Tableau: 2 2 4 2 6 9 2. Dual of the Nutrition Problem Minimize C = 2x+4y subject to 2x+y 2 x+y 6 x+y 9 x y const 2 2 6 9 2 4 C = u v w const 2 2 4 2 6 9 F Dual: Maximize F = 2u+6v+9w subject to 2u+v +w 2 +v +w 4 22. Finding the pivot The pivot column is since the most negative value of the bottom row is 2 in the first column. To find the pivot row, we compare ratios: The Simplex Tableau: ratio 2 2 2 2 =. 4 4 = 42 2 6 9 The minimum ratio of 4 2 occurs in row 2, so the pivot row is 2. Pivot at row 2, col. 2. Pivot at row 2, col Step. The Initial Tableau. 2 2 Step 2. 2 2 4 4 2 6 9 2 6 9 Pivot at row 2 col

9 Step 2 2 Step 4 2 2 4 4 2 6 9 2 6 9 Step Multiply row 2 by Step 6 2 2 2 4 4 2 6 9 2 6 9 Add 2 row 2 to row 2 + 2 = 2 + = 2 + = 2 + = 2 2 4 + 2 =

Step Step 8 2 2 4 4 2 6 9 2 4 6 Add 2 row 2 to row 2 + 2 = 2 + 6 = 2 2 + 9 = 2 + = 4 2 4 + = 6 24. The Second Tableau 2 4 2 4 6 We obtain the values of the variables relating to the original minimization problem by reading off the variables on the bottom row of the tableau: u = v = 2 w = x = y = 4 2. Finding the second pivot The pivot column is 2 since the most negative value of the bottom row is 2 in the second column. To find the pivot row, we compare ratios: The Simplex Tableau: ratio 2 / = 4 4 / = 4 2 4 6 The minimum ratio of occurs in row, so the pivot row is. Pivot at row, col 2.

26. Pivot at row, col 2 Step. The Initial Tableau. Step 2. 2 2 4 4 2 4 6 2 4 6 Step. Step 4. Pivot at row col 2 2 2 4 4 2 4 6 2 4 6 Step. Multiply row by Step 6. 2 2 4 8 2 4 6 2 4 6 Add row to row 2 + = + = 8 + = 2 + = + 4 =

2 Step. Step 8. 2 2 8 8 2 4 6 6 24 66 Add 2 row to row 2 + 2 = 2 + = 2 + = 6 2 2 + 4 = 24 2 + 6 = 66 2. The Third Tableau 2 8 6 24 66 The values of x, y, and C which solve the original minimization problem can be read from the bottom row: x = 6 y = 24 Since this is the final tableau, the minimum value of C of the original minimization problem is the maximum value of F for the dual problem: C = 66 6 2 (,) Line 2: x+y = 6 4 2 ( 6, ) 2 24 ( 9, 2 ) 8 8 28. Feasible Region Feasible Region Line : 2x+y = 2 2 (, 2) Line : x+y = 9 6 9