Closed pkofod closed 6 years ago
Lesson learned here: if you're going to reuse the same objective pre-allocate OnceDifferentiable :) and if you supply the cache variables then you can fail super cheaply if it's already converged (a use-case @ChrisRackauckas et al has)
Large allocations in Newton came from problems related to the definition of the LineSearch objective.
cc @ChrisRackauckas
update Newton is allocating a lot. We'll have to look into that.