-
Notifications
You must be signed in to change notification settings - Fork 5
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
Lucas 0 should use infinite horizon agents #186
Comments
A few elements to this:
|
At least for Lucas0 definition, since it's a trivial population setting cycles = 0 might increase the time of creating one solution, but there is only 1 solution to compute. So one solution might take longer, but overall it should probably take less time to compute the AgentPopulationSolution object. |
Let's do this locally in the pure python approach first. Then with advice from Gary and Bill write scripts that compute the solution and save them as a file. |
This creates a lot of issues with self.Rfree being a list instead of a float, will have to check if this is local bug or HARK bug |
For the simplest Lucas case, the agents are infinite horizon agents.
cycles=0
must be passed to thesolve
method.This can profoundly impact the run-time of our simulations, and is a good reason to break off the solution step into a subprocess that can be precomputed for equivalent ex ante populations before running ex post simulations.
This will probably require a core HARK improvement to allow for exported serialized solutions (AgentPopulation Solutions?)
The text was updated successfully, but these errors were encountered: