Optim.jl
Optim.jl copied to clipboard
Modify `Optim.Options`
I had hoped to be able to change an individual option in Optim.Option, inheriting all other options, but could not find a way. Is it already implemented?
I.e., something like
o = Optim.Options(; f_abstol = 1e-4, g_abstol=1e-3)
modified_o = Optim.Options(o; show_trace = true) # now with f_abstol = 1e-4, g_abstol=1e-3, show_trace = true
It is not possible, but may be a good idea to implement. Would you be up for giving it a go?
Sure; PR'd in #1172.
Fixed by #1172.