-
-
Notifications
You must be signed in to change notification settings - Fork 199
Towards 2.0
Sebastian Benthall edited this page Feb 3, 2020
·
10 revisions
HARK currently scaffolds the modeling and solving of two kinds of problems:
- Bellman equations of continuous MDP models
- In the implementation of the solutions to these problems, HARK generally uses policy iteration, a dynamic programming algorithm.
- Bellman equations for rational expectation equilibrium MMDP models
Currently, there is no class in HARK that represents the Bellman equation form of a model generically, and the solution code for this form. Rather, each subclass of AgentType implements the policy iteration algorithm anew.
Dolo provides methods for:
- Reading a
.yaml
file specified according todolang
, and compiling it into adolo.compiler.model.Model
class. - A variety of algorithms, in
dolo.algos
, which can operate on the models and find solutions/generate results. These include:- Value iteration
- Stochastic simulations
dolark is envisioned as a toolkit that uses the machinery of dolo, but expanded to use rational expectation equilibrium MMDP's.
In the future, HARK can import dolo. The HARK interface can be an alternative way of writing dolo.compiler.model.Model
instances (and subclasses of them).
This way, HARK can take advantage of more generic model and solution code while being backwards compatible for REMARKs and pedagogical materials.