Inequality constraints

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Inequality constraints

Postby tycons » Thu Jul 06, 2006 5:20 pm

Dear all,

I need a help to handle inequality constraints (like x(t)<=1) in Dynare. I was thinking of adding Lagrange multipliers (lamda(t)) and then apply the usual khun-Tucker condition ((1-x(t))*lamda(t)=0) but still I have to make sure that the multiplier lamda(t) is positive for all t. How do I manage this?

Thanks!
tycons
 
Posts: 4
Joined: Thu Jul 06, 2006 5:11 pm

Postby OndraKamenik » Fri Jul 07, 2006 10:08 am

You cannot.

What about to penalize utility or profits of agents if the economy breaks the constraint?

Ondra K.
OndraKamenik
 
Posts: 73
Joined: Mon Dec 20, 2004 8:32 am

Postby tycons » Fri Jul 07, 2006 11:05 am

Thanks for your answer!

Do you have an idea of how to introduce (automatically) those penalties when writing down the model in the *.mod file for dynare?

Hope that you can help still.
tycons
 
Posts: 4
Joined: Thu Jul 06, 2006 5:11 pm

Postby OndraKamenik » Fri Jul 07, 2006 11:29 am

You cannot do that automatically. Severity, shape and location of these penalties is your choice.

Ondra K.
OndraKamenik
 
Posts: 73
Joined: Mon Dec 20, 2004 8:32 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 10 guests