Skip to content

Very slow optim()

1 message · John C Nash

#
As I'm at least partly responsible for CG in optim, and packager of Rcgmin, I'll recommend
the latter based on experience since it was introduced. I've so far seen no example where
CG does better than Rcgmin, though I'm sure there are cases to be found.

However, Ben is right that if ADMB does so well (it uses effectively analytic
derivatives), then use it. Rcgmin really wants you to provide gradient code, and that is
work.

JN
On 07/14/2011 06:00 AM, r-help-request at r-project.org wrote: