FUNC
- Type of the objective function to be optimized.public interface BaseMultivariateVectorOptimizer<FUNC extends MultivariateVectorFunction> extends BaseOptimizer<PointVectorValuePair>
Modifier and Type | Method and Description |
---|---|
PointVectorValuePair |
optimize(int maxEval,
FUNC f,
double[] target,
double[] weight,
double[] startPoint)
Optimize an objective function.
|
getConvergenceChecker, getEvaluations, getMaxEvaluations
PointVectorValuePair optimize(int maxEval, FUNC f, double[] target, double[] weight, double[] startPoint)
∑weighti(objectivei - targeti)2
f
- Objective function.target
- Target value for the objective functions at optimum.weight
- Weights for the least squares cost computation.startPoint
- Start point for optimization.maxEval
- Maximum number of function evaluations.DimensionMismatchException
- if the start point dimension is wrong.TooManyEvaluationsException
- if the maximal number of evaluations is exceeded.NullArgumentException
- if
any argument is null
.Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.