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_;
A base class for GSL-based optimizers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A conjugate gradients optimizer taken from GSL.
Class for storing model, its restraints, constraints, and particles.
virtual double do_optimize(unsigned int ns)=0
override this function to do actual optimization
void set_threshold(double mg)
Set the gradient threshold.
double Float
Basic floating-point value (could be float, double...)
A base class for GSL-based optimizers.