SciPy

scipy.optimize.OptimizeResult.viewvalues

OptimizeResult.viewvalues() → an object providing a view on D's values