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

Similar documents
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

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:

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

Lecture 5 Simplex Method. September 2, 2009

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

Special cases of linear programming

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

(includes both Phases I & II)

Math Models of OR: Sensitivity Analysis

(includes both Phases I & II)

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Part 1. The Review of Linear Programming

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

Math Models of OR: Some Definitions

Linear Programming: Chapter 5 Duality

F 1 F 2 Daily Requirement Cost N N N

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

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

Worked Examples for Chapter 5

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

Lecture 11 Linear programming : The Revised Simplex Method

MAT016: Optimization

Understanding the Simplex algorithm. Standard Optimization Problems.

Summary of the simplex method

Simplex Method for LP (II)

IE 5531: Engineering Optimization I

Systems Analysis in Construction

Linear Programming Duality

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

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

Sensitivity Analysis and Duality in LP

1 Review Session. 1.1 Lecture 2

9.1 Linear Programs in canonical form

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

AM 121: Intro to Optimization

Lesson 27 Linear Programming; The Simplex Method

Simplex Algorithm Using Canonical Tableaus

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

CSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1

Linear Programming, Lecture 4

Chapter 1 Linear Programming. Paragraph 5 Duality

"SYMMETRIC" PRIMAL-DUAL PAIR

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

56:171 Operations Research Fall 1998

Linear programs Optimization Geoff Gordon Ryan Tibshirani

CO350 Linear Programming Chapter 6: The Simplex Method

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

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

IE 5531: Engineering Optimization I

March 13, Duality 3

Summary of the simplex method

February 17, Simplex Method Continued

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

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)

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

Foundations of Operations Research

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

A Review of Linear Programming

December 2014 MATH 340 Name Page 2 of 10 pages

CPS 616 ITERATIVE IMPROVEMENTS 10-1

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

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

The Dual Simplex Algorithm

Math Models of OR: Handling Upper Bounds in Simplex

Chapter 3, Operations Research (OR)

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.

The simplex algorithm

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

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

Today: Linear Programming (con t.)

Week_4: simplex method II

56:270 Final Exam - May

Simplex method(s) for solving LPs in standard form

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

Optimization (168) Lecture 7-8-9

Chap6 Duality Theory and Sensitivity Analysis

Relation of Pure Minimum Cost Flow Model to Linear Programming

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

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

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

TIM 206 Lecture 3: The Simplex Method

4.6 Linear Programming duality

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

IE 400: Principles of Engineering Management. Simplex Method Continued

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

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

2018 년전기입시기출문제 2017/8/21~22

Discrete Optimization

CO350 Linear Programming Chapter 6: The Simplex Method

LP. Lecture 3. Chapter 3: degeneracy. degeneracy example cycling the lexicographic method other pivot rules the fundamental theorem of LP

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

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

Lecture 10: Linear programming duality and sensitivity 0-0

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

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

Points: The first problem is worth 10 points, the others are worth 15. Maximize z = x y subject to 3x y 19 x + 7y 10 x + y = 100.

Transcription:

Lecture : Post-Optimal Analysis September 23, 2009

Today Lecture Dual-Simplex Algorithm Post-Optimal Analysis Chapters 4.4 and 4.5. IE 30/GE 330

Lecture Dual Simplex Method The dual simplex method will be crucial in the post-optimal analysis It used when at the current basic solution, we have The z-coefficients (reduced costs) satisfy optimality condition But the basic solution is infeasible Technical detail: all constraints in the problem have to be converted to IE 30/GE 330 2

Lecture minimize z = 3x + 2x 2 + x 3 subject to 3x + x 2 + x 3 3 3x + 3x 2 + x 3 6 x + x 2 + x 3 3 x, x 2, x 3 0 Example 4.4- minimize z = 3x + 2x 2 + x 3 subject to 3x x 2 x 3 3 3x 3x 2 x 3 6 x + x 2 + x 3 3 x, x 2, x 3 0 Introducing slack variables x 4, x 5, x 6, we generate the initial simplex table using the slacks as basic variables Basic x x 2 x 3 x 4 x 5 x 6 RHS z 3 2 0 0 0 0 x 4 3 0 0 3 x 5 3 3 0 0 6 x 6 0 0 3 A basic variable with the most negative value (infeasible) has to leave In this case x 5 is leaving the basis IE 30/GE 330 3

Lecture The entering variable is determining by the absolute value ratio test for the z-row entries and the x 5 -row entries, but only on the negative values: (here the entries in x 2 and x 3 column) minimum of 2 3, The minimum is attained in x 2 -column so x 2 enters; -3 is the pivot element (in x 5 -row and x 2 -column) We carry out the regular pivoting operations, and obtain Basic x x 2 x 3 x 4 x 5 x 6 RHS z 5 0 0 2 0 4 2 3 x 4 4 0 2 0 3 3 x 2 0 0 2 3 3 2 x 6 2 0 0 3 3 IE 30/GE 330 4

Lecture In the next iteration x 4 leaves and x 2 enters and the pivoting element is 2 3 Again, we carry out the regular pivoting operations, and obtain The table is optimal - why? Basic x x 2 x 3 x 4 x 5 x 6 RHS z 3 0 0 9 0 2 2 2 x 3 6 0 3 3 0 2 2 2 x 2 3 0 3 0 2 2 2 x 6 2 0 0 0 0 IE 30/GE 330 5

