Occbin does only work with linear models.
What I was suggesting is to solve the model without the constraint and save the solution from
oo_.endo_simul
. Then run
perfect_foresight_setup
with the constraint, load the previous results into
oo_.endo_simul
and then run
perfect_foresight_solver