[R] samin and vmmin
ripley@stats.ox.ac.uk
ripley at stats.ox.ac.uk
Mon Mar 3 09:09:04 CET 2003
nnet in bundle VR.
On Sun, 2 Mar 2003, Susan Shortreed wrote:
> I am writing code in C and would like to call R's functions samin and
> vmmin (optimization routines: simulated annealing and BFGS)
>
> I do not understand how to create and pass in the function (as well as the
> extra arguments it needs) I am optimizing.
> I have read the R Extensions manual but it is still unclear to me.
>
> Could you give me some pointers and/or direct me to some example code
> which calls one of the optimizer functions and includes the definition of
> the function to be optimized?
--
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
More information about the R-help
mailing list