The LP Procedure |
The objective coefficient ranging analysis, discussed in the last example, is useful for assessing the effects of changing costs and returns on the optimal solution if each objective function coefficient is modified in isolation. However, this is often not the case.
Suppose you anticipate that the cost of crude will be increasing and you want to examine how that will affect your optimal production plans. Furthermore, you estimate that if the price of ARABIAN_LIGHT goes up by 1 unit, then the price of ARABIAN_HEAVY will rise by 1.2 units and the price of BREGA will increase by 1.5 units. However, you plan on passing some of your increased overhead on to your jet fuel customers, and you decide to increase the price of jet fuel 1 unit for each unit of increased cost of ARABIAN_LIGHT.
An examination of the solution sensitivity to changes in the cost of crude is a two-step process. First, add the information on the proportional rates of change in the crude costs and the jet fuel price to the problem data set. Then, invoke the LP procedure. The following program accomplishes this. First, it adds a new row, named CHANGE, to the model. It gives this row a type of PRICESEN. That tells PROC LP to perform objective function coefficient sensitivity analysis using the given rates of change. The program then invokes PROC LP to perform the analysis. Notice that the PRIMALIN=SOLUTION option is used in the PROC LP statement. This tells the LP procedure to use the saved solution. Although it is not necessary to do this, it will eliminate the need for PROC LP to re-solve the problem and can save computing time.
data sen; format _type_ $8. _col_ $14. _row_ $6.; input _type_ $ _col_ $ _row_ $ _coef_; datalines; pricesen . change . . arabian_light change 1 . arabian_heavy change 1.2 . brega change 1.5 . jet_1 change -1 . jet_2 change -1 ; data; set oil sen; run; proc lp sparsedata primalin=solution; run;
Output 3.4.1 shows the range over which the current basic solution remains optimal so that the current production plan need not change. The objective coefficients are modified by adding times the change vector given in the SEN data set, where ranges from a minimum of -4.15891 to a maximum of 29.72973. At the minimum value of , the profit decreases to 1103.073. This value of corresponds to an increase in the cost of ARABIAN_HEAVY to 169.99 (namely, -175 + 1.2), ARABIAN_LIGHT to 179.16 (175 + 1), and BREGA to 211.24 (205 + 1.5), and corresponds to an increase in the price of JET_1 and JET_2 to 304.16 (= 300 + (-1)). These values can be found in the Price column under the section labeled Minimum Phi.
Output 3.4.1: The Price Sensitivity Analysis Summary for the Oil Blending ProblemThe Price Sensitivity Analysis Summary also shows the effects of lowering the cost of crude and lowering the price of jet fuel. In particular, at the maximum of 29.72973, the current optimal production plan yields a profit of 4695.95. Any increase or decrease in beyond the limits given results in a change in the production plan. More precisely, the columns that constitute the basis change.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.