The example on http://www.dynare.org/DynareWiki/OptimalPolicy seems to work. However, it is not obvious from what the policymaker's discount factor is. It is not defined and the welfare seems to be defined as one-period welfare.
Can anyone clarify:
(a) is welfare on-period in that example? If not, what is the policymaker's discount factor there? How to change it if needed?
(b) If yes, can we do the "standard" discounted welfare? What is the syntax?
Also, the note there says that "Ramsey" should work with non-quadratic (flow) utilities like log(C). Is this true? Has anyone tried? Is there any example available? The example is linear, can it work with non-linear model? Again, does anyone know an example?
Many thanks