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.6.0.tar.gz (19.0 kB view hashes)

Uploaded Source

Built Distribution

hj_reachability-0.6.0-py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 3

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