Click or drag to resize
Accord.NET (logo)

BaseOptimizationMethodMinimize Method (Double)

Finds the minimum value of a function. The solution vector will be made available at the Solution property.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public bool Minimize(
	double[] values
)
Request Example View Source

Parameters

values
Type: SystemDouble
The initial solution vector to start the search.

Return Value

Type: Boolean
Returns true if the method converged to a Solution. In this case, the found value will also be available at the Value property.
See Also