Interface BaseMultivariateOptimizer<FUNC extends MultivariateFunction>
-
- Type Parameters:
FUNC- Type of the objective function to be optimized.
- All Superinterfaces:
BaseOptimizer<PointValuePair>
- All Known Subinterfaces:
BaseMultivariateSimpleBoundsOptimizer<FUNC>,DifferentiableMultivariateOptimizer,MultivariateDifferentiableOptimizer,MultivariateOptimizer
- All Known Implementing Classes:
AbstractDifferentiableOptimizer,AbstractScalarDifferentiableOptimizer,BaseAbstractMultivariateOptimizer,BaseAbstractMultivariateSimpleBoundsOptimizer,BaseMultivariateMultiStartOptimizer,BOBYQAOptimizer,CMAESOptimizer,DifferentiableMultivariateMultiStartOptimizer,MultivariateDifferentiableMultiStartOptimizer,MultivariateMultiStartOptimizer,NonLinearConjugateGradientOptimizer,PowellOptimizer,SimplexOptimizer
@Deprecated public interface BaseMultivariateOptimizer<FUNC extends MultivariateFunction> extends BaseOptimizer<PointValuePair>
Deprecated.As of 3.1 (to be removed in 4.0).This interface is mainly intended to enforce the internal coherence of Commons-FastMath. Users of the API are advised to base their code on the following interfaces:- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PointValuePairoptimize(int maxEval, FUNC f, GoalType goalType, double[] startPoint)Deprecated.As of 3.1.-
Methods inherited from interface org.apache.commons.math3.optimization.BaseOptimizer
getConvergenceChecker, getEvaluations, getMaxEvaluations
-
-
-
-
Method Detail
-
optimize
@Deprecated PointValuePair optimize(int maxEval, FUNC f, GoalType goalType, double[] startPoint)
Deprecated.As of 3.1. In 4.0, it will be replaced by the declaration corresponding to thismethod.Optimize an objective function.- Parameters:
f- Objective function.goalType- Type of optimization goal: eitherGoalType.MAXIMIZEorGoalType.MINIMIZE.startPoint- Start point for optimization.maxEval- Maximum number of function evaluations.- Returns:
- the point/value pair giving the optimal value for objective function.
- Throws:
DimensionMismatchException- if the start point dimension is wrong.TooManyEvaluationsException- if the maximal number of evaluations is exceeded.NullArgumentException- if any argument isnull.
-
-