Optim callback function -- how to use optimization variable

optim

#1

The optim callback function seems to operate on the OptimizationState, which provides access to the iteration count (.iteration) and value. Can I access the optimization variable being optimized (i.e. temporary optim.minimizer(res)) ?