Evaluate_planner_objective in non-linear model

Hi

I am running a perfect foresight simulation over a ramsey_model. Given the deterministic nature of the model, I am solving it non-linearly.

Now, I wanted to use evaluate_planner_objective to find out what’s the welfare associated with the optimal policy. However this doesn’t seem to work.
Am I right in understanding that the problem is that evaluate_planner_objective doesn’t work for order>1? If so, there a way around this?

Unfortunately, the functionality of evaluate_planner_objective is currently very limited. Expanding it is on our Todo-list: