Example 2: Beer Distribution with Added Scenario

Revision as of 15:20, 17 November 2015 by Jhernandez3 (talk | contribs)

Example 2: Beer Distribution with Added Scenario

In this example, let’s assume that beer demand in the Western and Southern markets will depend on the winner of the 2015 World Series.

Model Description

Notwithstanding those inclined to drown their sorrows, we assume that people in the winning market will drink more, while those in the losing market will drink less.

To show this in the model, we add a new index titled World Series Winner and add this new dimension to the Delivery Targets array. Then we edit the values in the array to reflect the new assumptions. No other adjustments are necessary.

Combining Optimization with Intelligent Arrays

Now that the model is clear on which indexes are intrinsic, you are free to add extrinsic indexes and rely on Analytica’s Intelligent Array abstraction features just as you would in any other situation. In this example we add a new dimension that propagates from optimization inputs all the way to the solution array, driving multiple optimization runs along the way. This demonstrates how easy it is to combine optimization with Analytica’s Intelligent Arrays.

Setting Up the Model

To explore and follow this example in Analytica, find the Beer Distribution LP 2.ana model in the Optimizer Examples folder. In this section we start with the model from Example 1, detailing changes only. World Series Winner Add a new index for the World Series Winner Index World_Series_Winner := [‘Giants win World Series’, ‘Rangers win World Series’] Edit Delivery Targets Array To add this new index to the Delivery Targets array, open the edit table and press the Index selection button in the upper left corner. Add World Series Winner to the list of indexes for this array.

Comments


You are not allowed to post comments.