Optimization.jl
Optimization.jl copied to clipboard
Implement callback support for optimizer backends that don't support logging callbacks
We should be able to work around it by using a closure. This will be done only after the derivatives have been defined in the instantiate_function
such that only the objective function call bears the overhead of this.