mindis / ml-adp

Pytorch-Native Approximate Dynamic Programming for Finite-Horizon Discrete-Time Stochastic Optimal Control Problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ml-adp

ml_adp is a Python package embedding into the Pytorch neural network and optimization framework and serves the numerical solution of Markovian discrete-time finite-horizon stochastic optimal control problems. It exports a list-like interface to the central functional components of such optimal control problems, allowing for concise implementations of numerical methods that rely on the approximate satisfaction of the discrete-time Bellman equations (Approximate Dynamic Programming; ADP).

Installation

Get Python ~= 3.7 and pip-install the repo to your environment env. For example:

(env) ➜ pip install git+https://github.com/rwlmu/ml-adp

To use ml_adp in Jupyter notebooks install the IPython kernel dependencies to the environment and create the kernel from within the environment

(env) ➜ pip install "ml_adp[jupyter]"
(env) ➜ python -m ipykernel install --name kernelname

Now, select the kernel kernelname in your Jupyter application instance.

Documentation

Documentation is available here.

About

Pytorch-Native Approximate Dynamic Programming for Finite-Horizon Discrete-Time Stochastic Optimal Control Problems

License:MIT License


Languages

Language:Python 100.0%