Re: [R] Very slow optim()

2021-03-13 Thread J C Nash
As per my post on this, it is important to distinguish between "CG" as a general approach and optim::CG. The latter -- my algorithm 22 from Compact Numerical Methods for Computers in 1979 -- never worked terribly well. But Rcgmin and Rtnmin from optimx often (but not always) perform quite well. Th

Re: [R] Very slow optim()

2021-03-13 Thread Deepayan Sarkar
On Sat, Mar 13, 2021 at 4:33 PM Spencer Graves wrote: > > Hi, Deepayan: > > > On 2021-03-13 01:27, Deepayan Sarkar wrote: > > On Sat, Mar 13, 2021 at 10:08 AM Spencer Graves > > wrote: > >> > >> TWO COMMENTS: > >> > >> > >> 1. DID YOU ASSIGN THE OUTPUT OF "optim" to an object, like "est <- > >>

Re: [R] Very slow optim()

2021-03-13 Thread Spencer Graves
Hi, Deepayan: On 2021-03-13 01:27, Deepayan Sarkar wrote: On Sat, Mar 13, 2021 at 10:08 AM Spencer Graves wrote: TWO COMMENTS: 1. DID YOU ASSIGN THE OUTPUT OF "optim" to an object, like "est <- optim(...)"? If yes and if "optim" terminated normally, the 60,000+ paramters should be there