nloptr provides an R interface to NLopt, a free/open-source library for nonlinear optimization providing a common interface to a number of different optimization routines which can handle nonlinear constraints and lower and upper bounds for the controls.
Is there any way to get the error code back from C/C++?
When running nloptr function R has been crashing for me and upon debugging it seems like the culprit is executing the C code
solution <- .Call(NLoptR_Optimize, ret)
I suspect it's out of memory or numerical overflow issue, but it'd be nice to know for sure
Is there any way to get the error code back from C/C++?
When running nloptr function R has been crashing for me and upon debugging it seems like the culprit is executing the C code
solution <- .Call(NLoptR_Optimize, ret)
I suspect it's out of memory or numerical overflow issue, but it'd be nice to know for sure