OptimoJoe / Optizelle

Optizelle [op-tuh-zel] is an open source software library designed to solve general purpose nonlinear optimization problems.
www.optimojoe.com/products/optizelle
63 stars 13 forks source link

Small step stopping critieria should use the norm of dx_typ after iteration 1 #34

Closed josyoun closed 8 years ago

josyoun commented 9 years ago

Right now, the stoppping criteria (safe guard) for too small of a step uses the norm of the first gradient. The reason for this is that sometimes things break on the first iteration and we don't want an infinite loop. However, after the first iteration, we should base things off of the norm of dx_typ.

josyoun commented 8 years ago

Fixed on commit 2dfe57ab1cde09cf1807b94ab399408d8bf49fc5.