Hello, does anyone know how to retrieve the Hessian at the minimum when using method = ‘trust-constr’?
The scipy.optimize.OptimizeResult returned has an attribute hess. See here.
scipy.optimize.OptimizeResult
hess