Is there an easy way to access/pull the elements stored in the “extended” trace of the output of Optim.optimize()?
I’d like to have a matrix, or an array of arrays, where the ith column (or row) is the ith set of parameters the optimizer hit during optimization. I’d also like to have corresponding arrays with the objective values and gradient norms.
I know I can view all of this info in the trace itself, but my goal is to create some plots and do other fun stuff too.