Page 1 of 1

Occasionally binding constr.

PostPosted: Thu Nov 15, 2012 1:47 pm
by alpha
Hi,

I would like to include an occasionally binding constraint to my model of the form:

d>=dbar,

where dbar is at least equal to zero (or larger).

Is this feasible in dynare? If not, could you please give me some hint on where to look for to solve this problem!!

Many, many thanks in advance!

Alpha

Re: Occasionally binding constr.

PostPosted: Thu Nov 15, 2012 2:04 pm
by alpha
...and one more thing:

When I write the constraint in the model block, should I write:

d-dbar=0;

or

mu*(d-dbar)=0, where mu is the lagrange multiplier assigned to the constraint?

Thanks again!

Re: Occasionally binding constr.

PostPosted: Mon Jan 07, 2013 5:29 pm
by jpfeifer
This is only possible under perfect foresight, i.e. using simul. Search the forum for examples.

Re: Occasionally binding constr.

PostPosted: Tue Jan 15, 2013 10:53 am
by SébastienVillemot
extended_path can also be used for that purpose.