Example 3: Beer Distribution with Limited Routes
The restriction of possible routes can be cumbersome in some optimizing environments. As this example will show, in Analytica, it is a simple matter of changing the dimension of the decision array.
Example 3: Beer Distribution with Limited Routes
Model Description
In the previous examples, we allowed all five Breweries to ship to all four Markets, presenting 20 possible routes. In this example, we confine the shipments to 10 chosen routes and disallow the rest.
Setting Up the Model
To explore and follow this example in Analytica, run the Beer Distribution LP 3.ana model in the Optimizer Examples folder.
In this section, we start with the model from Example 2, detailing changes only.
Create a Route Index
First, we create an index of approved routes. These are specific combinations of Brewery and Market.
Comments
Loading comments...