Loss function objective

Greetings to all
I want to calculate the loss function but there is an error
please help me
Modelint_opt.mod (7.4 KB)

The calling sequence is wrong. Use e.g.
Modelint_opt.mod (7.4 KB)
Note that your discount factor does not work as the planner_discount. I set 0.99.

1 Like

Thank you very much sir for what you provide
But the value of the loss function does not appear

You did not call evaluate_planner_objective. You also need Dynare 5.0