Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

statusCodes

View a description the nloptr status codes


Description

Prints a description of the status codes from the nloptr optimization routine.

Usage

statusCodes()

Details

Code Description
1 Generic success return value.
2 Optimization stopped because stopval was reached.
3 Optimization stopped because ftol_rel or ftol_abs was reached.
4 Optimization stopped because xtol_rel or xtol_abs was reached.
5 Optimization stopped because maxeval was reached.
6 Optimization stopped because maxtime was reached.
-1 Generic failure code.
-2 Invalid arguments (e.g. lower bounds are bigger than upper bounds,
an unknown algorithm was specified, etc.).
-3 Ran out of memory.
-4 Halted because roundoff errors limited progress (in this case, the optimization still typically returns a useful result.).
-5 Halted because of a forced termination: the user called nlopt_force_stop(opt) on the optimization's nlopt_opt object opt the user's objective function or constraints.

Value

No return value; prints a summary of the nloptr status codes to the console.

Examples

statusCodes()

logitr

Logit Models w/Preference & WTP Space Utility Parameterizations

v0.1.0
MIT + file LICENSE
Authors
John Helveston [aut, cre, cph] (<https://orcid.org/0000-0002-2657-9191>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.