public abstract class SteepestDescent extends java.lang.Object implements MultivariateMinimizer<IterativeMinimizer<Vector>>
| Modifier and Type | Class and Description |
|---|---|
protected class |
SteepestDescent.SteepestDescentImpl
This is an implementation of the steepest descent method.
|
| Modifier and Type | Field and Description |
|---|---|
protected double |
epsilon
a precision parameter: when a number |x| ≤ ε, it is considered 0
|
protected double |
maxIterations
the maximum number of iterations
|
| Constructor and Description |
|---|
SteepestDescent(double epsilon,
int maxIterations)
Construct a multivariate minimizer using a steepest descent method.
|
SteepestDescent(LineSearch linesearch,
double epsilon,
int maxIterations)
Construct a multivariate minimizer using a steepest descent method.
|
| Modifier and Type | Method and Description |
|---|---|
abstract IterativeMinimizer<Vector> |
solve(C2OptimProblem problem)
Solve a minimization problem with a C2 objective function.
|
protected final double epsilon
protected final double maxIterations
public SteepestDescent(LineSearch linesearch, double epsilon, int maxIterations)
linesearch - the line search method used in each iterationepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0maxIterations - the maximum number of iterationspublic SteepestDescent(double epsilon,
int maxIterations)
epsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0maxIterations - the maximum number of iterationspublic abstract IterativeMinimizer<Vector> solve(C2OptimProblem problem) throws java.lang.Exception
solve in interface Optimizer<C2OptimProblem,IterativeMinimizer<Vector>>problem - a minimization problem with a C2 objective functionjava.lang.Exception - when there is an error solving the problem