Deprecated
As of 3.1 (to be removed in 4.0).
optimize.py v0.5 of
SciPy).
BrentOptimizer with a
convergence checker set to SimpleUnivariateValueChecker.
| Modifier and Type | Class and Description |
|---|---|
| private class | PowellOptimizer.
Deprecated
as a consequence of Class for finding the minimum of the objective function along a given
direction.
BrentOptimizer being deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
| private final double | absoluteThreshold
Absolute threshold. |
| private final PowellOptimizer. | line
Deprecated
as a consequence of Line search.
PowellOptimizer.LineSearch being deprecated.
|
| private static final double | MIN_RELATIVE_TOLERANCE
Minimum relative tolerance. |
| private final double | relativeThreshold
Relative threshold. |
| Access | Constructor and Description |
|---|---|
| public | PowellOptimizer(double
Relative threshold. rel, double Absolute threshold. abs, ConvergenceChecker<PointValuePair> Convergence checker. checker)
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
This constructor allows to specify a user-defined convergence checker, in addition to the parameters that control the default convergence checking procedure. |
| public | PowellOptimizer(double
Relative threshold for this optimizer. rel, double Absolute threshold for this optimizer. abs, double Relative threshold for the internal line search optimizer. lineRel, double Absolute threshold for the internal line search optimizer. lineAbs, ConvergenceChecker<PointValuePair> Convergence checker. checker)
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
This constructor allows to specify a user-defined convergence checker, in addition to the parameters that control the default convergence checking procedure and the line search tolerances. |
| public | PowellOptimizer(double
Relative threshold. rel, double Absolute threshold. abs)The parameters control the default convergence checking procedure. |
| public | PowellOptimizer(double
Relative threshold. rel, double Absolute threshold. abs, double Relative threshold for the internal line search optimizer. lineRel, double Absolute threshold for the internal line search optimizer. lineAbs)Builds an instance with the default convergence checking procedure. |
| Modifier and Type | Method and Description |
|---|---|
| protected PointValuePair | doOptimize()
Implements abstract org.
Deprecated
as a consequence of
PointValuePair being deprecated.
Perform the bulk of the optimization algorithm. |
| private double[][] | Returns: a 2-element array containing the new point (at index 0) and the new direction (at index 1).Point used in the line search. p, double[] Direction used in the line search. d, double Optimum found by the line search. optimum)Compute a new point (in the original space) and a new direction vector, resulting from the line search. |
| absoluteThreshold | back to summary |
|---|---|
| private final double absoluteThreshold Absolute threshold. | |
| line | back to summary |
|---|---|
| private final PowellOptimizer. Deprecated as a consequence of Line search. | |
| MIN_RELATIVE_TOLERANCE | back to summary |
|---|---|
| private static final double MIN_RELATIVE_TOLERANCE Minimum relative tolerance. | |
| relativeThreshold | back to summary |
|---|---|
| private final double relativeThreshold Relative threshold. | |
| PowellOptimizer | back to summary |
|---|---|
| public PowellOptimizer(double rel, double abs, ConvergenceChecker<PointValuePair> checker)
Deprecated as a consequence of This constructor allows to specify a user-defined convergence checker,
in addition to the parameters that control the default convergence
checking procedure.
| |
| PowellOptimizer | back to summary |
|---|---|
| public PowellOptimizer(double rel, double abs, double lineRel, double lineAbs, ConvergenceChecker<PointValuePair> checker)
Deprecated as a consequence of This constructor allows to specify a user-defined convergence checker, in addition to the parameters that control the default convergence checking procedure and the line search tolerances.
| |
| PowellOptimizer | back to summary |
|---|---|
| public PowellOptimizer(double rel, double abs) The parameters control the default convergence checking procedure.
| |
| PowellOptimizer | back to summary |
|---|---|
| public PowellOptimizer(double rel, double abs, double lineRel, double lineAbs) Builds an instance with the default convergence checking procedure.
| |
| doOptimize | back to summary |
|---|---|
| protected PointValuePair doOptimize() Implements abstract org. Doc from org. Deprecated as a consequence of Perform the bulk of the optimization algorithm.
| |
| newPointAndDirection | back to summary |
|---|---|
| private double[][] newPointAndDirection(double[] p, double[] d, double optimum) Compute a new point (in the original space) and a new direction vector, resulting from the line search.
| |
Deprecated
as a consequence of BrentOptimizer being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private static final double | ABS_TOL_UNUSED
Value that will pass the precondition check for |
| private final BracketFinder | bracket
Deprecated
as a consequence of Automatic bracketing.
BracketFinder being deprecated.
|
| private static final double | REL_TOL_UNUSED
Value that will pass the precondition check for |
| Access | Constructor and Description |
|---|---|
| pack-priv | LineSearch(double
Relative threshold. rel, double Absolute threshold. abs)The "BrentOptimizer" default stopping criterion uses the tolerances to check the domain (point) values, not the function values. |
| Modifier and Type | Method and Description |
|---|---|
| public UnivariatePointValuePair | Returns: the optimum.Starting point. p, final double[] Search direction. d)
Deprecated
as a consequence of
UnivariatePointValuePair being deprecated.
Find the minimum of the function |
| ABS_TOL_UNUSED | back to summary |
|---|---|
| private static final double ABS_TOL_UNUSED Value that will pass the precondition check for | |
| bracket | back to summary |
|---|---|
| private final BracketFinder bracket
Deprecated as a consequence of Automatic bracketing. | |
| REL_TOL_UNUSED | back to summary |
|---|---|
| private static final double REL_TOL_UNUSED Value that will pass the precondition check for | |
| LineSearch | back to summary |
|---|---|
| pack-priv LineSearch(double rel, double abs) The "BrentOptimizer" default stopping criterion uses the tolerances to check the domain (point) values, not the function values. We thus create a custom checker to use function values.
| |
| search | back to summary |
|---|---|
| public UnivariatePointValuePair search(final double[] p, final double[] d)
Deprecated as a consequence of Find the minimum of the function
| |