#include <qnewton.h>
Inheritance diagram for QNewtonOpt


Public Methods | |
| QNewtonOpt (const Ref< KeyVal > &) | |
| The KeyVal constructor. More... | |
| QNewtonOpt (StateIn &) | |
| ~QNewtonOpt () | |
| void | save_data_state (StateOut &) |
| Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. More... | |
| void | apply_transform (const Ref< NonlinearTransform > &) |
| void | init () |
| Initialize the optimizer. | |
| int | update () |
| Take a step. More... | |
Protected Attributes | |
| double | maxabs_gradient |
| double | accuracy_ |
| RefSymmSCMatrix | ihessian_ |
| Ref<HessianUpdate> | update_ |
| Ref<LineOpt> | lineopt_ |
| int | take_newton_step_ |
| int | print_hessian_ |
| int | print_x_ |
| int | print_gradient_ |
|
|
The KeyVal constructor. The KeyVal constructor reads the following keywords:
|
|
|
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data. Reimplemented from Optimize. |
|
|
Take a step. Returns 1 if the optimization has converged, otherwise 0. Reimplemented from Optimize. |