Discretionary optimal policy -- adding the ZLB?

Hi everyone,

I’m studying discretionary optimal policy in a model large enough that the first order conditions are too complicated to take by hand. Dynare has been very helpful, except I’d now like to add a ZLB, and I don’t think the discretionary policy options in Dynare were built to handle the case where optimization is subject to inequality constraints. Does anyone have any experience or examples adapting Dynare to accommodate those sorts of constraints?

Thanks for anything you’re able to share!


Unfortunately, the Dennis algorithm cannot handle this. In case of e.g. Gali I had to do this manually: