Skip to content
Prev 324656 / 398503 Next

Error code from optim - "NEW_X" what does it mean?

Hello.

Does anyone know what the error code "NEW_X" means in optim? Here is what the return looks like:

		$counts
		function gradient
			 302      302

		$convergence
		[1] 1

		$message
		[1] "NEW_X"

I have searched and found a couple of mentions without responses:

<https://stat.ethz.ch/pipermail/r-help/2011-September/290722.html>   September 2011
<https://stat.ethz.ch/pipermail/r-devel/2013-May/066731.html>        Full disclosure, this is my (unanswered) question on R-devel


I can only find one instance of the call in `optim.c` and I don't understand what it is doing.

Thank you,

Avraham Adler