Click or drag to resize

NelderMead Class

Nelder-Mead simplex minimization method.
Inheritance Hierarchy

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

The NelderMead type exposes the following members.

Constructors
 NameDescription
Public methodNelderMead(FuncVectorDouble, Double)Initializes a new instance of the simplex method using the specified cost function.
Public methodNelderMead(ICostFunction)Initializes a new instance of the simplex method.
Public methodNelderMead(ICostFunction, EndCriteria)Initializes a new instance of the simplex method.
Top
Properties
 NameDescription
Public propertyChiGets or sets the coefficient of expansion (chi).
Public propertyInitialValueGets the initial value.
(Inherited from FunctionMinimizeMethod)
Public propertyInitialVectorGets the initial vector.
(Inherited from FunctionMinimizeMethod)
Public propertyIterationGradientNormsGets the gradient norms for all iterations.
(Inherited from FunctionMinimizeMethod)
Public propertyIterationValuesGets the solution function values for all iterations.
(Inherited from FunctionMinimizeMethod)
Public propertyIterationVectorsGets the solution vectors for all iterations.
(Inherited from FunctionMinimizeMethod)
Public propertyLastStepGets the type of step taken in the last iteration.
Public propertyMethodNameGets the method name.
(Overrides OptimizationMethodMethodName)
Public propertyPsiGets or sets the coefficient of contraction (psi).
Public propertyRhoGets or sets the coefficient of reflection (rho).
Public propertySigmaGets or sets the coefficient of shrinkage (sigma).
Public propertySimplexGets the current iteration simplex.
Public propertySimplexDeltaGets or sets the delta used to generate the initial simplex for non-zero value elements.
Public propertySimplexZeroDeltaGets or sets the delta used to generate the initial simplex for zero value elements.
Public propertySolutionValueGets the value of the solution vector.
(Inherited from FunctionMinimizeMethod)
Public propertySolutionVectorGets the solution vector (the current best estimate of the minimum).
(Inherited from FunctionMinimizeMethod)
Top
Methods
 NameDescription
Protected methodCheckCriteriaChecks whether the criteria are 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 Performs an evaluation of the 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 Performs an evaluation of the cost function gradient.
(Inherited from OptimizationMethod)
Protected methodHessianEvaluation Performs an evaluation of the cost function Hessian.
(Inherited from OptimizationMethod)
Public methodInitializeMethod(VectorDouble)Initializes the optimization method.
(Overrides FunctionMinimizeMethodInitializeMethod(VectorDouble))
Public methodInitializeMethod(VectorDouble)Initializes the optimization method.
Public methodIterateMethodPerforms a single iteration of the optimization method.
(Overrides FunctionMinimizeMethodIterateMethod)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMinimize(VectorDouble)Minimizes the given cost function.
(Overrides FunctionMinimizeMethodMinimize(VectorDouble))
Public methodMinimize(VectorDouble)Minimizes the given cost function starting from an initial simplex.
Public methodMinimize(VectorDouble, CancellationToken, ActionDouble)Minimizes the given cost function with cancellation support and progress reporting.
Public methodMinimize(VectorDouble, CancellationToken, ActionDouble)Minimizes the given cost function starting from an initial simplex.
Public methodMinimize(VectorDouble, Double, Double, Double, Double)Minimizes the given cost function using explicit simplex coefficients.
Public methodToStringReturns a string that represents the current object.
(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 criteria.
(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 for Altaxo (c) 2005 Dr. Dirk Lellinger.

See Also