IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
abstract void | InitializeIteration () |
Initializes the solution iteration. More... | |
abstract void | NextIteration () |
Optimization of quadratic functions. More... | |
abstract void | Minimize () |
Performs complete minimization of the function. More... | |
Protected Attributes | |
int | _outputLevel = DefaultOutputLevel |
int | _maxIterations = DefaultMaxIterations |
double | _toleranceFunctionValue = DefaultToleranceFunctionValue |
double | _toleranceParameterNorm = DefaultToleranceParameterNorm |
double | _toleranceGradientNorm = DefaultToleranceGradientNorm |
FunctionWithGradient | _function |
double[] | _initialGuess |
int | _numParameters |
double[] | _currentGuess |
double | _currentValue |
double[] | _currentGradient |
double[] | _solutionParameters |
double | _solutionValue |
double[] | _solutionGradient |
int | _iterationCount = 0 |
int | _evalutaionCount = 0 |
bool | _isConvergenceCriteriaMet = false |
Static Protected Attributes | |
static int | _defaultOutputLevel = 0 |
static int | _defaultMaxiIterations = 1000 |
static double | _defaultToleranceFunctionValue = -1 |
static double | _defaultToleranceParemeterNorm = -1 |
static double | _defaultToleranceGradientNorm = 1.0e-6 |
Properties | |
static int | DefaultOutputLevel [get, set] |
Default output level for nonlinear equation solvers. More... | |
static int | DefaultMaxIterations [get, set] |
Default value for the maximal number of iterations. More... | |
static double | DefaultToleranceFunctionValue [get, set] |
Default tolerance on the error of the value of the minimized function in solution. More... | |
static double | DefaultToleranceParameterNorm [get, set] |
Default tolerance on norm of the errors in parameters in the solution. More... | |
static double | DefaultToleranceGradientNorm [get, set] |
Default tolerance on norm of the function gradient in the solution. More... | |
virtual int | OutputLevel [get, set] |
Level of console output for nonlinear equation solvers. More... | |
virtual int | MaxIterations [get, set] |
Maximal number of iterations. More... | |
virtual double | ToleranceFunctionValue [get, set] |
Tolerance on absolute error of function value of the function in solution. More... | |
virtual double | ToleranceParameters [get, set] |
Tolerance on norm of error in parameters in solution. More... | |
virtual double | ToleranceFunctionGradient [get, set] |
Tolerance on absolute error of function value of the function in solution. More... | |
virtual FunctionWithGradient | Function [get, set] |
Function to be minimized. More... | |
virtual double[] | InitialGuess [get, set] |
Initial guess. More... | |
virtual int | NumParameters [get, protected set] |
Number of parameters. More... | |
virtual double[] | CurrentGuess [get, set] |
Current guess. More... | |
virtual double | CurrentValue [get, set] |
Current function value. More... | |
virtual double[] | CurrentGradient [get, set] |
Current function gradient. More... | |
virtual double[] | SolutionParameters [get, set] |
Solution of the prioblem - parameter values in minimum. More... | |
virtual double | SolutionValue [get, set] |
Function value in solution. More... | |
virtual double[] | SolutionGradient [get, set] |
Function gradient in solution. More... | |
virtual int | IterationCount [get, protected set] |
Current iteration number. More... | |
virtual int | Evaluationcount [get, protected set] |
Number of function evaluations performed up to now (usually within the single minimization procedure). More... | |
virtual bool | IsConvergenceCriteriaMet [get] |
Returna a flag telling whether convergence criteria are met. More... | |
|
pure virtual |
Initializes the solution iteration.
Implemented in NumLib.MinimizerLbfgs.
|
pure virtual |
Optimization of quadratic functions.
Implemented in NumLib.MinimizerLbfgs.
|
pure virtual |
Performs complete minimization of the function.
Implemented in NumLib.MinimizerLbfgs.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by NumLib.MinimizerLbfgs.NextIteration().
|
staticgetset |
Default output level for nonlinear equation solvers.
Output level defines to which extent operation of the solver is logged to the console.
|
staticgetset |
Default value for the maximal number of iterations.
Must be greater or equal to 1.
|
staticgetset |
Default tolerance on the error of the value of the minimized function in solution.
Must be a positive value or less than 0 if this tolerance is not specified.
|
staticgetset |
Default tolerance on norm of the errors in parameters in the solution.
Must be a positive value or less than 0 if this tolerance is not specified.
|
staticgetset |
Default tolerance on norm of the function gradient in the solution.
Must be a positive value or less than 0 if this tolerance is not specified.
|
getset |
Level of console output for nonlinear equation solvers.
Output level defines to which extent operation of the solver is logged to the console.
Should be greater or equal to 0, 0 means no output is generated on the application's console.
Default value is specified by the EquationSolverBase.DefaultOutputLevel property.
Referenced by NumLib.MinimizerLbfgs.InitializeIteration(), NumLib.MinimizerLbfgs.Minimize(), NumLib.MinimizerLbfgs.NextIteration(), and NumLib.ExampleAlgLib2008.OptimizeQuadraticWithObject().
|
getset |
Maximal number of iterations.
Must be greater or equal to 1.
Default value is defined by the EquationSolverBase.DefaultMaxIterations property.
|
getset |
Tolerance on absolute error of function value of the function in solution.
Must be a positive value or less than 0 if this tolerance is not specified.
Default value is defined by the EquationSolverBase.DefaultToleranceFunctionValue property.
Referenced by NumLib.MinimizerLbfgs.InitializeIteration(), and NumLib.MinimizerLbfgs.MinimizerLbfgs().
|
getset |
Tolerance on norm of error in parameters in solution.
Must be a positive value or less than 0 if this tolerance is not specified.
Default value is defined by the EquationSolverBase.DefaultToleranceParameterNorm property.
Referenced by NumLib.MinimizerLbfgs.InitializeIteration(), and NumLib.MinimizerLbfgs.MinimizerLbfgs().
|
getset |
Tolerance on absolute error of function value of the function in solution.
Must be a positive value or less than 0 if this tolerance is not specified.
Default value is defined by the EquationSolverBase.DefaultToleranceGradientNorm property.
Referenced by NumLib.MinimizerLbfgs.InitializeIteration(), and NumLib.MinimizerLbfgs.MinimizerLbfgs().
|
getset |
Function to be minimized.
Referenced by NumLib.MinimizerLbfgs.Minimize(), NumLib.MinimizerLbfgs.MinimizerLbfgs(), and NumLib.MinimizerLbfgs.NextIteration().
|
getset |
Initial guess.
Referenced by NumLib.MinimizerLbfgs.InitializeIteration(), and NumLib.MinimizerLbfgs.MinimizerLbfgs().
|
getprotected set |
Number of parameters.
Referenced by NumLib.MinimizerLbfgs.InitializeIteration(), and NumLib.MinimizerLbfgs.Minimize().
|
getset |
Current guess.
|
getset |
Current function value.
|
getset |
Current function gradient.
|
getset |
Solution of the prioblem - parameter values in minimum.
Referenced by NumLib.MinimizerLbfgs.Minimize().
|
getset |
Function value in solution.
Referenced by NumLib.MinimizerLbfgs.Minimize().
|
getset |
Function gradient in solution.
Referenced by NumLib.MinimizerLbfgs.Minimize().
|
getprotected set |
Current iteration number.
Referenced by NumLib.MinimizerLbfgs.Minimize(), and NumLib.MinimizerLbfgs.NextIteration().
|
getprotected set |
Number of function evaluations performed up to now (usually within the single minimization procedure).
|
get |
Returna a flag telling whether convergence criteria are met.
Referenced by NumLib.MinimizerLbfgs.Minimize().