Linear Programming – Sensitivity Analysis How much can the objective function coefficients change before the values of the variables change? How much can.

Slides:



Advertisements
Similar presentations
3.4 Linear Programming 10/31/2008. Optimization: finding the solution that is either a minimum or maximum.
Advertisements

QingPeng (QP) Zhang  Sensitivity analysis is concerned with how changes in an linear programming’s parameters affect the optimal.
Linear Programming Sensitivity Analysis How will a change in a coefficient of the objective function affect the optimal solution? How will a change in.
Linear Programming Problem
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
Optimization Models Module 9. MODEL OUTPUT EXTERNAL INPUTS DECISION INPUTS Optimization models answer the question, “What decision values give the best.
Equations and Their Solutions
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
Linear Equations Please Read Entire Section 2.1, pages in the text.
Math 015 Section 6.1 Equations. Many students like to remember the process for solving linear equations as: any algebra expressions on each side variable.
Ch 2.1: Linear Equations; Method of Integrating Factors
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
8.3 Solving Systems of Linear Equations by Elimination
Solving Linear Inequalities A Linear Equation in One Variable is any equation that can be written in the form: A Linear Inequality in One Variable is any.
Solve each with substitution. 2x+y = 6 y = -3x+5 3x+4y=4 y=-3x- 3
Table of Contents Solving Linear Systems of Equations - Addition Method Recall that to solve the linear system of equations in two variables... we need.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Solving Linear Systems by Elimination Math Tech II Everette Keller.
Solving Systems of Linear Equations by Elimination Solve linear systems by elimination. Multiply when using the elimination method. Use an alternative.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
3-2 Solving Equations by Using Addition and Subtraction Objective: Students will be able to solve equations by using addition and subtraction.
Goal: Solve a system of linear equations in two variables by the linear combination method.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Solving Linear Systems of Equations - Addition Method Recall that to solve the linear system of equations in two variables... we need to find the values.
Linear Equations in Two Variables A Linear Equation in Two Variables is any equation that can be written in the form where A and B are not both zero.
1 Example 1 Evaluate Solution Since the degree 2 of the numerator equals the degree of the denominator, we must begin with a long division: Thus Observe.
1.3 Solving with Variables on Both Sides. What We Will Learn Solve linear equations that have variables on both sides Identify special solutions.
Chapter 4 Section 3. Objectives 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Solving Systems of Linear Equations by Elimination Solve linear.
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
Math – The Multiplication/Division Principle of Equality 1.
ENGM 631 Optimization Using Solver. Sec. 3.1Alt. Model Max Z = 3X 1 + 5X 2 s.t. X 1 < 8,000 X 2 < 6,000 3X 1 + 4X 2 < 36,000 X 1 > 0 X 2 > 0.
3.4 Solving Equations with Variables on Both Sides Objective: Solve equations that have variables on both sides.
6.2 Solve a System by Using Linear Combinations
Differential Equations Linear Equations with Variable Coefficients.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
SOLVING SYSTEMS USING ELIMINATION 6-3. Solve the linear system using elimination. 5x – 6y = -32 3x + 6y = 48 (2, 7)
3-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Computer Solution and Sensitivity Analysis Chapter 3-Part1.
A Differential Equation is said to be linear if the dependent variable and its differential coefficient occur in it in the first degree only and are not.
Slide Copyright © 2009 Pearson Education, Inc. 7.2 Solving Systems of Equations by the Substitution and Addition Methods.
Chapter 8 Systems of Linear Equations in Two Variables Section 8.3.
3.3 Solving Linear Systems by Linear Combination 10/12/12.
Chapter 2 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 2-1 Solving Linear Equations and Inequalities.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Notes Over 7.3 Linear Combination Method Use the linear combination method to solve the system of linear system.
Use Inverse Matrices to Solve Linear Systems
An Introduction to Linear Programming
Solving Linear Systems by Linear Combinations
Solving Linear Systems Algebraically
Chapter 5. Sensitivity Analysis
The application of mathematics and the scientific
Sensitivity Analysis and
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
Sensitivity.
Solve Linear Equations by Elimination
Solving Linear Equations
Linear Word problems.
Solving Systems of Equations by the Substitution and Addition Methods
Section 3.4 Sensitivity Analysis.
Linear Programming – Sensitivity Analysis
Linear Programming Problem
Optimization Models Module 9.
Systems of Equations Solve by Graphing.
2 Equations, Inequalities, and Applications.
Warm- Up: Solve by Substitution
Linear Programming: Computer Solution and Sensitivity Analysis
Solving Linear Equations
Solving Linear Equations
Solving Systems of Linear Equations by Elimination
Presentation transcript:

Linear Programming – Sensitivity Analysis How much can the objective function coefficients change before the values of the variables change? How much can the right hand side of the constraints change you obtain a different basic solution? How much value is added/reduced to the objective function if I have a larger/smaller quantity of a scarce resource?

Linear Programming – Sensitivity Leo Coco Problem Max 20x x2 s.t. x1 - x2 <= 1 3x1 + x2 <= 7 x1, x2 >= 0 Solution: x1 = 0, x2 = 7 Z = 70 Issue: How much can you change a cost coefficient without changing the solution?

Sensitivity – Change in cost coefficient What if investment 2 only pays $5000 per share? Max 20x1 + 5 x2 s.t. x1 - x2 <= 1 3x1 + x2 <= 7 x1, x2 >= 0 Optimal solution is now the point (2,1). Issue: At what value of C 2 does solution change? New objective function isobar

Max 20x1 + C 2 * x2 s.t. 3x1 + x2 <= 7 3/1 = 20/C 2 or C 2 = 20/3 or 6.67 Issue: At what value of C 2 does solution change? Ans.: When objective isobar is parallel to the binding constraint. Sensitivity – Change in cost coefficient

LP OPTIMUM FOUND AT STEP 1 OBJECTIVE FUNCTION VALUE 1) VARIABLE VALUE REDUCED COST X X ROW SLACK OR SURPLUS DUAL PRICES 1) ) NO. ITERATIONS= 1 RANGES IN WHICH THE BASIS IS UNCHANGED: OBJ COEFFICIENT RANGES VARIABLE CURRENT ALLOWABLE ALLOWABLE COEF INCREASE DECREASE X INFINITY X INFINITY RIGHTHAND SIDE RANGES ROW CURRENT ALLOWABLE ALLOWABLE RHS INCREASE DECREASE INFINITY INFINITY Lindo Sensitivity Analysis Output – Leo Coco Problem Sensitivity – Change in cost coefficient

Sensitivity – Change in right hand side What if only 5 hours available in time constraint? Max 20x x2 s.t. x1 - x2 <= 1 3x1 + x2 <= 5 x1, x2 >= 0 Optimal solution is now the point (5,0). But, basis does not change. Issue: At what value of the r.h.s. does the basis change? New time constraint.

Sensitivity – Change in right hand side Issue: At what value of the r.h.s. does the basis change? Max 20x1 + 5 x2 s.t. x1 - x2 <= 1 3x1 + x2 <= ? x1, x2 >= 0 x2 becomes non-basic at the origin. Or, when the constraint is: Basis changes at this constraint. 3x1 + x2 < 0

LP OPTIMUM FOUND AT STEP 1 OBJECTIVE FUNCTION VALUE 1) VARIABLE VALUE REDUCED COST X X ROW SLACK OR SURPLUS DUAL PRICES 1) ) NO. ITERATIONS= 1 RANGES IN WHICH THE BASIS IS UNCHANGED: OBJ COEFFICIENT RANGES VARIABLE CURRENT ALLOWABLE ALLOWABLE COEF INCREASE DECREASE X INFINITY X INFINITY RIGHTHAND SIDE RANGES ROW CURRENT ALLOWABLE ALLOWABLE RHS INCREASE DECREASE INFINITY INFINITY Lindo Sensitivity Analysis Output – Leo Coco Problem Sensitivity – Change in right hand side

Sensitivity – Shadow or Dual Prices Issue, how much are you willing to pay for one additional unit of a limited resource? Max 20x x2 s.t. x1 - x2 <= 1 (budget constraint 3x1 + x2 <= 7 (time constraint x1, x2 >= 0 Knowing optimal solution is (0,7) and time constraint is binding: Not willing to increase budget constraint (shadow price is $0). If time constraint increase by one unit (to 8), solution will change to (0,8) and Z=80. Therefore should be willing to pay up to $10(000s) for each additional unit of time constraint.

LP OPTIMUM FOUND AT STEP 1 OBJECTIVE FUNCTION VALUE 1) VARIABLE VALUE REDUCED COST X X ROW SLACK OR SURPLUS DUAL PRICES 1) ) NO. ITERATIONS= 1 RANGES IN WHICH THE BASIS IS UNCHANGED: OBJ COEFFICIENT RANGES VARIABLE CURRENT ALLOWABLE ALLOWABLE COEF INCREASE DECREASE X INFINITY X INFINITY RIGHTHAND SIDE RANGES ROW CURRENT ALLOWABLE ALLOWABLE RHS INCREASE DECREASE INFINITY INFINITY Lindo Sensitivity Analysis Output – Leo Coco Problem Sensitivity – Change in right hand side

Linear Programming – Sensitivity Analysis What if more than one coefficient is changed?: 100% Rule (for objective function coefficients): if <= 1, the optimal solution will not change, where is the actual increase (decrease) in the coefficient and is the maximum allowable increase (decrease) from the sensitivity analysis.

Linear Programming – Sensitivity Analysis Example obj. function coefficient changes

Linear Programming – Sensitivity Analysis Simultaneous variations in multiple coefficients: 100% Rule (for RHS constants): if <= 1, the optimal basis and product mix will not change, where is the actual increase (decrease) in the coefficient and is the maximum allowable increase (decrease) from the sensitivity analysis.

Linear Programming – Sensitivity Analysis Example RHS constant changes

Linear Programming – Duality Theory Every LP has an associated dual problem. The Dual is essentially the inverse of the Primal (original problem). The optimal dual solution produces the dual price or shadow price reported in the Lindo output reports.

Integer Programming (IP) Similar to Linear Programming with the exception that decision variables must take on integer values. Drawbacks: solution effort considerably more difficult than Linear programming. Should we have used IP to solve the microwave oven homework problem? (solution was model 1 and model II ovens). Lindo solves both binary and integer programming problems.