SciPy

scipy.optimize.OptimizeResult.iterkeys

OptimizeResult.iterkeys() → an iterator over the keys of D