In the previous phase we imported the scenario and examined the statistics with the data gathered by the Simulation experiment. In this phase we will set up and run the variation experiment to define the optimal parameters of the Inventory policy.
Create and configure Variation experiment
- Navigate to the Experiments section and select Variation experiment.
You will be taken to the Variation experiment's view with its default settings.
- Leave the experiment's default start and end dates.
- Click the Use replications toggle button and specify 3
in the Replications per iteration field.
We need replications since demand of the Boston customer is set to a probability distribution. The model will have stochastic behavior resulting in a less representative experiment run. To improve representability we will enable replications, which will result in conducting several runs per each iteration. Keep in mind that replications require more time to complete the experiment.
- Click the Product statistics unit drop-down list and select pcs,
since it is the product measurement unit defined in the Products table.
- Enable the Lost orders statistics:
- Click Configure statistics.
- Type Dropped Orders in the Name column filter field.
Press Enter. The result of the search will return the required statistics.
- Click the toggle button to the left of the Demand Placed (Dropped Orders) by Customer to activate data collection for these statistics.
- In the same way check the Total costs statistics. It should be enabled by default.
- When done, remove the filter by clicking the icon to
the right of the statistics name and type true in the
Enabled filter field to see all the enabled statistics.
- Click OK to close the Configure statistics dialog box.
Now we will define the variable parameters, i.e., the data the experiment will work with. In our case we will vary the Min and Max parameters of the inventory policy.
A variable parameter that you define is set for a single parameter only. If you need to vary several parameters during the experiment, you need to create a separate variation for each parameter.
- Click Add beneath the Variable parameters to open a dialog box with the scenario's parameters that you can vary.
- Define variation of the min parameter as shown on the screenshot below.
Click OK to close the dialog box.
In the same way create variation of the Max parameter and set its
Min and Max values to 2000 and
There, we have defined two variable parameters of the inventory policy.
We have completed setting up the Variation experiment and may run it now.
- Click Run. A table will appear updating its records with results received in real-time. Experiment execution will take some time.
Perform sequential sorting of the data based on the lost orders column to instantly see the best currently available result:
- Click the mean name below the Demand Placed (Dropped Orders) by Customer column title to sort the records in the ascending order.
- Press and hold the Alt key, then click the mean name below the Total cost column title.
- Observe the final results. When the experiment is completed, you will be taken to the
Variation results tab of the new Result item of the
Variation experiment branch, which contains the results.
Sort the data in the same way as you did after starting the experiment.
As you can see there are four successful results with no dropped orders. the best one is the top one. According to it, if the Min and Max values of the Inventory policy parameters are set to 2000 and 2,600 respectively, we will not lose a single order and we will incur the total expenses of $169,878,910.793, which is more than the initial amount, but it is the price we have to pay to maintain high quality of delivery service.
You can navigate to the Inventory table and update the parameters of the defined policy with the acquired data.
The received results can be improved by adjusting the variable parameters for the experiment.
Based on the range of values that we specified for the two variables, the experiment suggests the Min and Max values to be set to 2,000 and 2,600 respectively. Now that we know these Min and Max values, we may adjust the variable parameters by altering the range of the variables and the step of variation to receive a more precise result.
Adjust the variable parameters
- Select the first variable and click Edit below the Variable parameters box to open.
- Change the Min and Max values to 1,700 and 2,300 respectively.
- Set Step to 50.
- Click OK to close the dialog box.
- In the same way adjust the second variable by changing its Min and Max values to 2,300 and 2,900 respectively, and setting Step to 50.
- Run the Variation experiment and examine the final results, which will be located in Result 2 item of the Variation experiment branch.
Compare the received results with the results from the Result item of the
experiment branch. You will see that the incurred expenses are less this time and we have still managed to
satisfy our customer's demand.
The received result can be adjusted again to provide even more precise inventory policy parameters. You can:
- Decrease the specified range of each variable parameter (e.g. Min - 1800-2200, Max - 2400-2800).
- Decrease the step size from 50 to 25, 10 or 5 (the smaller the step is, the more time it requires to complete the experiment).
- Increase the quantity of replications to 5-10 (the more replications per iteration, the more time it requires to complete the experiment).
You can navigate to the Inventory table and update the parameters of the defined policy type with the acquired data.
We have successfully completed the Variation experiment tutorial.
How can we improve this article?