FUNC - Type of the objective function to be optimized.@Deprecated public interface BaseMultivariateSimpleBoundsOptimizer<FUNC extends MultivariateFunction> extends BaseMultivariateOptimizer<FUNC>
| Modifier and Type | Method and Description |
|---|---|
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint,
double[] lowerBound,
double[] upperBound)
Deprecated.
Optimize an objective function.
|
optimizegetConvergenceChecker, getEvaluations, getMaxEvaluationsPointValuePair optimize(int maxEval, FUNC f, GoalType goalType, double[] startPoint, double[] lowerBound, double[] upperBound)
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.lowerBound - Lower bound for each of the parameters.upperBound - Upper bound for each of the parameters.DimensionMismatchException - if the array sizes are wrong.TooManyEvaluationsException - if the maximal number of evaluations is exceeded.NullArgumentException - if
f, goalType or startPoint is null.NumberIsTooSmallException - if any
of the initial values is less than its lower bound.NumberIsTooLargeException - if any
of the initial values is greater than its upper bound.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.