QuantEcon / QuantEcon/QuantEcon.py

Orthogonal collocation solver for two-point boundary value problems

Open
#127 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.4k
Forks
2.3k
Avg merge
3d 3h
Merged PRs (30d)
3

Description

@jstac @albop @spencerlyon2 @mmcky

I have implemented a generic solver that uses projection methods to solve systems of non-linear differential equations with boundary conditions.

Currently I have implemented collocation using orthogonal polynomials (typically Chebyshev) as basis functions. In near future (next week?) I will finish implementing a simple finite elements approach using B-splines as basis functions.

The orthogonal collocation solver is fast and accurate. But documentation is still lacking and I only have two (slightly messy) example notebooks that demonstrate how to use the solver: one for a Solow model and another for a Ramsey-Cass-Koopmans model. I am particularly keen to provide some microeconomic examples (perhaps auction models?) in addition to gathering more macro models (Romer growth model, search and match models, Tobin's q, credit-cycles, etc)

As always, feedback is much appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests, but mentions two existing example notebooks for Solow and Ramsey-Cass-Koopmans models. Start by reviewing those notebooks and the external bvp-solver project, then clarify whether the intended work is documentation, solver integration, or additional economic examples before defining what done means.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.