scipy.optimize.OptimizeResult. get# OptimizeResult.get(key, default=None, /)# Return the value for key if key is in the dictionary, else default.