Afterwards, we called the function, optimized the model, and made sure the results were exported to the corresponding excel files.