# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.multivariate.unconstrained.c2.conjugatedirection

## Class ZangwillMinimizer

• ### Nested Class Summary

Nested Classes
Modifier and Type Class and Description
protected class  ZangwillMinimizer.ZangwillImpl
an implementation of Zangwill's algorithm
• ### Nested classes/interfaces inherited from class com.numericalmethod.suanshu.optimization.multivariate.unconstrained.c2.steepestdescent.SteepestDescentMinimizer

SteepestDescentMinimizer.SteepestDescentImpl

• ### Fields inherited from class com.numericalmethod.suanshu.optimization.multivariate.unconstrained.c2.steepestdescent.SteepestDescentMinimizer

epsilon, maxIterations
• ### Constructor Summary

Constructors
Constructor and Description
ZangwillMinimizer(double epsilon, double epsilon2, int maxIterations)
Construct a multivariate minimizer using the Zangwill method.
• ### Method Summary

All Methods
Modifier and Type Method and Description
IterativeSolution<Vector> solve(C2OptimProblem problem)
Solve a minimization problem with a C2 objective function.
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Constructor Detail

• #### ZangwillMinimizer

public ZangwillMinimizer(double epsilon,
double epsilon2,
int maxIterations)
Construct a multivariate minimizer using the Zangwill method.
Parameters:
epsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0
epsilon2 - a precision parameter to decide whether there is a linear dependence among the conjugate directions
maxIterations - the maximum number of iterations
• ### Method Detail

• #### solve

public IterativeSolution<Vector> solve(C2OptimProblem problem)
throws Exception
Description copied from class: SteepestDescentMinimizer
Solve a minimization problem with a C2 objective function.
Specified by:
solve in interface Optimizer<C2OptimProblem,IterativeSolution<Vector>>
Specified by:
solve in class SteepestDescentMinimizer
Parameters:
problem - a minimization problem with a C2 objective function
Returns:
a minimizer
Throws:
Exception - when there is an error solving the problem