@Deprecated public class NonLinearConjugateGradientOptimizer extends AbstractScalarDifferentiableOptimizer
This class supports both the Fletcher-Reeves and the Polak-Ribière update formulas for the conjugate search directions. It also supports optional preconditioning.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | NonLinearConjugateGradientOptimizer.IdentityPreconditionerDeprecated.  Default identity preconditioner. | 
evaluations| Constructor and Description | 
|---|
| NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula)Deprecated. 
 | 
| NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula,
                                   ConvergenceChecker<PointValuePair> checker)Deprecated.  Constructor with default  line search solverandpreconditioner. | 
| NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula,
                                   ConvergenceChecker<PointValuePair> checker,
                                   UnivariateSolver lineSearchSolver)Deprecated.  Constructor with default  preconditioner. | 
| NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula,
                                   ConvergenceChecker<PointValuePair> checker,
                                   UnivariateSolver lineSearchSolver,
                                   Preconditioner preconditioner)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PointValuePair | doOptimize()Deprecated.  Perform the bulk of the optimization algorithm. | 
| void | setInitialStep(double initialStep)Deprecated.  Set the initial step used to bracket the optimum in line search. | 
computeObjectiveGradient, optimize, optimizeInternalcomputeObjectiveValue, getConvergenceChecker, getEvaluations, getGoalType, getLowerBound, getMaxEvaluations, getStartPoint, getUpperBound, optimize, optimize, optimizeInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoptimizegetConvergenceChecker, getEvaluations, getMaxEvaluations@Deprecated public NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula)
SimpleValueChecker.SimpleValueChecker()updateFormula - formula to use for updating the β parameter,
 must be one of ConjugateGradientFormula.FLETCHER_REEVES or ConjugateGradientFormula.POLAK_RIBIERE.public NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula, ConvergenceChecker<PointValuePair> checker)
line search solver and
 preconditioner.updateFormula - formula to use for updating the β parameter,
 must be one of ConjugateGradientFormula.FLETCHER_REEVES or ConjugateGradientFormula.POLAK_RIBIERE.checker - Convergence checker.public NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula, ConvergenceChecker<PointValuePair> checker, UnivariateSolver lineSearchSolver)
preconditioner.updateFormula - formula to use for updating the β parameter,
 must be one of ConjugateGradientFormula.FLETCHER_REEVES or ConjugateGradientFormula.POLAK_RIBIERE.checker - Convergence checker.lineSearchSolver - Solver to use during line search.public NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula, ConvergenceChecker<PointValuePair> checker, UnivariateSolver lineSearchSolver, Preconditioner preconditioner)
updateFormula - formula to use for updating the β parameter,
 must be one of ConjugateGradientFormula.FLETCHER_REEVES or ConjugateGradientFormula.POLAK_RIBIERE.checker - Convergence checker.lineSearchSolver - Solver to use during line search.preconditioner - Preconditioner.public void setInitialStep(double initialStep)
The initial step is a factor with respect to the search direction, which itself is roughly related to the gradient of the function
initialStep - initial step used to bracket the optimum in line search,
 if a non-positive value is used, the initial step is reset to its
 default value of 1.0protected PointValuePair doOptimize()
doOptimize in class BaseAbstractMultivariateOptimizer<DifferentiableMultivariateFunction>Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.