Skip to main content

Hamilton-Jacobi reachability analysis in JAX.

Project description

hj_reachability: Hamilton-Jacobi reachability analysis in JAX

This package implements numerical solvers for Hamilton-Jacobi (HJ) Partial Differential Equations (PDEs) which, in the context of optimal control, may be used to represent the continuous-time formulation of dynamic programming. Specifically, the focus of this package is on reachability analysis for zero-sum differential games modeled as Hamilton-Jacobi-Isaacs (HJI) PDEs, wherein an optimal controller and (optional) disturbance interact, and the set of reachable states at any time is represented as the zero sublevel set of a value function realized as the viscosity solution of the corresponding PDE.

This package is inspired by a number of related projects, including:

Installation

This package accommodates different JAX versions (i.e., CPU-only vs. JAX with GPU support); if accelerator support is desired you should first install JAX according to the relevant installation instructions. A minimum JAX version requirement is listed in requirements.txt, but in general this package should be compatible with the latest JAX releases (please file an issue if you find that this is no longer the case!).

If you only want CPU computation or have already installed JAX with your preferred accelerator support, you may install this package using pip:

pip install --upgrade hj-reachability

TODOs

Aside from the specific TODOs scattered throughout the codebase, a few general TODOs:

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

hj_reachability-0.7.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

hj_reachability-0.7.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file hj_reachability-0.7.0.tar.gz.

File metadata

  • Download URL: hj_reachability-0.7.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hj_reachability-0.7.0.tar.gz
Algorithm Hash digest
SHA256 f90d4aa25eba1fa661aa7a311ec4924274fa1a0074cbb57e1495202875d37335
MD5 4fb8de201bb81fe4f090fba30b73633a
BLAKE2b-256 c25dab3f2d9b3b78466af78af8855a297d04a18ddd07854d74c3a14e366cbd6d

See more details on using hashes here.

File details

Details for the file hj_reachability-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hj_reachability-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22a0bc69203037aafd7cbc40585bc023d9dab2b259d623fe5cd3f8ed5c8965b1
MD5 cfd6539a1f36726eb9816748c11e07a6
BLAKE2b-256 d2b176bf23b54a8846822572f8b97a488b77b0fea06def1277c118a52026c6d4

See more details on using hashes here.

Supported by

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