I was wondering if I can ask you a question regarding how to impose ramsey_constraints. I know someone has asked a similar question on Dyanre forum before. However, by reading the old post I still cannot solve the problem I have.
I have a standard neoclassical model with endogenous labor supply and variable capital utilisation. Ramsey policy maker has three distortionary taxes: consumption, labor and capital income taxes. I would like to impose labor income tax to be nonnegative in both steady-state and dynamics. Therefore, I used ramsey_constraints as follows
However, the restriction on the labor income tax is not imposed. Reading from your early post, this constraint only works with perfect foresight solver. Should I also need to change solve_algo=1 and stack_solve_algo=0 in the steady and simul, which are currently set as follows,
Thanks for your reply and the example code attached. However, can I ask that does “ramsey_constraints” work to restraint policy instrument at the steady-state?
Furthermore, I have followed the example code and rewrote mine. However, it still does not seem to work. The perfect foresight solver took a long time and returned the following results.
I attached my revised code here. The model I am working with is very standard textbook neoclassical model. Using stack_solve_algo=0, the perfect foresight solution can be found very quickly.
However, when I switch to stack_solve_algo = 7, it returns the above message. Therefore, I am very surprised that such a standard model cannot be solved with perfect foresight solver.
Can you please have a look? I am very appreciated for your help.