I would like to set up and solve a Ramsey optimal fiscal policy problem in Dynare. The way the authors in the area of research similar to mine do this involves choosing tax rates and other variables to maximise the expected lifetime discounted utility subject to a Present Value Implementability (PVIC) constraint and other constraints. This is the same sort of problem I would like to solve.
I was wondering whether this is something Dynare can do (and possibly a reference for this)? Also, is there a different way to set up such a problem in Dynare?