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

public Interface BaseMultivariateVectorOptimizer<FUNC extends MultivariateVectorFunction>

extends BaseOptimizer<PointVectorValuePair>
Known Direct Subinterfaces
org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer, org.apache.commons.math3.optimization.MultivariateDifferentiableVectorOptimizer
Known Direct Implementers
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer, org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer
Annotations
@Deprecated
Type Parameters
<FUNC>
Type of the objective function to be optimized.
Imports
org.apache.commons.math3.analysis.MultivariateVectorFunction

Deprecated

As of 3.1 (to be removed in 4.0).

This interface is mainly intended to enforce the internal coherence of Commons-Math. 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 PointVectorValuePair

Returns:

the point/value pair giving the optimal value for objective function.
optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
double[]
Target value for the objective functions at optimum.
target
,
double[]
Weights for the least squares cost computation.
weight
,
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 PointVectorValuePair optimize(int maxEval, FUNC f, double[] target, double[] weight, double[] startPoint)

Deprecated

As of 3.1. In 4.0, this will be replaced by the declaration corresponding to this method.

Optimize an objective function. Optimization is considered to be a weighted least-squares minimization. The cost function to be minimized is ∑weighti(objectivei - targeti)2

Parameters
maxEval:int

Maximum number of function evaluations.

f:FUNC

Objective function.

target:double[]

Target value for the objective functions at optimum.

weight:double[]

Weights for the least squares cost computation.

startPoint:double[]

Start point for optimization.

Returns:PointVectorValuePair

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.