Optim.jl
Optim.jl copied to clipboard
Optim.OptimizationState
There seems to be some misalignment of the documentation with the Optim.OptimizationState: https://docs.sciml.ai/Optimization/stable/API/optimization_state/
The fields in OptimizationState in the documentation are listed as follows:
Fields
iter: current iteration
u: current solution
objective: current objective value
gradient: current gradient
hessian: current hessian
original: if the solver has its own state object then it is stored here
but using the following code:
using Optim
println(fieldnames(Optim.OptimizationState))
gives 1: iteration 2: value 3: g_norm 4: metadata