Turn off final Hessian calculation with fminunc or fmincon?
Show older comments
I'm using these functions to minimize a problem, with the default algorithm choice for no user-supplied Hessian. For these algorithms, fminunc/fmincon calculate the numerical Hessian at the solution (for other algorithms, it reports the next-to-last-iterate Hessian).
I would like to turn off the calculation of this final Hessian shorten runtime. It is not useful at this particular point in the code. Is it possible to do this?
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!