Re: [Rd] R-devel Digest, Vol 112, Issue 8

From: John C Nash <>
Date: Sat, 09 Jun 2012 14:44:23 -0400

I'll not be able to comment on the use of C like this, but will warn that I wrote the routines that became Nelder-Mead, CG, and BFGS in optim() in the mid 1970s. CG never did as well as I would like, but the other two routines turned out pretty well. However, in nearly 40 years, there are a few improvements, particularly in handling bounds and masks (fixed parameters). For all-R routines see Rcgmin and Rvmmin. Rather than directly use the optim() routines in C, you may want to use some more modern ones, but the choice may be dependent on your problem.


On 06/09/2012 06:00 AM, wrote:
> Message: 2
> Date: Fri, 8 Jun 2012 09:40:17 -0400
> From: Edward Worbis <>
> To:
> Subject: [Rd] Working with optim in C
> Message-ID:
> <>
> Content-Type: text/plain
> I've searched to find examples of how to work with the C versions of
> optim.
> I've separated out the function just to test on it alone, and currently I'm
> attempting to use fmmin as follows:
> !~~CODE ~~! mailing list Received on Sat 09 Jun 2012 - 18:59:00 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Sun 10 Jun 2012 - 01:52:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive