Dear All,
I am experiencing an issue computing Ramsey policy. When I run the mod file without activating the ramsey_policy command, there are zero residuals for all equations. But when I activate the command, some of the residual become 'NaN'. Although the code still runs through giving the value of the planner's objective, it doesn't seem like this should be the case.
Please find the mod file in the attached folder.
Many thanks in advance.