@Deprecated public abstract class AbstractScalarDifferentiableOptimizer extends BaseAbstractMultivariateOptimizer<DifferentiableMultivariateFunction> implements DifferentiableMultivariateOptimizer
evaluations| Modifier | Constructor and Description |
|---|---|
protected |
AbstractScalarDifferentiableOptimizer()
Deprecated.
|
protected |
AbstractScalarDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected double[] |
computeObjectiveGradient(double[] evaluationPoint)
Deprecated.
Compute the gradient vector.
|
PointValuePair |
optimize(int maxEval,
MultivariateDifferentiableFunction f,
GoalType goalType,
double[] startPoint)
Deprecated.
Optimize an objective function.
|
protected PointValuePair |
optimizeInternal(int maxEval,
DifferentiableMultivariateFunction f,
GoalType goalType,
double[] startPoint)
Deprecated.
Optimize an objective function.
|
computeObjectiveValue, doOptimize, getConvergenceChecker, getEvaluations, getGoalType, getLowerBound, getMaxEvaluations, getStartPoint, getUpperBound, optimize, optimize, optimizeInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoptimizegetConvergenceChecker, getEvaluations, getMaxEvaluations@Deprecated protected AbstractScalarDifferentiableOptimizer()
SimpleValueChecker.SimpleValueChecker()SimpleValueChecker.protected AbstractScalarDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker)
checker - Convergence checker.protected double[] computeObjectiveGradient(double[] evaluationPoint)
evaluationPoint - Point at which the gradient must be evaluated.TooManyEvaluationsException - if the allowed number of evaluations is exceeded.protected PointValuePair optimizeInternal(int maxEval, DifferentiableMultivariateFunction f, GoalType goalType, double[] startPoint)
optimizeInternal in class BaseAbstractMultivariateOptimizer<DifferentiableMultivariateFunction>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.public PointValuePair optimize(int maxEval, MultivariateDifferentiableFunction f, GoalType goalType, double[] startPoint)
f - Objective function.goalType - Type of optimization goal: either
GoalType.MAXIMIZE or GoalType.MINIMIZE.startPoint - Start point for optimization.maxEval - Maximum number of function evaluations.DimensionMismatchException - if the start point dimension is wrong.TooManyEvaluationsException - if the maximal number of evaluations is exceeded.NullArgumentException - if
any argument is null.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.