nlopt
nlopt copied to clipboard
gradient based stopping criterion
For gradient based optimization algorithms, a stopping criterion based on the gradient would be useful. One could, for example, check that the norm of the gradient is equal to zero up to some user-specified tolerance.