@Deprecated public abstract class AbstractDifferentiableOptimizer extends BaseAbstractMultivariateOptimizer<MultivariateDifferentiableFunction>
evaluations
Modifier | Constructor and Description |
---|---|
protected |
AbstractDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected double[] |
computeObjectiveGradient(double[] evaluationPoint)
Deprecated.
Compute the gradient vector.
|
protected PointValuePair |
optimizeInternal(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
double[] startPoint)
Deprecated.
In 3.1. Please use
optimizeInternal(int,MultivariateDifferentiableFunction,GoalType,OptimizationData[])
instead. |
protected PointValuePair |
optimizeInternal(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
OptimizationData... optData)
Deprecated.
Optimize an objective function.
|
computeObjectiveValue, doOptimize, getConvergenceChecker, getEvaluations, getGoalType, getLowerBound, getMaxEvaluations, getStartPoint, getUpperBound, optimize, optimize
protected AbstractDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
checker
- Convergence checker.protected double[] computeObjectiveGradient(double[] evaluationPoint)
evaluationPoint
- Point at which the gradient must be evaluated.@Deprecated protected PointValuePair optimizeInternal(int maxEval, MultivariateDifferentiableFunction f, GoalType goalType, double[] startPoint)
optimizeInternal(int,MultivariateDifferentiableFunction,GoalType,OptimizationData[])
instead.optimizeInternal
in class BaseAbstractMultivariateOptimizer<MultivariateDifferentiableFunction>
maxEval
- Maximum number of function evaluations.f
- Objective function.goalType
- Type of optimization goal: either
GoalType.MAXIMIZE
or GoalType.MINIMIZE
.startPoint
- Start point for optimization.protected PointValuePair optimizeInternal(int maxEval, MultivariateDifferentiableFunction f, GoalType goalType, OptimizationData... optData)
optimizeInternal
in class BaseAbstractMultivariateOptimizer<MultivariateDifferentiableFunction>
maxEval
- Allowed number of evaluations of the objective function.f
- Objective function.goalType
- Optimization type.optData
- Optimization data. The following data will be looked for:
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.