I am trying to compute the optimal policy under discretion for the SW model and I get this error:
Error using print_info (line 117)
Discretionary policy: NaN elements are present in the solution. Procedure failed.
I just get this error if I introduce in the objective function the variable yf. Nevertheless, for the same model, the optimal policy under commitment allows me to consider yf.
Thank you in advanceusmodel.mod (5.3 KB)