Presentation on theme: "Notes 4IE 3121 Why Sensitivity Analysis So far: find an optimium solution given certain constant parameters (costs, demand, etc) How well do we know these."— Presentation transcript:
Notes 4IE 3121 Why Sensitivity Analysis So far: find an optimium solution given certain constant parameters (costs, demand, etc) How well do we know these parameters? Usually not very accurately - rough estimates Do our results remain valid? If the parameters change how much does the objective function change?... how much do the optimal values of the decision variables change?
Notes 4IE 3122 General Optimization Problem Minimize some cost or maximize benefit Constraints: £ Restrictions on supply of some resource ³ Restriction on satisfying demand for some resource = Both supply restriction and demand requirement Variable-type constraints Decision variable determine the levels of some activity Coefficients = per unit impact of activities
Notes 4IE 3123 Changing Constraints Relaxing constraints: Optimal value same or better Tightening constraints: Optimal value same or worse Original Relaxed Tightened
Notes 4IE 3125 Solution (LINDO) LP OPTIMUM FOUND AT STEP 1 OBJECTIVE FUNCTION VALUE 1) VARIABLE VALUE REDUCED COST X X ROW SLACK OR SURPLUS DUAL PRICES 2) ) ) ) ) ) )
Notes 4IE 3126 Sensitivity ‘Plenty’ of this crude
Notes 4IE 3127 RHS Coefficients
Notes 4IE 3128 LHS Coefficients
Notes 4IE 3129 New Constraints Adding constraints tightens the feasible set Removing constraints relaxes the feasible set What about unmodeled constraints?
Notes 4IE Rate of Change Optimal Value RHS Optimal Value RHS Optimal Value RHS Optimal Value RHS Maximize Minimize Supply Demand
Notes 4IE Objective Function Changes
Notes 4IE Crude Oil: Changing x 1 Coefficient
Notes 4IE Rate of Change Optimal Value Coefficient. Optimal Value Coefficient. Maximize Minimize
Notes 4IE New Activities Adding activities Optimal value same or better Removing activities Optimal value same or worse
Notes 4IE Quantifying Effects Now know the qualitative effects of Changing RHS coefficients Changing LHS coefficients Changing objective function coefficients Adding/deleting constraints Adding/deleting activities How much does the objective change? Quantitative change
Notes 4IE Back to Crude Oil Example Decreasing RHS will make objective better or no worse, but by how much? How much are we willing to pay to have one more barrel available?
Notes 4IE Answer using the Dual
Notes 4IE LINDO Solution LP OPTIMUM FOUND AT STEP 4 OBJECTIVE FUNCTION VALUE 1) VARIABLE VALUE REDUCED COST V V V V V
Notes 4IE Interpretation Our cost will be reduced by $20 or $ 35, respectively, if the demand for gasoline or jet fuel is one unit less. Smaller demand for lubricants has no effect on the objective We are not willing to pay anything for availability of more crude!
Notes 4IE What is the Dual? The primal is the original optimization problem The dual is an LP defined on the same input parameters but characterizing the sensitivities of the primal There is one dual variable for each main constraint
Notes 4IE Interpretation The dual variables provide implicit prices for marginal units of the resource modeled by the constraint Zero unless active How much we are willing to pay for more of a resource (supply constraint) How much we benefit from not having to satisfy a requirement (demand constraint)
Notes 4IE What to Optimize? Implicit marginal value (minimization primal) or price (maximization primal) is Maximize value or minimize price!
Notes 4IE Dual Constraints For each activity x j in a minimization primal there is a main dual constraint For a maximization primal, each x j 0 has a main dual constraint
Notes 4IE Optimal Solution If primal has optimal solution Either the primal optimal makes a main inequality active or the corresponding dual is zero Either a nonnegative primal variable has optimal value x j = 0 or the corresponding dual price v j must make the j-th dual constraint active
Notes 4IE Dual of a Min Primal
Notes 4IE Dual of a Max Primal
Notes 4IE Top Brass
Notes 4IE Graphical Solution Optimal Solution
Notes 4IE Dual
Notes 4IE Lindo Solution OBJECTIVE FUNCTION VALUE 1) VARIABLE VALUE REDUCED COST V V V V
Notes 4IE Interpretation We are willing to pay up to $6/each for additional brass plaques We are willing to pay up to $1.5/foot for more wood We don ’ t need any more brass footballs or soccer balls Our objective is sensitive to these estimates!