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.ExtensionMethodsAssembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax public static double[] ComputeMin2(
this Simplex simplexsolver,
SimplexExtenderObjectiveFunction objfunc,
OptBoundVariable[] Var
)
<ExtensionAttribute>
Public Shared Function ComputeMin2 (
simplexsolver As Simplex,
objfunc As SimplexExtenderObjectiveFunction,
Var As OptBoundVariable()
) As Double()
Request Example
View SourceParameters
- simplexsolver Simplex
- simplex solver instance
- objfunc SimplexExtenderObjectiveFunction
- objective function delegate
- Var OptBoundVariable
- optimization variables
Return Value
Doublethe 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