@@ -97,6 +104,7 @@ In addition, if the argument `grad` is not `NULL`, then `grad` points to an arra
The `f_data` argument is the same as the one passed to `nlopt_set_min_objective` or `nlopt_set_max_objective`, and may be used to pass any additional data through to the function. (That is, it may be a pointer to some caller-defined data structure/type containing information your function needs, which you convert from `void*` by a typecast.)
Bound constraints
-----------------
...
...
@@ -399,6 +407,15 @@ NLOPT_FORCED_STOP` `=` `-5
Halted because of a [forced termination](#Forced_termination.md): the user called `nlopt_force_stop(opt)` on the optimization’s `nlopt_opt` object `opt` from the user’s objective function or constraints.
You can match a particular result code to its string identifier by calling: