public class Huang extends QuasiNewton
| Modifier and Type | Class and Description |
|---|---|
protected class |
Huang.HuangImpl
an implementation of Huang's formula.
|
QuasiNewton.QuasiNewtonImplSteepestDescent.SteepestDescentImplepsilon, maxIterations| Constructor and Description |
|---|
Huang(double theta,
double phi,
double psi,
double omega,
double epsilon,
int maxIterations)
Construct a multivariate minimizer using Huang's method.
|
| Modifier and Type | Method and Description |
|---|---|
IterativeMinimizer<Vector> |
solve(C2OptimProblem problem)
Solve a minimization problem with a C2 objective function.
|
public Huang(double theta,
double phi,
double psi,
double omega,
double epsilon,
int maxIterations)
theta - θ in Huang's formulaphi - φ in Huang's formulapsi - ψ in Huang's formulaomega - ω in Huang's formulaepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0maxIterations - the maximum number of iterationspublic IterativeMinimizer<Vector> solve(C2OptimProblem problem) throws java.lang.Exception
SteepestDescentsolve in interface Optimizer<C2OptimProblem,IterativeMinimizer<Vector>>solve in class SteepestDescentproblem - a minimization problem with a C2 objective functionjava.lang.Exception - when there is an error solving the problem