@Deprecated public class PowellOptimizer extends BaseAbstractMultivariateOptimizer<MultivariateFunction> implements MultivariateOptimizer
optimize.py v0.5 of
SciPy).
BrentOptimizer with a
convergence checker set to SimpleUnivariateValueChecker.| Modifier and Type | Class and Description |
|---|---|
private class |
PowellOptimizer.LineSearch
Deprecated.
Class for finding the minimum of the objective function along a given
direction.
|
| Modifier and Type | Field and Description |
|---|---|
private double |
absoluteThreshold
Deprecated.
Absolute threshold.
|
private PowellOptimizer.LineSearch |
line
Deprecated.
Line search.
|
private static double |
MIN_RELATIVE_TOLERANCE
Deprecated.
Minimum relative tolerance.
|
private double |
relativeThreshold
Deprecated.
Relative threshold.
|
evaluations| Constructor and Description |
|---|
PowellOptimizer(double rel,
double abs)
Deprecated.
The parameters control the default convergence checking procedure.
|
PowellOptimizer(double rel,
double abs,
ConvergenceChecker<PointValuePair> checker)
Deprecated.
This constructor allows to specify a user-defined convergence checker,
in addition to the parameters that control the default convergence
checking procedure.
|
PowellOptimizer(double rel,
double abs,
double lineRel,
double lineAbs)
Deprecated.
Builds an instance with the default convergence checking procedure.
|
PowellOptimizer(double rel,
double abs,
double lineRel,
double lineAbs,
ConvergenceChecker<PointValuePair> checker)
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected PointValuePair |
doOptimize()
Deprecated.
Perform the bulk of the optimization algorithm.
|
private double[][] |
newPointAndDirection(double[] p,
double[] d,
double optimum)
Deprecated.
Compute a new point (in the original space) and a new direction
vector, resulting from the line search.
|
computeObjectiveValue, getConvergenceChecker, getEvaluations, getGoalType, getLowerBound, getMaxEvaluations, getStartPoint, getUpperBound, optimize, optimize, optimizeInternal, optimizeInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoptimizegetConvergenceChecker, getEvaluations, getMaxEvaluationsprivate static final double MIN_RELATIVE_TOLERANCE
private final double relativeThreshold
private final double absoluteThreshold
private final PowellOptimizer.LineSearch line
public PowellOptimizer(double rel,
double abs,
ConvergenceChecker<PointValuePair> checker)
rel - Relative threshold.abs - Absolute threshold.checker - Convergence checker.NotStrictlyPositiveException - if abs <= 0.NumberIsTooSmallException - if rel < 2 * Math.ulp(1d).public PowellOptimizer(double rel,
double abs,
double lineRel,
double lineAbs,
ConvergenceChecker<PointValuePair> checker)
rel - Relative threshold for this optimizer.abs - Absolute threshold for this optimizer.lineRel - Relative threshold for the internal line search optimizer.lineAbs - Absolute threshold for the internal line search optimizer.checker - Convergence checker.NotStrictlyPositiveException - if abs <= 0.NumberIsTooSmallException - if rel < 2 * Math.ulp(1d).public PowellOptimizer(double rel,
double abs)
rel - Relative threshold.abs - Absolute threshold.NotStrictlyPositiveException - if abs <= 0.NumberIsTooSmallException - if rel < 2 * Math.ulp(1d).public PowellOptimizer(double rel,
double abs,
double lineRel,
double lineAbs)
rel - Relative threshold.abs - Absolute threshold.lineRel - Relative threshold for the internal line search optimizer.lineAbs - Absolute threshold for the internal line search optimizer.NotStrictlyPositiveException - if abs <= 0.NumberIsTooSmallException - if rel < 2 * Math.ulp(1d).protected PointValuePair doOptimize()
doOptimize in class BaseAbstractMultivariateOptimizer<MultivariateFunction>private double[][] newPointAndDirection(double[] p,
double[] d,
double optimum)
p - Point used in the line search.d - Direction used in the line search.optimum - Optimum found by the line search.Copyright (c) 2003-2015 Apache Software Foundation