JuliaNLSolvers / Optim.jl

Optimization functions for Julia
Other
1.11k stars 213 forks source link

Document what is passed to the callback #1014

Closed Kolaru closed 1 year ago

Kolaru commented 1 year ago

Currently the doc (as far as I can tell) does not describe the input passed to the callback functions, nor how it changes depending on the options (e.g. with store_trace = true, the callback gets a list of states).

I think that would be great, especially since testing it by trial and error is a bit cumbersome.

Kolaru commented 1 year ago

Already reported in #962 my bad, sorry for the noise.