Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.4.05.10005121018590.12929-100000@auk.stats>
Date: 2000-05-12T09:21:35Z
From: Brian Ripley
Subject: output in optim
In-Reply-To: <391BC4A7.A9833FE3@statistik.uni-dortmund.de>

On Fri, 12 May 2000, Brigitta Voss wrote:

> 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"?

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.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._