Skip to main content

Upper envelope scan for dynamic discrete-continuous life cycle models.

Project description

Upper Envelope Package

License

PyPI version Downloads

Continuous Integration Workflow Codecov Black

This package collects several HPC implementations of upper-envelopes used to correct the value and policy functions in discrete-continuous dynamic programming problems.

The following implementations are available:

  • Extension of the Fast Upper-Envelope Scan (FUES) for solving discrete-continuous dynamic programming problems based on Dobrescu & Shanker (2022). Both jax and numba versions are available. We provide the original version without endogenous jump detection.

  • Line segment interpolation and selection of the upper envelope based on Druedahl & Jorgensen (2017). Both jax and numba versions are available.

  • Also contained for test reasons is the original upper-envelope implementation from Iskhakov et al. (2017). It is not optimized and can not yet be imported when installing the package.

References

  1. Dobrescu & Shanker (2022). Fast Upper-Envelope Scan for Discrete-Continuous Dynamic Programming.

  2. Druedahl & Jørgensen (2017). A general endogenous grid method for multi-dimensional models with non-convexities and constraints. Journal of Economic Dynamics and Control

  3. Iskhakov, Jørgensen, Rust, & Schjerning (2017). The Endogenous Grid Method for Discrete-Continuous Dynamic Choice Models with (or without) Taste Shocks. Quantitative Economics

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upper_envelope-0.1.4.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

upper_envelope-0.1.4-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file upper_envelope-0.1.4.tar.gz.

File metadata

  • Download URL: upper_envelope-0.1.4.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for upper_envelope-0.1.4.tar.gz
Algorithm Hash digest
SHA256 01be7a9183b66dd4cfa621f3caf2d74f463a12b7c136133a96fc2bec456b0cd2
MD5 ed18528acf958c82919beb20aca0689c
BLAKE2b-256 2c79f7833c9729facbcc99e975074b4f110cdf630ada7590a02eef118d576ded

See more details on using hashes here.

File details

Details for the file upper_envelope-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: upper_envelope-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for upper_envelope-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2b6fda040cc0d489f6304fc46f3627a741c36c3315d3c7aa13a9ab675d972b75
MD5 ac4e0f672149ac27b089f04ec255954a
BLAKE2b-256 6b7b6fe3a29622526d7b347803fb0dc6061fcd29c4310af6ad877d0ae4089e91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page