public abstract class ConjugateGradientOptimization extends Optimization implements RevisionHandler
Constructor and Description |
---|
ConjugateGradientOptimization()
Constructor that sets MAXITS to 2000 by default and the parameter in the
second weak Wolfe condition to 0.1.
|
Modifier and Type | Method and Description |
---|---|
double[] |
findArgmin(double[] initX,
double[][] constraints)
Main algorithm.
|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed
information about the technical background of this class, e.g., paper
reference or book this class is based on.
|
getMinFunction, getVarbValues, lnsrch, setDebug, setMaxIteration, solveTriangle
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRevision
public ConjugateGradientOptimization()
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
getTechnicalInformation
in class Optimization
public double[] findArgmin(double[] initX, double[][] constraints) throws java.lang.Exception
findArgmin
in class Optimization
initX
- initial point of x, assuming no value's on the bound!constraints
- both arrays must contain Double.NaNjava.lang.Exception
- if an error occurs