public class NewtonRaphsonMinimizer extends SteepestDescentMinimizer
Modifier and Type | Class and Description |
---|---|
protected class |
NewtonRaphsonMinimizer.NewtonRaphsonImpl |
SteepestDescentMinimizer.SteepestDescentImpl
epsilon, maxIterations
Constructor and Description |
---|
NewtonRaphsonMinimizer(double epsilon,
int maxIterations)
Construct a multivariate minimizer using the Newton-Raphson method.
|
Modifier and Type | Method and Description |
---|---|
IterativeSolution<Vector> |
solve(C2OptimProblem problem)
Solve a minimization problem with a C2 objective function.
|
public NewtonRaphsonMinimizer(double epsilon, int maxIterations)
epsilon
- a precision parameter: when a number |x| ≤ ε, it is considered 0maxIterations
- the maximum number of iterationspublic IterativeSolution<Vector> solve(C2OptimProblem problem) throws Exception
SteepestDescentMinimizer
solve
in interface Optimizer<C2OptimProblem,IterativeSolution<Vector>>
solve
in class SteepestDescentMinimizer
problem
- a minimization problem with a C2 objective functionException
- when there is an error solving the problemCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.