|
BaseOptimizationMethodMaximize Method (Double)
|
Finds the maximum 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 Maximize(
double[] values
)
Public Function Maximize (
values As Double()
) As Boolean
Request Example
View SourceParameters
- values
- Type: SystemDouble
The initial solution vector to start the search.
Return Value
Type:
BooleanReturns
true if the method converged to a
Solution.
In this case, the found value will also be available at the
Value
property.
See Also