with open("../Scripts/OptResults.pkl", "rb") as f: optimizationResults = pkl.load(f)