-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PerfForesight: add constrained capability #104
Comments
Related, Sheng Guo at FIU tried to use PerfForesight to solve a cake-eating problem (endowment only, no income), but there is currently no way to do this. A while back we briefly discussed adding a boolean input for PerfForesightSolver that specifies whether income will be received next period. This would allow solution to perfect foresight models where income is only received in some periods, as well as cake-eating problems with no income at all. |
Clarification: You can't do a cake-eating problem with the perfect foresight model. I believe you can do it with ConsIndShock. |
AH that makes sense. Was going to suggest playing around with ConsIndShock
but question already answered.
|
One of my graduate students is tackling this for her project for my numeric methods class. |
The student has (more or less) completed the work for this. I will try to move it over and give her credit. |
This has been completed and ready to merge for a couple months; see #299 |
#299 is merged, closing this. |
As is, ConsPerfForesightSolver can't handle (and doesn't task as an input) an artificial borrowing constraint. Fixing this will require a complete rewrite of the solver, which currently only produces a linear cFunc with a single segment. Constrained solution will be piecewise linear, and I think we use information about next period's kink locations to find this period's.
Could be done in conjunction with fixing issue #75.
The text was updated successfully, but these errors were encountered: