Hi -- I am using the -optimize()- utility in -mata-, and, there, you have to specify the function used to evaluate f(p). Specifically, you name this function as the second argument in -optimize_init_evaluator()-. My question is this: Is there anyway to "clear" that function. After optimizing once, I wanted to change the function, but -mata- would not let me redefine the function because it was currently in use. So, I wanted to clear it out of the -optimize()- platform. Any ideas? -- P
p.s. I ended up just defining a new function and declaring that in a new call to -optimize_init_evaluator()-, but seems rather inelegant.
p.s. I ended up just defining a new function and declaring that in a new call to -optimize_init_evaluator()-, but seems rather inelegant.
Comment