(includes both Phases I & II)

Similar documents
(includes both Phases I & II)

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

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

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

Sensitivity Analysis

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

Math Models of OR: Some Definitions

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

Week_4: simplex method II

Simplex Method for LP (II)

Lecture 11 Linear programming : The Revised Simplex Method

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

Review Solutions, Exam 2, Operations Research

The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006

Part 1. The Review of Linear Programming

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

Relation of Pure Minimum Cost Flow Model to Linear Programming

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

Transportation Simplex: Initial BFS 03/20/03 page 1 of 12

Summary of the simplex method

Math Models of OR: Sensitivity Analysis

9.1 Linear Programs in canonical form

Special cases of linear programming

Simplex tableau CE 377K. April 2, 2015

Lecture 5 Simplex Method. September 2, 2009

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

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

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0.

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

The dual simplex method with bounds

56:270 Final Exam - May

Simplex Algorithm Using Canonical Tableaus

Chap6 Duality Theory and Sensitivity Analysis

Worked Examples for Chapter 5

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

1 Implementation (continued)

Example. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive

"SYMMETRIC" PRIMAL-DUAL PAIR

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

Math Models of OR: Handling Upper Bounds in Simplex

56:171 Operations Research Fall 1998

Civil Engineering Systems Analysis Lecture XII. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

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

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Systems Analysis in Construction

Dr. Maddah ENMG 500 Engineering Management I 10/21/07

The Dual Simplex Algorithm

Chapter 3, Operations Research (OR)

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

THE STEPS OF THE SIMPLEX ALGORITHM

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

IE 400: Principles of Engineering Management. Simplex Method Continued

Foundations of Operations Research

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

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

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

Network Flows. 7. Multicommodity Flows Problems. Fall 2010 Instructor: Dr. Masoud Yaghini

The simplex algorithm

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

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

Lesson 27 Linear Programming; The Simplex Method

F 1 F 2 Daily Requirement Cost N N N

CPS 616 ITERATIVE IMPROVEMENTS 10-1

Part 1. The Review of Linear Programming

March 13, Duality 3

TIM 206 Lecture 3: The Simplex Method

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize

1 Review Session. 1.1 Lecture 2

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

MAT016: Optimization

Understanding the Simplex algorithm. Standard Optimization Problems.

DM545 Linear and Integer Programming. Lecture 7 Revised Simplex Method. Marco Chiarandini

Lecture 14 Transportation Algorithm. October 9, 2009

ORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods

The Strong Duality Theorem 1

Simplex method(s) for solving LPs in standard form

Revised Simplex Method

Introduction to optimization

Math Models of OR: The Revised Simplex Method

Lecture 5. x 1,x 2,x 3 0 (1)

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

In Chapters 3 and 4 we introduced linear programming

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics

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

TRANSPORTATION PROBLEMS

4.5 Simplex method. min z = c T x s.v. Ax = b. LP in standard form

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

AM 121: Intro to Optimization

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

Linear Programming: Chapter 5 Duality

Linear Programming, Lecture 4

Week 3: Simplex Method I

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

Math 273a: Optimization The Simplex method

4.6 Linear Programming duality

Contents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod

Duality Theory, Optimality Conditions

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.

Chapter 4 The Simplex Algorithm Part I

An upper bound for the number of different solutions generated by the primal simplex method with any selection rule of entering variables

Transcription:

Minimize z=3x 5x 4x 7x 5x 4x subject to 2x x2 x4 3x6 0 x 3x3 x4 3x5 2x6 2 4x2 2x3 3x4 x5 5 and x 0 j, 6 2 3 4 5 6 j ecause of the lack of a slack variable in each constraint, we must use Phase I to find an initial feasible basis. (includes both Phases I & II) Add variables X 9, X 0, X (artificial variables), and a Phase I objective of minimizing the sum of these three variables. Dennis ricker Dept of Mechanical & Industrial Engineering The University of Iowa Revised Simplex Method 09/23/04 page of 22 Revised Simplex Method 09/23/04 page 2 of 22 Phase One 2 3 4 5 6 7 8 9 0 b 0 0 0 0 0 0 0 0 0 phase one objective 3 5 4 7 5 4 0 0 0 0 0 0 phase two objective 2-0 0 3 0 0 0 0 0 0 3-3 2-0 0 0 2 0 4 2 3 0 0-0 0 5 Values of basic (artificial) variables are: i Xi 9 0 0 2 5 Revised Simplex Method 09/23/04 page 3 of 22 Revised Simplex Method 09/23/04 page 4 of 22

