Click or drag to resize

ConjugateGradient Class

Nonlinear Preconditioned Conjugate Gradient Method
Inheritance Hierarchy

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ConjugateGradient : FunctionMinimizeMethod

The ConjugateGradient type exposes the following members.

Constructors
 NameDescription
Public methodConjugateGradient(CostFunction)Constructor for Conjugate Gradient Method. The constructor specifies the costfunction and optionally user specified ending criteria and line search methods.
Public methodConjugateGradient(CostFunction, EndCriteria)Constructor for Conjugate Gradient Method. The constructor specifies the costfunction and optionally user specified ending criteria and line search methods.
Public methodConjugateGradient(CostFunction, EndCriteria, LineSearchMethod)Constructor for Conjugate Gradient Method. The constructor specifies the costfunction and optionally user specified ending criteria and line search methods.
Top
Properties
 NameDescription
Public propertyInitialValue Get initial value
(Inherited from FunctionMinimizeMethod)
Public propertyInitialVector Get initial vector
(Inherited from FunctionMinimizeMethod)
Public propertyIterationGradientNorms Get gradient norms for all iterations
(Inherited from FunctionMinimizeMethod)
Public propertyIterationValues Get solution function values for all iterations
(Inherited from FunctionMinimizeMethod)
Public propertyIterationVectors Get solution vectors for all iterations
(Inherited from FunctionMinimizeMethod)
Public propertyMethodName Method Name
(Overrides OptimizationMethodMethodName)
Public propertyRestartCountNumber of iterations between restarts. Must be a non-negative number. If 0 is specified then the number of iterations between restart is the number of variables
Public propertySolutionValue Get value of minimum vector
(Inherited from FunctionMinimizeMethod)
Public propertySolutionVector Get minimum vector
(Inherited from FunctionMinimizeMethod)
Top
Methods
 NameDescription
Protected methodCheckCriteria Function to check that criteria is still satisfied
(Inherited from FunctionMinimizeMethod)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodFunctionEvaluation Perform an evaluation of Cost Function value
(Inherited from OptimizationMethod)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGradientEvaluation Perform an evaluation of Cost Function gradient
(Inherited from OptimizationMethod)
Protected methodHessianEvaluation Perform an evaluation of Cost Function hessian
(Inherited from OptimizationMethod)
Public methodInitializeMethod Initialize the optimization method
(Overrides FunctionMinimizeMethodInitializeMethod(VectorDouble))
Public methodIterateMethod Perform a single iteration of the optimization method
(Overrides FunctionMinimizeMethodIterateMethod)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMinimize Minimize the given cost function
(Inherited from FunctionMinimizeMethod)
Public methodToStringA string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Public methodToString(IFormatProvider)A string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Public methodToString(String)A string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Public methodToString(String, IFormatProvider)A string representation of this OptimizationMethod.
(Inherited from OptimizationMethod)
Top
Fields
 NameDescription
Public fieldcostFunction_ Optimization Cost Function
(Inherited from OptimizationMethod)
Public fieldendCriteria_ Optimization ending critera
(Inherited from OptimizationMethod)
Protected fielditerationGradientNorms_ Iteration Gradient Norms
(Inherited from FunctionMinimizeMethod)
Protected fielditerationValues_ Iteration Values
(Inherited from FunctionMinimizeMethod)
Protected fielditerationVectors_ Iteration Solutions
(Inherited from FunctionMinimizeMethod)
Top
Remarks

Copyright (c) 2003-2004, dnAnalytics Project. All rights reserved. See http://www.dnAnalytics.net for details.

Adopted to Altaxo (c) 2005 Dr. Dirk Lellinger.

See Also