Re: [Rd] stats package, optim and other optimization methods: more parameters?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 14 Nov 2007 22:00:16 +0000 (GMT)

On Wed, 14 Nov 2007, Mike Preuss wrote:

> Dear R developers,
>
> concerning the stats package,
> is there a way to access more of the 'internal'
> parameters of the optim() methods (e.g. BFGS),
> without me rewriting optim code and using it as
> an internal, patched stats package? It may not
> sound useful to you, but for me it is important
> to be able to change the parameters as I want
> to apply parameter tuning methods. Currently,
> I'm doing so only on the very limited parameter
> set available via the control parameter, but
> e.g. for the CG and BFGS methods, this is practically
> empty. But there are internally set parameters
> (e.g. for the line searches), just they are not
> accessible from the outside.

Why don't you read the C code to find out?

You probably also need to read the reference to understand the choices made, and why the author didn't feel it useful to make them accessible.

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 14 Nov 2007 - 22:06:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 14 Nov 2007 - 23:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.