Lecture Dual in Sensitivity and Post-Optimal Analysis Sensitivity analysis without the use of the dual problem Increase or decrease of available resources LP Model: Change in the right-hand side - D i Increase or decrease in product prices/production costs LP Model: Change in the objective coefficients - d i Using dual simplex method we can determine an optimal solution for the perturbed problem from the optimal table of the original problem Using the dual problem/duality we can analyze additional changes Introducing new operations (resources) LP Model: New constraints in the original (primal) problem Introducing new products (activities) LP Model: New variables in the original (primal) problem IE 30/GE 330 6

Lecture We discuss this changes in the light of duality Changes affecting feasibility LP Model: right-hand side change or a new constraint How to recover optimal if the perturbation causes the change in basic optimal solution? Changes affecting optimality LP Model: objective coefficient or new variable How to find new optimal? IE 30/GE 330 7

Lecture Changes affecting feasibility TOYCO Revenue Maximization (Primal) Problem maximize z = 3x + 2x 2 + 5x 3 subject to x + 2x 2 + x 3 430 (machine ) 3x + 2x 3 460 (machine 2) x + 4x 2 420 (machine 3) x, x 2, x 3 0 Current optimal: z = 350 x = 0, x 2 = 00, x 3 = 230 Suppose TOYCO wants to increase its operations to 602, 644, and 588. New TOYCO Constraints subject to x + 2x 2 + x 3 603 3x + 2x 3 644 x + 4x 2 588 x, x 2, x 3 0 How will this change affect the TOYCO S optimal solution and revenue? IE 30/GE 330 8

Lecture Optimal Table Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0 350 x 2 0 4 2 0 00 4 3 x 3 0 0 0 230 2 2 x 6 2 0 0 2 20 The changes in the operations affect the right-hand side result in Perturbed Table Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0? x 2 0 4 2 0? 4 3 x 3 0 0 0? 2 2 x 6 2 0 0 2? IE 30/GE 330 9

Lecture Use column rule to determine the RHS data except for z-row new solution = inverse optimal new right-hand side New solution x 2 x 3 x 6 = 0 2 4 0 0 2 2 602 644 588 New solution is feasible, hence stays optimal. = 40 322 28 Optimal operating point x = 0, x 2 = 322 and x 3 = 28 What is the new optimal value? IE 30/GE 330 0

Lecture New optimal value: substitute the new solution in the objective z = 3x + 2x 2 + 5x 3 = 3 0 + 2 40 + 5 322 = 890 IE 30/GE 330

Lecture Alternative TOYCO plan TOYCO Revenue Maximization (Primal) Problem maximize z = 3x + 2x 2 + 5x 3 resource slack subject to x + 2x 2 + x 3 430 (machine ) x 4 3x + 2x 3 460 (machine 2) x 5 x + 4x 2 420 (machine 3) x 6 x, x 2, x 3 0 Current optimal: z = 350 x = 0, x 2 = 00, x 3 = 230 As an alternative TOYCO considers shifting 20 units of time from machine 3 to machine, because at the current optimal there is a slack of 20 units Optimal Table Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0 350 x 2 0 4 2 0 00 4 3 x 3 0 0 0 230 2 2 x 6 2 0 0 2 20 IE 30/GE 330 2

Lecture New TOYCO Constraints subject to x + 2x 2 + x 3 450 3x + 2x 3 460 x + 4x 2 400 x, x 2, x 3 0 How will this change affect the TOYCO S optimal solution and cost? IE 30/GE 330 3

Lecture The changes in the operations affect the right-hand side result in Perturbed Table Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0? x 2 0 4 2 0? 4 3 x 3 0 0 0? 2 2 x 6 2 0 0 2? Use column rule to determine the RHS data except for z-row new solution = inverse optimal new right-hand side New solution x 2 x 3 x 6 = New solution is not feasible. 0 2 4 0 0 2 2 450 460 400 = 0 230 40 IE 30/GE 330 4

Lecture Corresponding operating point x = 0, x 2 = 0 and x 3 = 230 Corresponding cost: substitute the above values in the objective z = 3x + 2x 2 + 5x 3 = 3 0 + 2 0 + 5 230 = 370 The table corresponding to these changes Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0 370 x 2 0 4 2 0 0 4 3 x 3 0 0 0 230 2 2 x 6 2 0 0 2 40 What shall we do to find the new optimal solution? IE 30/GE 330 5

Lecture Apply the dual simplex method Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0 370 x 2 0 4 2 0 0 4 3 x 3 0 0 0 230 2 2 x 6 2 0 0 2 40 leaving the basis Which nonbasic variable will enter the basis? IE 30/GE 330 6

Lecture x 4 enters since the only negative entry in x 6 -row is at that place Basic x x 2 x 3 x 4 x 5 x 6 RHS z 4 0 0 2 0 370 x 2 0 4 2 0 0 4 3 x 3 0 0 0 230 2 2 x 6 2 0 0 2 40 leaving the basis Use 2 as pivoting element and perform the standard basis exchange Basic x x 2 x 3 x 4 x 5 x 6 RHS 5 z 5 0 0 0 350 2 2 x 2 0 0 0 00 4 4 3 x 3 0 0 0 230 2 2 x 4 0 0 2 20 2 The new optimal value is worse than the old optimal value! The revenue is reduced by 20. There is a slack of 20 on machine!!! IE 30/GE 330 7