diff --git a/gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h b/gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h index 1858fbc2e..369291fae 100644 --- a/gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h +++ b/gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h @@ -74,22 +74,6 @@ class GTSAM_EXPORT NonlinearConjugateGradientOptimizer * variable assignments. */ const Values &optimize() override; - - /** Implement the golden-section line search algorithm */ - double lineSearch(const Values ¤tValues, - const VectorValues &gradient) const; - - /** - * Implement the nonlinear conjugate gradient method using the Polak-Ribiere - * formula suggested in - * http://en.wikipedia.org/wiki/Nonlinear_conjugate_gradient_method. - * - * The last parameter is a switch between gradient-descent and conjugate - * gradient - */ - std::tuple nonlinearConjugateGradient( - const Values &initial, const NonlinearOptimizerParams ¶ms, - const bool singleIteration, const bool gradientDescent = false) const; }; /** Implement the golden-section line search algorithm */