NloptSourceOCaml interface to the NLopt optimization library
Represent an algorithm, the parameter giving some properties of the algorithm.
A value containing the information about the optimization problem.
val optimize :
'a t ->
float array ->
[> `Success
| `Stopval_reached
| `Stopval_reached
| `Ftol_reached
| `Xtol_reached
| `Maxeval_reached
| `Maxtime_reached ]
* float array
* floatoptimize opt x performs the optimization using x as an initial guess (it must be of size get_dimension opt). Returns a triple (result, xopt, fopt) where xopt is the optimzed value and fopt is the function value at that optimum.
val string_of_result :
[< `Success
| `Stopval_reached
| `Stopval_reached
| `Ftol_reached
| `Xtol_reached
| `Maxeval_reached
| `Maxtime_reached ] ->
string