Hi,
I am trying to solve for the optimal discretionary monetary policy using a microfounded welfare function. The objective function is
I can use this for the optimal Ramsey policy, but when solving for the optimal discretionary policy, dynare tells me “discretionary_policy: the objective function must have zero first order derivatives.”
Is it possible to just use auxiliary variables to fix this? (i.e. use \tilde{c}_t = c_t - \frac{1}{\sigma} and \tilde{\ell}_t = \ell_t + \frac{1}{\psi} so that the objective function is - \frac{\sigma}{2}C^{1-\sigma}\tilde{c}_t^2 - \frac{\psi}{2}L^{1+\psi}\tilde{\ell}_t^2 )
Thank you.