Skip to content

output in optim

2 messages · Brigitta Voss, Brian Ripley

#
Dear all,

I would like to use 'optim' with method="L-BFGS-B". 
But I could not figure out, how to get the function value after any
iteration, like You get them using method="BFGS"?

Brigitta Voss
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 12 May 2000, Brigitta Voss wrote:

            
You mean as debugging trace?  That is set up differently for each of the
optimization methods, and not available for L-BFGS-B.

The best idea is to make your function print out the value each time it
is called.