Top Description Methods
org.apache.commons.math3.optimization

public Interface BaseMultivariateOptimizer<FUNC extends MultivariateFunction>

extends BaseOptimizer<PointValuePair>
Known Direct Subinterfaces
org.apache.commons.math3.optimization.BaseMultivariateSimpleBoundsOptimizer, org.apache.commons.math3.optimization.DifferentiableMultivariateOptimizer, org.apache.commons.math3.optimization.MultivariateDifferentiableOptimizer, org.apache.commons.math3.optimization.MultivariateOptimizer
Known Direct Implementers
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer, org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer, org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer
Annotations
@Deprecated
Type Parameters
<FUNC>
Type of the objective function to be optimized.
Imports
org.apache.commons.math3.analysis.MultivariateFunction

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

Modifier and TypeMethod and Description
public PointValuePair

Returns:

the point/value pair giving the optimal value for objective function.
optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
)
Deprecated As of 3.1.

Optimize an objective function.

Inherited from org.apache.commons.math3.optimization.BaseOptimizer:
getConvergenceCheckergetEvaluationsgetMaxEvaluations

Method Detail

optimizeback to summary
public 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 this method.

Optimize an objective function.

Parameters
maxEval:int

Maximum number of function evaluations.

f:FUNC

Objective function.

goalType:GoalType

Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.

startPoint:double[]

Start point for optimization.

Returns:PointValuePair

the point/value pair giving the optimal value for objective function.

Annotations
@Deprecated
Exceptions
DimensionMismatchException:
if the start point dimension is wrong.
TooManyEvaluationsException:
if the maximal number of evaluations is exceeded.
NullArgumentException:
if any argument is null.