Skip to main content

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

Metadata

Release files for upper-envelope 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upper-envelope 0.1.4
File Size Uploaded
upper_envelope-0.1.4.tar.gz 25.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for upper-envelope 0.1.4
File Interpreter ABI Platform
upper_envelope-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 57.5 kB

Release files / upper_envelope-0.1.4.tar.gz

Download URL upper_envelope-0.1.4.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
01be7a9183b66dd4cfa621f3caf2d74f463a12b7c136133a96fc2bec456b0cd2
BLAKE2b-256 checksum
How to use checksums
2c79f7833c9729facbcc99e975074b4f110cdf630ada7590a02eef118d576ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Release files / upper_envelope-0.1.4-py3-none-any.whl

Download URL upper_envelope-0.1.4-py3-none-any.whl
Size 32.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b6fda040cc0d489f6304fc46f3627a741c36c3315d3c7aa13a9ab675d972b75
BLAKE2b-256 checksum
How to use checksums
6b7b6fe3a29622526d7b347803fb0dc6061fcd29c4310af6ad877d0ae4089e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page