Simplex ExtenderCompute Min 2 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
Definition
Namespace: DWSIM.ExtensionMethods
Assembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 10.0.0.0
the values of the variables that minimize the objective function value
Assembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 10.0.0.0
C#
public static double[] ComputeMin2(
this Simplex simplexsolver,
SimplexExtenderObjectiveFunction objfunc,
OptBoundVariable[] Var
)VB
<ExtensionAttribute>
Public Shared Function ComputeMin2 (
simplexsolver As Simplex,
objfunc As SimplexExtenderObjectiveFunction,
Var As OptBoundVariable()
) As Double()Parameters
- 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