FUNC - Type of the objective function to be optimized.public abstract class BaseAbstractMultivariateSimpleBoundsOptimizer<FUNC extends MultivariateFunction> extends BaseAbstractMultivariateOptimizer<FUNC> implements BaseMultivariateOptimizer<FUNC>, BaseMultivariateSimpleBoundsOptimizer<FUNC>
evaluations| Modifier | Constructor and Description |
|---|---|
protected |
BaseAbstractMultivariateSimpleBoundsOptimizer()
Simple constructor with default settings.
|
protected |
BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getLowerBound() |
double[] |
getUpperBound() |
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint)
Optimize an objective function.
|
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint,
double[] lower,
double[] upper)
Optimize an objective function.
|
computeObjectiveValue, doOptimize, getConvergenceChecker, getEvaluations, getGoalType, getMaxEvaluations, getStartPointclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConvergenceChecker, getEvaluations, getMaxEvaluationsprotected BaseAbstractMultivariateSimpleBoundsOptimizer()
SimpleValueChecker and
the allowed number of evaluations is set to Integer.MAX_VALUE.protected BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker)
checker - Convergence checker.public double[] getLowerBound()
public double[] getUpperBound()
public PointValuePair optimize(int maxEval, FUNC f, GoalType goalType, double[] startPoint)
optimize in interface BaseMultivariateOptimizer<FUNC extends MultivariateFunction>optimize in class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>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, FUNC f, GoalType goalType, double[] startPoint, double[] lower, double[] upper)
optimize in interface BaseMultivariateSimpleBoundsOptimizer<FUNC extends MultivariateFunction>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.lower - Lower bound for each of the parameters.upper - Upper bound for each of the parameters.Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.