A = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2.

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

CPS 616 ITERATIVE IMPROVEMENTS 10-1

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

Lesson 27 Linear Programming; The Simplex Method

4.4 The Simplex Method and the Standard Minimization Problem

6.2: The Simplex Method: Maximization (with problem constraints of the form )

Understanding the Simplex algorithm. Standard Optimization Problems.

Finite Mathematics MAT 141: Chapter 4 Notes

ECE 307 Techniques for Engineering Decisions

The Simplex Method of Linear Programming

Math Models of OR: Some Definitions

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

56:270 Final Exam - May

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

Chapter 4 The Simplex Algorithm Part II

Network Flow Problems Luis Goddyn, Math 408

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

Linear & Integer programming

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

Section 4.1 Solving Systems of Linear Inequalities

Exam 3 Review Math 118 Sections 1 and 2

Systems Analysis in Construction

Professor Alan H. Stein October 31, 2007

Optimum Solution of Linear Programming Problem by Simplex Method

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

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

The Dual Simplex Algorithm

Optimization II. Now lets look at a few examples of the applications of extrema.

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3

Linear Equations in Linear Algebra


F 1 F 2 Daily Requirement Cost N N N

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Paper Name: Linear Programming & Theory of Games. Lesson Name: Duality in Linear Programing Problem

M 340L CS Homework Set 1

Part 1. The Review of Linear Programming

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

MATH 210 EXAM 3 FORM A November 24, 2014

MA 162: Finite Mathematics - Section 3.3/4.1

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

4.3 Minimizing & Mixed Constraints

UNIVERSITY OF KWA-ZULU NATAL

MATH 445/545 Test 1 Spring 2016

Farkas Lemma, Dual Simplex and Sensitivity Analysis

A Review of Linear Programming

UNIT-4 Chapter6 Linear Programming

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

Optimization Methods: Optimization using Calculus - Equality constraints 1. Module 2 Lecture Notes 4

An introductory example

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

Linear Programming. H. R. Alvarez A., Ph. D. 1

Summary of the simplex method

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

Answer the following questions: Q1: Choose the correct answer ( 20 Points ):

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

Special cases of linear programming

Week_4: simplex method II

Exam 2 Review Math1324. Solve the system of two equations in two variables. 1) 8x + 7y = 36 3x - 4y = -13 A) (1, 5) B) (0, 5) C) No solution D) (1, 4)

Chap6 Duality Theory and Sensitivity Analysis

March 13, Duality 3

Foundations of Operations Research

Linear Programming: Simplex Method CHAPTER The Simplex Tableau; Pivoting

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

The Simplex Algorithm

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

Week 3: Simplex Method I

Linear Programming: Chapter 5 Duality

Chapter 5 Linear Programming (LP)

Introduction to the Simplex Algorithm Active Learning Module 3

Water Resources Systems: Modeling Techniques and Analysis

The augmented form of this LP is the following linear system of equations:

Non-Standard Constraints. Setting up Phase 1 Phase 2

1 Kernel methods & optimization

M340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3.

Example Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality

Algebraic Simplex Active Learning Module 4

Chapter 4 The Simplex Algorithm Part I

Linear Programming. Our market gardener example had the form: min x. subject to: where: [ acres cabbages acres tomatoes T

SAMPLE QUESTION PAPER MATHEMATICS (041) CLASS XII

2 3 x = 6 4. (x 1) 6

UNIVERSITY of LIMERICK

(includes both Phases I & II)

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

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

In the original knapsack problem, the value of the contents of the knapsack is maximized subject to a single capacity constraint, for example weight.

Summary of the simplex method

Review Solutions, Exam 2, Operations Research

Abe Mirza Graphing f ( x )

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

Chapter 1: Linear Programming

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

Slide 1 Math 1520, Lecture 10

Lecture 11 Linear programming : The Revised Simplex Method

Linear Programming: The Simplex Method

Another max flow application: baseball

Exam. Name. Use the indicated region of feasible solutions to find the maximum and minimum values of the given objective function.

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis:

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

Transcription:

Chapter 6 Linear rogramming: The Simple Method Section The Dual roblem: Minimization with roblem Constraints of the Form Learning Objectives for Section 6. Dual roblem: Minimization with roblem Constraints of the Form > The student will be able to formulate the dual problem. The student will be able to solve minimization problems. The student will be able to solve applications of the dual such as the transportation problem. The student will be able to summarize problem types and solution methods. Dual roblem: Minimization With roblem Constraints of the Form > Initial Matri Associated with each minimization problem with > constraints is a maimization problem called the dual problem. The dual problem will be illustrated through an eample. We wish to minimize the objective function C subject to certain constraints: C = 16 1 + 9 + 1 1 + + 1 1 + + 16 1,, 0 We start with an initial matri A which corresponds to the problem constraints: 1 1 1 1 1 16 A = 16 9 1 1 4

Transpose of Matri A To find the transpose of matri A, interchange the rows and columns so that the first row of A is now the first column of A transpose. The transpose is used in formulating the dual problem to follow. A T = 1 16 1 1 9 1 1 1 16 1 Dual of the Minimization roblem The dual of the minimization problem is the following maimization problem: Maimize under the constraints: = 1 + 16y + y 16 + y 9 + y 1, y 0 5 6 Formation of the Dual roblem Theorem 1: Fundamental rinciple of Duality Given a minimization problem with problem constraints, 1. Use the coefficients and constants in the problem constraints and the objective function to form a matri A with the coefficients of the objective function in the last row.. Interchange the rows and columns of matri A to form the matri A T, the transpose of A.. Use the rows of A T to form a maimization problem with problem constraints. A minimization problem has a solution if and only if its dual problem has a solution. If a solution eists, then the optimal value of the minimization problem is the same as the optimum value of the dual problem. 7 8

Forming the Dual roblem Form the Simple Tableau for the Dual roblem We transform the inequalities into equalities by adding the slack variables 1,, : + y + 1 = 16 + y + = 9 + y + = 1 1 16y + p = 0 The first pivot element is (in red) because it is located in the column with the smallest negative number at the bottom (-16), and when divided into the rightmost constants yields the smallest quotient (16/=8) y1 y 1 1 1 1 0 0 16 1 1 0 1 0 9 1 0 0 1 1 1 16 0 0 0 0 9 10 Simple rocess Divide row 1 by the pivot element () and change the entering variable to y Simple rocess erform row operations to get zeros in the column containing the pivot element. Result is shown below. Identify the net pivot element (0.5) (in red) y y 1 1 y.5 1.5 0 0 8 1 1 0 1 0 9 1 0 0 1 1 1 16 0 0 0 0 New pivot element ivot element located in this column because of negative indicator y y 1 1 y.5 1.5 0 0 8 0.5 1 0 1.5.5 0.5 0 1 1 4 0 8 0 0 18 11 1

Simple rocess Simple rocess Variable becomes new entering variable Divide row by 0.5 to obtain a 1 in the pivot position (circled.) y1 y 1 y.5 1.5 0 0 8 0 1 0 1.5 0.5 0 1 1 4 0 8 0 0 18 Get zeros in the column containing the new pivot element. y 1 y 0 1 1 1 0 8 1 0 1 0 0 0 5 1 8 0 0 4 8 0 16 We have now obtained the optimal solution since none of the bottom row indicators are negative. 1 14 Solution of the Linear rogramming roblem Solution of a Minimization roblem Solution: An optimal solution to a minimization problem can always be obtained from the bottom row of the final simple tableau for the dual problem. Minimum of is 16, which is also the maimum of the dual problem. It occurs at 1 = 4, = 8, = 0 y y 1 y y 1 1 0 1 1 1 0 8 1 0 1 0 0 0 5 1 8 0 0 4 8 0 16 15 Given a minimization problem with non-negative coefficients in the objective function, 1. Write all problem constraints as inequalities. (This may introduce negative numbers on the right side of some problem constraints.). Form the dual problem.. Write the initial iti system of fthe dual problem, using the variables from the minimization problem as slack variables. 16

Solution of a Minimization roblem Application: 4. Use the simple method to solve the dual problem. 5. Read the solution of the minimization problem from the bottom row of the final simple tableau in step 4. Note: If the dual problem has no optimal solution, the minimization problem has no optimal solution. One of the first applications of linear programming was to the problem of minimizing the cost of transporting materials. roblems of this type are referred to as transportation problems. Eample: A computer manufacturing company has two assembly plants, plant A and plant B, and two distribution outlets, outlet I and outlet II. lant A can assemble at most 700 computers a month, and plant B can assemble at most 900 computers a month. Outlet I must have at least 500 computers a month, and outlet II must have at least 1,000 computers a month. 17 18 Transportation costs for shipping one computer from each plant to each outlet are as follows: $6 from plant A to outlet I; $5 from plant A to outlet II: $4 from plant B to outlet I; $8 from plant B to outlet II. Find a shipping schedule that will minimize the total cost of shipping the computers from the assembly plants to the distribution outlets. What is the minimum cost? Solution: To form a shipping schedule, we must decide how many computers to ship from either plant to either outlet. This will involve 4 decision variables: 1 = number of computers shipped from plant A to outlet I = number of computers shipped from plant A to outlet II = number of computers shipped from plant B to outlet I 4 = number of computers shipped from plant B to outlet II 19 0

Constraints are as follows: 1 + < 700 Available from A + 4 < 900 Available from B 1 + > 500 Required at I + 4 > 1,000 Required at II Total shipping charges are: C = 6 1 + 5 + 4 + 8 4 Thus, we must solve the following linear programming problem: subject to 1 + Minimize C = 6 1 + 5 + 4 + 8 4 < 700 Available from A + 4 < 900 Available from B + > 500 Required at I 1 + 4 > 1,000 Required at II Before we can solve this problem, we must multiply the first two constraints by -1 so that all are of the > type. 1 The problem can now be stated as: Minimize C = 6 1 + 5 + 4 + 8 4 subject to - 1 - > -700 - - 4 > -900 1 + > 500 + 4 > 1,000 1,,, 4 > 0 1 1 0 0 700 0 0 1 1 900 A = 1 0 1 0 500 0 1 0 1 1,000 6 5 4 8 1 1 0 1 0 6 1 0 0 1 5 T A = 0 1 1 0 4 0 1 0 1 8 700 900 500 1,000 1 4

The dual problem is; Maimize = -700-900y +500y + 1,000y 4 subject to - + y < 6 - + y 4 < 5 -y + y < 4 -y + y 4 < 8, y, y, y 4 > 0 Introduce slack variables 1,,, and 4 to form the initial system for the dual: - + y + 1 = 6 - + y 4 + = 5 -y + y + = 4 -yy + y 4 + 4 =8-700 - 900y +500y + 1,000y 4 + = 0 5 6 Solution Summary of roblem Types and Simple Solution Methods If we form the simple tableau for this initial system and solve, we find that the shipping schedule that minimizes the shipping charges is 0 from plant A to outlet I, 700 from plant A to outlet II, 500 from plant B to outlet I, and 00 from plant B to outlet II. The total shipping cost is $7,900. roblem Constraints Right-Side Coefficients of Method of of Type Constants Objective Solution Function Maimization < Nonnegative Any real number Minimization > Any real Nonnegative number Simple Method Form dual and solve by simple method 7 8