Deprecated
As of 3.1 (to be removed in 4.0).
MultivariateMultiStartOptimizer or on
DifferentiableMultivariateMultiStartOptimizer.
| Modifier and Type | Field and Description |
|---|---|
| private RandomVectorGenerator | generator
Random generator for multi-start. |
| private int | maxEvaluations
Maximal number of evaluations allowed. |
| private PointValuePair[] | optima
Deprecated
as a consequence of Found optima.
PointValuePair being deprecated.
|
| private final BaseMultivariateOptimizer | optimizer
Deprecated
as a consequence of Underlying classical optimizer.
BaseMultivariateOptimizer being deprecated.
|
| private int | starts
Number of starts to go. |
| private int | totalEvaluations
Number of evaluations already performed for all starts. |
| Access | Constructor and Description |
|---|---|
| protected | BaseMultivariateMultiStartOptimizer(final BaseMultivariateOptimizer<FUNC>
Single-start optimizer to wrap. optimizer, final int Number of starts to perform. If starts, final RandomVectorGenerator starts == 1,
the optimize will return the same solution as optimizer would.Random vector generator to use for restarts. generator)
Deprecated
as a consequence of
BaseMultivariateOptimizer being deprecated.
Create a multi-start optimizer from a single-start optimizer. |
| Modifier and Type | Method and Description |
|---|---|
| public ConvergenceChecker | getConvergenceChecker()
Implements org.
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
Get the convergence checker. |
| public int | getEvaluations()
Implements org. Get the number of evaluations of the objective function. |
| public int | getMaxEvaluations()
Implements org. Get the maximal number of function evaluations. |
| public PointValuePair[] | Returns: an array containing the optima.
Deprecated
as a consequence of
PointValuePair being deprecated.
Get all the optima found during the last call to |
| public PointValuePair | optimize(int
Maximum number of function evaluations. maxEval, final FUNC Objective function. f, final GoalType Type of optimization goal: either
goal, double[] GoalType#MAXIMIZE or GoalType#MINIMIZE.Start point for optimization. startPoint)Implements org.
Deprecated
as a consequence of
GoalType and PointValuePair being deprecated.
Optimize an objective function. |
| private void |
| generator | back to summary |
|---|---|
| private RandomVectorGenerator generator Random generator for multi-start. | |
| maxEvaluations | back to summary |
|---|---|
| private int maxEvaluations Maximal number of evaluations allowed. | |
| optima | back to summary |
|---|---|
| private PointValuePair[] optima
Deprecated as a consequence of Found optima. | |
| optimizer | back to summary |
|---|---|
| private final BaseMultivariateOptimizer<FUNC> optimizer
Deprecated as a consequence of Underlying classical optimizer. | |
| starts | back to summary |
|---|---|
| private int starts Number of starts to go. | |
| totalEvaluations | back to summary |
|---|---|
| private int totalEvaluations Number of evaluations already performed for all starts. | |
| BaseMultivariateMultiStartOptimizer | back to summary |
|---|---|
| protected BaseMultivariateMultiStartOptimizer(final BaseMultivariateOptimizer<FUNC> optimizer, final int starts, final RandomVectorGenerator generator)
Deprecated as a consequence of Create a multi-start optimizer from a single-start optimizer.
| |
| getConvergenceChecker | back to summary |
|---|---|
| public ConvergenceChecker Implements org. Doc from org. Deprecated as a consequence of Get the convergence checker.
| |
| getEvaluations | back to summary |
|---|---|
| public int getEvaluations() Implements org. Doc from org. Get the number of evaluations of the objective function.
The number of evaluations corresponds to the last call to the
| |
| getMaxEvaluations | back to summary |
|---|---|
| public int getMaxEvaluations() Implements org. Doc from org. Get the maximal number of function evaluations.
| |
| getOptima | back to summary |
|---|---|
| public PointValuePair[] getOptima()
Deprecated as a consequence of Get all the optima found during the last call to
| |
| optimize | back to summary |
|---|---|
| public PointValuePair optimize(int maxEval, final FUNC f, final GoalType goal, double[] startPoint) Implements org. Doc from org. Deprecated as a consequence of Optimize an objective function.
| |
| sortPairs | back to summary |
|---|---|
| private void sortPairs(final GoalType goal)
Deprecated as a consequence of Sort the optima from best to worst, followed by
| |