8 #ifndef IMPGSL_CONJUGATE_GRADIENTS_H
9 #define IMPGSL_CONJUGATE_GRADIENTS_H
11 #include <IMP/gsl/gsl_config.h>
15 IMPGSL_BEGIN_NAMESPACE
21 double initial_step_, line_step_, min_gradient_;
27 IMPGSL_DEPRECATED_FUNCTION_DECL(2.1)
32 virtual Float do_optimize(
unsigned int max_steps) IMP_OVERRIDE;
A base class for GSL-based optimizers.
A conjugate gradients optimizer taken from GSL.
void set_threshold(double mg)
Set the gradient threshold.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
double Float
Basic floating-point value (could be float, double...)
A base class for GSL-based optimizers.
Class for storing model, its restraints, constraints, and particles.