Click or drag to resize

SimplexExtenderComputeMin2 Method

Simplified implementation of Nelder-Mead-Simplex-Downhill algorithm. No "Reduction" and no "Expansion" implemented yet. https://en.wikipedia.org/wiki/Nelder%E2%80%93Mead_method

Namespace: DWSIM.ExtensionMethods
Assembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax
public static double[] ComputeMin2(
	this Simplex simplexsolver,
	SimplexExtenderObjectiveFunction objfunc,
	OptBoundVariable[] Var
)
Request Example View Source

Parameters

simplexsolver  Simplex
simplex solver instance
objfunc  SimplexExtenderObjectiveFunction
objective function delegate
Var  OptBoundVariable
optimization variables

Return Value

Double
the values of the variables that minimize the objective function value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Simplex. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also