public class PowellOptimizer extends MultivariateOptimizer
optimize.py
v0.5 of
SciPy).
LineSearch
class.
optimize
will throw
MathRuntimeException
if bounds are passed to it.
In order to impose simple constraints, the objective function must be
wrapped in an adapter like
MultivariateFunctionMappingAdapter
or
MultivariateFunctionPenaltyAdapter
.evaluations, iterations
Constructor and Description |
---|
PowellOptimizer(double rel,
double abs)
The parameters control the default convergence checking procedure.
|
PowellOptimizer(double rel,
double abs,
ConvergenceChecker<PointValuePair> checker)
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)
Builds an instance with the default convergence checking procedure.
|
PowellOptimizer(double rel,
double abs,
double lineRel,
double lineAbs,
ConvergenceChecker<PointValuePair> checker)
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()
Performs the bulk of the optimization algorithm.
|
computeObjectiveValue, getGoalType, optimize, parseOptimizationData
getLowerBound, getStartPoint, getUpperBound
getConvergenceChecker, getEvaluations, getIterations, getMaxEvaluations, getMaxIterations, incrementEvaluationCount, incrementIterationCount, optimize
public PowellOptimizer(double rel, double abs, ConvergenceChecker<PointValuePair> checker)
rel
- Relative threshold.abs
- Absolute threshold.checker
- Convergence checker.MathIllegalArgumentException
- if abs <= 0
.MathIllegalArgumentException
- 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.MathIllegalArgumentException
- if abs <= 0
.MathIllegalArgumentException
- if rel < 2 * Math.ulp(1d)
.public PowellOptimizer(double rel, double abs)
rel
- Relative threshold.abs
- Absolute threshold.MathIllegalArgumentException
- if abs <= 0
.MathIllegalArgumentException
- 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.MathIllegalArgumentException
- if abs <= 0
.MathIllegalArgumentException
- if rel < 2 * Math.ulp(1d)
.protected PointValuePair doOptimize()
doOptimize
in class BaseOptimizer<PointValuePair>
Copyright © 2016-2022 CS GROUP. All rights reserved.