Algorithm is as per Shanno and Phua, ACM Transactions On Mathematical Software 6 (December 1980), 618-622
Conjugate gradients optimization is sensitive to the scales of the derivatives of the various attributes being optimized. By default, the scales are estimated from the range of values found for the attribute upon initialization. These estimates can be viewed either by calling Model::get_range(my_float_key) or by turning on TERSE logging and looking at logged messages. If this estimate does not accurately reflect the scale, then you can use Model::set_range to set a more accurate range for the parameters.
Public Member Functions | |
ConjugateGradients (Model *m=NULL) | |
virtual std::string | get_type_name () const |
virtual ::IMP::VersionInfo | get_version_info () const |
virtual Float | optimize (unsigned int max_steps) |
void | set_max_change (Float t) |
Limit how far anything can change each time step. | |
void | set_threshold (Float t) |
Set the threshold for the minimum gradient. | |
Friends | |
template<class T > | |
void | IMP::internal::unref (T *) |