SciPy

scipy.optimize.OptimizeResult.clear

OptimizeResult.clear() → None. Remove all items from D.