Replies: 1 comment
-
Hi @RS-Coop ! You can modify the stopping criterion used by using Stopping. Indeed, the basic way is to call the solver is to create a NLPModel as follow:
but you can also do
Stopping allows a couple of useful things like modifying the stopping criterion:
and you can save intermediary values into a file following this tutorial https://solverstoppingjulia.github.io/Stopping.jl/dev/checkpointing/ . JSO-solvers usually have a callback system but this is still work in progress for this package, JuliaSmoothOptimizers/AdaptiveRegularization.jl#88 . |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a two questions about using ARCqKOp from AdaptiveRegularization.jl
First, how do I go about implementing a stopping criteria based on the gradient norm?
Second, how can I save the sequences of function values and gradient norms? For example, I would like to be able to plot the function value vs. iteration counter.
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions