This action might not be possible to undo. Are you sure you want to continue?

# Example 15.

2

Blending Oil Products at Chandler Oil

Blending Models

7 | 15.Objective To use LP to find the best way to blend crude oils to achieve quality requirements and maximize profits.5 | 15.4 | 15.1 | 15.10 | 15.11 .9 | 15.6 | 15.8 | 15.3 | 15. 15.

10 | 15. 15. These products are produced by blending the two crude oils.4 | 15.9 | 15.11 .6 | 15. Chandler sells gasoline and heating oil. whereas heating oil must have an average quality level of at least 6.8 | 15.Background Information Chandler Oil has 5.5 | 15. Gasoline must have an average quality level of at least 8. Each barrel of crude oil 1 has a “quality level” of 10 and each barrel of crude oil 2 has a quality level of 5.3 | 15.1 | 15.000 barrels of crude oil 2 available.000 barrels of crude oil 1 and 10.7 | 15.

15. The advertising cost to sell one barrel of gasoline is $0.6 | 15.1 | 15.9 | 15.10 | 15. so that all of Chandler’s production can be sold.7 | 15.8 | 15.5 | 15.3 | 15. Chandler wants to maximize its profit. We assume that demand for heating oil and gasoline is unlimited.4 | 15.10.Background Information Gasoline sells for $25 per barrel and heating oil sells for $20 per barrel.20 and the advertising cost to sell one barrel of heating oil is $0.11 .

4 | 15.11 .3 | 15.5 | 15.8 | 15.7 | 15.10 | 15.6 | 15. we must keep track of the following: – the number of barrels of gasoline and heating oil produced (the outputs) – the number of barrels of each crude oil (the inputs) used to produce each output – the quality levels of the inputs used to make the outputs – the total profit earned 15.Solution To model Chandler’s problem.9 | 15.1 | 15.

Therefore.1 | 15. the quality characteristics.5 | 15. The quantities Chandler must choose to specify any solution are the barrels of each input used to produce each output. – Inputs blended in each output. This range will be the changing cell range.9 | 15. 15. enter any trial values for these values in the BlendPlan range.XLS The spreadsheet model for this problem appears on the next slide and can be developed by following these steps: – Inputs.6 | 15.8 | 15. and the crude availabilities in the various shaded ranges.10 | 15.BLENDING. Enter the monetary inputs.4 | 15.11 .3 | 15.7 | 15.

3 | 15.1 | 15.7 | 15.8 | 15.6 | 15.4 | 15.15.5 | 15.10 | 15.9 | 15.11 .

4 | 15.8 | 15.3 | 15. Then calculate the amount of gasoline and heating oil sold in row 19 by summing down the columns of the BlendPlan range.10 | 15.Developing the Model – Inputs used and outputs sold. – Quality constraints. Begin by calculating for each product the number of “quality points” (QP) in the inputs used to produce the output: QP in gasoline = 10(Oil 1 in gasoline) + 5(Oil 2 in gasoline) QP in heating oil = 10(Oil 1 in heating oil) + 5(Oil 2 in heating oil) 15.11 .6 | 15.9 | 15.5 | 15.7 | 15.1 | 15. Calculate the amount of crude oils 1 and 2 used in the Used range by summing across the rows of the BlendPlan range. Keeping track of the quality level of gasoline and heating oil is the trickiest part of this model.

$B$8:$B$9) and copy this to cell C23 to generate the QP for heating oil.6 | 15.9 | 15.1 | 15.7 | 15. we determine the QP for gasoline in cell B23 with the formula =SUMPRODUCT(B17:B18.Developing the Model -continued – Quality constraints continued.3 | 15.10 | 15.8 | 15.5 | 15.11 . 15. Then calculate the required QP for gasoline in cell B25 with the formula =B13*B19 and copy this to cell C25 for heating oil. First.4 | 15. For the gasoline product to have a quality level of at least 8 we must have QP in gasoline >= 8 (Gasoline sold) For the heating oil product to have a quality level of at least 6 we must have QP in heating oil >= 6 (Heating oil sold) These inequalities are operationalized in the spreadsheet in rows 23-25.

10 | 15.11 .6 | 15.7 | 15.4 | 15.9 | 15.Developing the Model -continued – Profit.5 | 15. calculate the profit in the Profit cell with the formula =B28-B29 15.3 | 15. $B$19:$C$19) Then copy this formula to cell B29 to calculate the advertising cost.8 | 15. Calculate the total revenue from both products in cell B28 with the formula =SUMPRODUCT(B4:C4.1 | 15. Finally.

10 | 15.6 | 15. We maximize profit subject to the quality constraints and using no more of the inputs than are available. 15.11 .1 | 15.4 | 15.5 | 15.7 | 15.9 | 15.8 | 15.Using the Solver Here is the solver dialog box for this blending model.3 | 15.

9 | 15.000 barrels of crude oil 2.000 barrels of heating oil with 2.7 | 15. With this blend Chandler will earn a profit of $323.3 | 15.continued The optimal solution implies that Chandler should make 5.5 | 15. 15.6 | 15.8 | 15.11 .000 barrels of gasoline with 3.Solution -. It should also make 10.000.000 barrels of crude oil 1 and 8.1 | 15.10 | 15.4 | 15.000 barrels of crude oil 2.

3 | 15. 15. we prefer to keep the problem linear.5 | 15.10 | 15.1 | 15.8 | 15. the preference is towards the previous inequality for two reasons: – gasoline sold could conceivably be zero and that would require division by zero which would lead to an error in Excel and – because the inequality is technically nonlinear. However.Modeling Issues We could have used this (QP in gasoline)/(Gasoline sold) >= 8 instead of the inequality used for gasoline.11 .4 | 15. The lesson is to “clear denominators” in blending problem constraints.6 | 15.9 | 15.7 | 15.

Then we do not have a LP model. a company using a blending model would run the model periodically and set production on the basis of the current inventory of inputs and the current demand forecasts.4 | 15.8 | 15.10 | 15.11 .continued We assume that the quality of a mixture is a linear function of the fraction of inputs used in the mixture.6 | 15.5 | 15.Modeling Issues -.1 | 15.9 | 15.3 | 15. then we have a nonlinear problem. If the quality level of the output is not a linear function of the fraction of each input used in the mixture. The forecasts and the input levels would be updated and the model would be run again to determine the next day’s production. 15. In reality.7 | 15.

10 | 15.Sensitivity Analysis One possible sensitivity analysis is to see how a change in the price per barrel of gasoline changes Chandler’s optimal product mix.11 .1 | 15.7 | 15.5 | 15.8 | 15.3 | 15.4 | 15.9 | 15.6 | 15. 15.

1 | 15.5 | 15.even when the blending plan stays the same.6 | 15. so does the optimal profit .8 | 15.continued The input mix remains the same until the product reaches between $55 and $65.333 barrels) and no heating oil. Of course. as the gasoline price increases.10 | 15.11 .3 | 15.9 | 15. 15. At this point the optimal solution is to produce all gasoline (approximately 8.7 | 15.Sensitivity Analysis -.4 | 15.