Subplex Class 
Namespace: Accord.Math.Optimization
public class Subplex : BaseOptimizationMethod, IOptimizationMethod<NelderMeadStatus>, IOptimizationMethod, IOptimizationMethod<double[], double>, IOptimizationMethod<double[], double, NelderMeadStatus>
The Subplex type exposes the following members.
Name  Description  

Subplex(Int32) 
Creates a new Subplex optimization algorithm.
 
Subplex(NonlinearObjectiveFunction) 
Creates a new Subplex optimization algorithm.
 
Subplex(Int32, FuncDouble, Double) 
Creates a new Subplex optimization algorithm.

Name  Description  

Convergence 
Gets or sets multiple convergence options to
determine when the optimization can terminate.
 
Function 
Gets or sets the function to be optimized.
(Inherited from BaseOptimizationMethod.)  
LowerBounds 
Gets the lower bounds that should be respected in this
optimization problem. Default is to initialize this vector
with NegativeInfinity.
 
MaximumValue 
Gets or sets the maximum value that the objective
function could produce before the algorithm could
be terminated as if the solution was good enough.
 
NumberOfVariables 
Gets the number of variables (free parameters)
in the optimization problem.
(Inherited from BaseOptimizationMethod.)  
Solution 
Gets the current solution found, the values of
the parameters which optimizes the function.
(Inherited from BaseOptimizationMethod.)  
Status  
StepSize 
Gets the step sizes to be used by the optimization
algorithm. Default is to initialize each with 1e5.
 
Token 
Gets or sets a cancellation token that can be used to
stop the learning algorithm while it is running.
(Inherited from BaseOptimizationMethod.)  
UpperBounds 
Gets the upper bounds that should be respected in this
optimization problem. Default is to initialize this vector
with PositiveInfinity.
 
Value 
Gets the output of the function at the current Solution.
(Inherited from BaseOptimizationMethod.) 
Name  Description  

Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
Maximize 
Finds the maximum value of a function. The solution vector
will be made available at the Solution property.
(Inherited from BaseOptimizationMethod.)  
Maximize(Double) 
Finds the maximum value of a function. The solution vector
will be made available at the Solution property.
(Inherited from BaseOptimizationMethod.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
Minimize 
Finds the minimum value of a function. The solution vector
will be made available at the Solution property.
(Inherited from BaseOptimizationMethod.)  
Minimize(Double) 
Finds the minimum value of a function. The solution vector
will be made available at the Solution property.
(Inherited from BaseOptimizationMethod.)  
OnNumberOfVariablesChanged 
Called when the NumberOfVariables property has changed.
(Inherited from BaseOptimizationMethod.)  
Optimize 
Implements the actual optimization algorithm. This
method should try to minimize the objective function.
(Overrides BaseOptimizationMethodOptimize.)  
ToString  Returns a string that represents the current object. (Inherited from Object.) 
Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
IsEqual 
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.)  
To(Type)  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) 
The source code presented in this file has been adapted from the Sbplx method (based on NelderMead's Simplex) given in the NLopt Numerical Optimization Library, created by Steven G. Johnson.
References: