-
-
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
Document consumer solution sequence #223
Comments
If by "the endogenous grids generated during the solution", you mean the normalized market resources (mNrm) and consumption (cNrm) values used to construct the consumption function, these can be more easily accessed as But in general, yes: The solution code is a bit of a maze, and there is no "map" that explains the structure of the methods, and which methods are overwritten by which child models. This is something I'm going to work on this semester. Eventually, there's going to be a complete overhaul / redo of the various solvers to give them better structure. |
Thanks - helpful to know the grids are returned as part of the consumption function. Good to hear there are plans for mapping/eventual overhauling, as well. |
I guess there could be a sort of "How we solve a period" DemARK of the relevant steps. I was actually taking notes to do such a DemARK, because I've been touching more and more of the existing code and internals. However, if many things stand to change soon, this might be premature and a waste of time. After an overhaul, such a DemARK would be an excellent resource for newcomers who want to contribute to HARK, I think. |
MNW will pull in Tiphanie's notebooks and add missing sections, once that's merged into our Demarks repo, we can close this issue. |
The HowWeSolve notebook is now in Closing |
Recently, while familiarizing myself with HARK, I found it challenging to excavate the sequence of function calls which solves one period of a consumer’s problem in ConsIndShockModel. In my particular case, I wanted to access the endogenous grids generated during the solution, which all told required the following steps:
I have my bearings now, but it could help future contributors become acclimatized if there were documentation/example code which maps out the procedure for solving the single period problem.
The text was updated successfully, but these errors were encountered: