I use the optimize() function with default method like below, to estimate some parameters.
optimize(nloglikT,g_tol = 1e-8, init, iterations=500, store_trace=true, show_trace=true, show_every=1)
It consumed accumulating memory as iteration goes up and memory eaten up quickly before it converges. I’m trying to figure out where the problem is. Is there any obvious mistake I’ve made?
Any comments and discussion would be appreciated!