Iteration Current partition: ( = basis, N = non-basis) = {9 0 }, N= { 2 3 4 5 6 7 8} asis inverse is 0 0 0 0 0 0 Simplex multipliers (dual solution): i 2 3 0 0 ca,, 0 0 [,,] 0 0 = [,, ] Compute each reduced cost: c j -A j, e.g. c = 0-[,,] [2 0]= -3 Reduced (Artificial) Costs j Cj set -3 N 2-3 N 3-5 N enter, since C j < 0 decrease in objective! 4-3 N 5-4 N 6-5 N 7 N 8 N Any nonbasic variables except x 7 & x 8 could be chosen to enter the basis. Revised Simplex Method 09/23/04 page 5 of 22 Revised Simplex Method 09/23/04 page 6 of 22 Entering variable is X[3] from set N Compute the substitution rates: 3 0 0 0 0 A A 0 0 3 = 3 0 0 2 2 That is, one unit of x 3 will replace 3 units of the second basic variable (x 0 ) and 2 units of the third basic variable (x ). Current values of basic variables: 0 00 9, 0, 0 0 2 x x x x A b 0 0 5 L X d ratio 9 0 0 0 - inf 0 0 2 3 4.0 minimum ratio 0 5 2 7.5 = substitution rate, d = direction of change of basic variable, ratio = rhs/ for all Change of basis asic variable X[0] leaves basis New partition: ={9 3 }, N={ 2 4 5 6 7 8 0} Revised Simplex Method 09/23/04 page 7 of 22 Revised Simplex Method 09/23/04 page 8 of 22

Updating basis inverse matrix: affix column of substitution rates alongside the old inverse, and pivot: 0 0 0 0 0 0 0 0 3 0 0 3 0 0 2 0 2 0 3 old inverse new inverse 0 0 A 0 0 3 0 2 3 Current partition: Iteration 2 ----------- = {9 3 }, N= { 2 4 5 6 7 8 0} asis inverse is 0 0 0 0.333333 0 0-0.666667 Simplex multipliers (dual solution): 0 0 c, 0, 0 0 [, 2 A,] 3 3 0 2 3 i 2-0.666667 3 Revised Simplex Method 09/23/04 page 9 of 22 Revised Simplex Method 09/23/04 page 0 of 22 Reduced cost of X, for example, is C = C A = Reduced (Artificial) Costs j Cj set any of variables, 4, 6, or 7 would improve -.33333 N the phase I objective 2-3 N 4-4.66667 N enter 5 N 6 -.66667 N 7-0.666667 N 8 N 0.66667 N Entering variable is X[4] from set N Compute the substitution rates: 0 0 4 A A 0 0 = 3 3 2 3 0 3 3 L X d ratio 9 0 0.000000 0.00000 3 0 4-0.333333 -- 0 7 3.666667.90909 min ratio Change of basis asic variable X[] leaves basis New partition: = {9 3 4}, N= { 2 5 6 7 8 0 } Revised Simplex Method 09/23/04 page of 22 Revised Simplex Method 09/23/04 page 2 of 22

Updating basis inverse matrix Write the column of substitution rates alongside the old inverse matrix, and pivot: 0 0 2 3 0 0 0 0 3 0 3 3 2 0 2 3 0 3 3 old inverse new inverse 2 3 A 0 3 0 2 3 Current partition: Iteration 3 ----------- = {9 3 4}, N= { 2 5 6 7 8 0 } asis inverse is 0.888-0.272727 0 0.272727 0.090909 0-0.888 0.272727 Simplex multipliers (dual solution): c A i 2 0.888 3-0.272727 3 2 [, 0, 0] 0 3 0 2 3, 2, 3 Revised Simplex Method 09/23/04 page 3 of 22 Revised Simplex Method 09/23/04 page 4 of 22 Reduced cost of X, for example, is c c A 0 0.888 0.272727 2 0 2.888 Reduced (Artificial) Costs j Cj set any of variables, 5, 6, &8-2.882 N would improve the phase I objective 2 2.0909 N 5-0.272727 N 6-3.36364 N enter 7 0.888 N 8-0.272727 N 0 0.8882 N.27273 N Entering variable is X[6] from set N Compute the substitution rates 2 3 37 3 6 A A 0 3 2 = 2 3 0 4 0 That is, one unit of x 6 will replace 3.36363 units of the first basic variable (x 9 ), one unit of the second (x 3 ), and require 0.36363 additional units of the third (x 4 ). L X d ratio 9 0 8.0909 3.36363 2.4054 min ratio 3 0 4.63636 0.54545 8.50000 4 0.90909-0.36363 -- Revised Simplex Method 09/23/04 page 5 of 22 Revised Simplex Method 09/23/04 page 6 of 22

Change of basis asic variable X[9] leaves basis New partition: = {6 3 4}, N= { 2 5 7 8 0 9} All artificial variables (9, 0, ) are now nonbasic. ***Feasibility has been achieved! End Phase One*** Optimal Phase One Solution i X[i] Cz 0 0 2 0 0 3 3.32432 0 4 2.78378 0 5 0 0 6 2.4054 0 7 0 0 8 0 0 Phase one objective = sum of artificial variables = 0 Revised Simplex Method 09/23/04 page 7 of 22 egin Phase II Iteration Current partition: = {6 3 4}, N= { 2 5 7 8} asis inverse is 0.297297 0.054054-0.0808-0.6262 0.243243 0.3535 0.0808-0.6262 0.243243 The costs of the basic variables are c c, c, c 4, 4, 7 6 3 4 Compute the simplex multipliers: 0.297297 0.054054 0.80.8 c A 4, 4, 7 0.6262 0.243243 0.3535 0.0808 0.6262 0.243243.2973, 0.054054,.9892 Revised Simplex Method 09/23/04 page 8 of 22 Simplex multipliers (dual solution) i.2973 2 0.054054 3.9892 Reduced cost of x is, for example, 2 c A 3.2973, 0.054054,.9892 0.3535 0 Reduced costs j Cj set only variable 2 would improve 0.3535 N the phase II objective 2 -.37838 N enter 5 2.9892 N 7 0.054054 N 8.9892 N Entering variable is X[2] from set N Compute the substitution rates: 0.297297 0.054054 0.80.8 0.626 A 2 A 0.6262 0.243243 0.3535 0 0.7027 0.0808 0.6262 0.243243 4 0.8648 L X d ratio 6 0 2.4054-0.626 -- 3 0 3.32432 0.7027 4.730 4 0 2.78378 0.8648 3.28 min ratio Change of basis asic variable X[4] leaves basis New partition: = {6 3 2}, N= { 5 7 8 4} Revised Simplex Method 09/23/04 page 9 of 22 Revised Simplex Method 09/23/04 page 20 of 22

Update the basis inverse, by writing the substitution rates alongside the old basis inverse, and pivoting: 0.297297 0.054054 0.80.8 0.626??? 0 0.6262 0.243243 0.3535 0.7027??? 0 etc. 0.0808 0.6262 0.243243 0.8648??? When the simplex multipliers and the reduced costs have been computed, the resulting reduced costs are all nonnegative! Optimal Solution Objective function: Z= 37.9688 Primal Solution (reduced costs are all nonnegative) i L X[i] set reduced cost 0 0 N 0.4375 2 0 3.2875 0 3 0.0625 0 4 0 0 N.59375 5 0 0 N 2.5325 6 0 4.40625 0 7 0 0 N 0.325 8 0 0 N.5325 Dual Solution i.25 2 0.325 3.5325 Revised Simplex Method 09/23/04 page 2 of 22 Revised Simplex Method 09/23/04 page 22 of 22