Interpreting simulation results exercise
In this exercise you are given the results of simulation testing of the Capacitated Plant Location model as a Pandas DataFrame called df
. It contains the total production of the different regions. The optimal model results from each run of the simulation is stored as a row in the DataFrame. The first few rows of the DataFrame are printed for you.
Your goal is to create histograms of the total production of the different regions to understand how the production varies in the simulation.
Keep in mind that the production capacity for a low or high capacity plant is 500, or 1,500 respectively.
Diese Übung ist Teil des Kurses
Supply Chain Analytics in Python
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Import matplotlib.pyplot
import matplotlib.pyplot as plt
plt.title('Histogram of Prod. At Brazil Region')
# Histogram of Brazilian production
plt.hist(____)
plt.show()