Skip to content
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

Added implementation of non cartesian grids. #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

albop
Copy link
Member

@albop albop commented Dec 29, 2019

For discussion: @llorracc-git , @sbenthall . We discussed over skype the need to have nonregular grids. I started to implement two approaches:

  • using multilinear interpolation on cartesian products of strictly increasing sets of points
  • using warp functions mapping a regular grid to a nonregular grid.
    I documented a bit what I did here: https://github.com/EconForge/dolark/blob/albop/new_grids/experiments/new_grids_discussion.ipynb
    From these small experiments, I'm half convinced that warp functions are useless even though they are very simple to implement.
    Note that most of the code is in dolo_improvements.py files. It will ultimately replace the decision rule code in dolo but for now, it is not used anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant