org.apache.commons.math3.optimization.direct
FUNC
- Type of the objective function to be optimized.@Deprecated public abstract class BaseAbstractMultivariateSimpleBoundsOptimizer<FUNC extends MultivariateFunction> extends BaseAbstractMultivariateOptimizer<FUNC> implements BaseMultivariateOptimizer<FUNC>, BaseMultivariateSimpleBoundsOptimizer<FUNC>
evaluations
Modifier | Constructor and Description |
---|---|
protected |
BaseAbstractMultivariateSimpleBoundsOptimizer()
Deprecated.
|
protected |
BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getLowerBound()
Deprecated.
|
double[] |
getUpperBound()
Deprecated.
|
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint)
Deprecated.
Optimize an objective function.
|
PointValuePair |
optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint,
double[] lower,
double[] upper)
Deprecated.
Optimize an objective function.
|
computeObjectiveValue, doOptimize, getConvergenceChecker, getEvaluations, getGoalType, getMaxEvaluations, getStartPoint, optimize, optimizeInternal, optimizeInternal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConvergenceChecker, getEvaluations, getMaxEvaluations
@Deprecated protected BaseAbstractMultivariateSimpleBoundsOptimizer()
SimpleValueChecker.SimpleValueChecker()
SimpleValueChecker
.protected BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker)
checker
- Convergence checker.public double[] getLowerBound()
getLowerBound
in class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>
public double[] getUpperBound()
getUpperBound
in class BaseAbstractMultivariateOptimizer<FUNC extends MultivariateFunction>
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 (c) 2003-2013 Apache Software Foundation