Performs a global optimization of required parameters It will return an object containing:
minFunctionValue
: The minimum value found for the objetive functionoptima
: Array of Array of values for all the variables where the function reach its minimum valueiterations
: Number of iterations performed in the processfinalState
: Internal state allowing to continue optimization (initialState)(function)
Function to evaluate. It should accept an array of variables
(Array)
Array containing for each variable the lower boundary
(Array)
Array containing for each variable the higher boundary
(Object
= {}
)
Name | Description |
---|---|
options.iterations number?
|
Number of iterations. |
options.epsilon number?
|
Tolerance to choose best current value. |
options.tolerance number?
|
Minimum tollerance of the function. |
options.tolerance2 number?
|
Minimum tollerance of the function. |
options.initialState Object
(default {}} )
|
finalState of previous optimization. |
Object
:
{finalState, iterations, minFunctionValue}