You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code needed to run the simulation exists in run.py.
Choice Model Parameters
The parameters for different choice models can be read in with the $\texttt{parse_params}$ function. The function takes in the file name and returns a dictionary of model names as keys with a dictionary of parameters as values.
Running the Code
The function $\texttt{run_and_plot}$ takes in the different tunable parameters for the simulation, including the ratio of the choice model parameters excluding the booking constant, the ratio of the booking constant, and other factors. It plots the acceptance probabilities and average number of accepted loads over 5 runs of each pricing algorithm.