26#ifndef quantlib_optimization_criteria_hpp
27#define quantlib_optimization_criteria_hpp
68 bool positiveOptimization,
80 Size& statStateIterations,
85 Size& statStateIterations,
89 bool positiveOptimization,
Criteria to end optimization process:
bool operator()(Size iteration, Size &statState, bool positiveOptimization, Real fold, Real normgold, Real fnew, Real normgnew, EndCriteria::Type &ecType) const
@ StationaryFunctionValue
@ StationaryFunctionAccuracy
bool checkStationaryFunctionAccuracy(Real f, bool positiveOptimization, EndCriteria::Type &ecType) const
Real gradientNormEpsilon() const
bool checkZeroGradientNorm(Real gNorm, EndCriteria::Type &ecType) const
Real functionEpsilon() const
bool checkStationaryPoint(Real xOld, Real xNew, Size &statStateIterations, EndCriteria::Type &ecType) const
Size maxIterations() const
Size maxStationaryStateIterations_
Maximun number of iterations in stationary state.
bool checkStationaryFunctionValue(Real fxOld, Real fxNew, Size &statStateIterations, EndCriteria::Type &ecType) const
Real rootEpsilon_
root, function and gradient epsilons
Size maxStationaryStateIterations() const
Real gradientNormEpsilon_
Size maxIterations_
Maximum number of iterations.
bool checkMaxIterations(Size iteration, EndCriteria::Type &ecType) const
std::size_t Size
size of a container
std::ostream & operator<<(std::ostream &out, GFunctionFactory::YieldCurveModel type)