Skip to main content

Package with tools for Resource-constrained Markov Decision Processes

Project description

FiMDP - Fuel in Markov Decision Processes

Python Package with Algorithms for Controller Synthesis in Resource-constrained Markov Decision Processes

Documentation Status Binder Build Status

FiMDP is a Python package for analysis and controller synthesis of Consumption Markov Decision Processes (ConsMDPs) — MDPs with resource constraints. The model of ConsMDPs and the basic algorithms implemented in FiMDP are described in our paper presented at CAV2020 [1].

Our related project called FiMDPEnv is a set of environments that work with FiMDP and can create animations like this one.

Multiple agents following energy-aware policy in grid-world.
Multiple agents following energy-aware policies in UUVEnv from FiMDPEnv.

Installation

FiMDP can be installed using pip from PyPI

pip install -U fimdp

While the baseline package has minimal dependencies, FiMDP depends on several other tools for extended functionality. Some of the recommended dependencies are:

  • Graphviz: for visualizations in Jupyter notebooks,
  • Storm and Stormpy: for reading PRSIM, JANI, and Storm models,
  • Spot: for support of labeled ConsMDPs and specifications given as deterministic Büchi automata or the recurrence fragment of Linear-time Temporal Logic (LTL).

Usage and documentation (work in progress)

The directory tut contains several notebooks that explain how to use FiMDP. The notebook Basics.ipynb is a good starting point.

For a complete overview of the tool, installation options, source code documentation, and interactive examples refer to FiMDP readthedocs.

Evaluations

Notebooks evaluationg performance of FiMDP are stored in a separate repository FiMDP-Evaluation.

Contact

If you have any trouble with the installation, or have any questions, raise an issue or email František (Fanda) Blahoudek or Pranay Thangeda.

References

[1] Blahoudek F., Brázdil T., Novotný P., Ornik M., Thangeda P., Topcu U. (2020) Qualitative Controller Synthesis for Consumption Markov Decision Processes. In proceeding of CAV 2020. Lecture Notes in Computer Science, vol 12225. Springer. https://doi.org/10.1007/978-3-030-53291-8_22

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

fimdp-2.0.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

fimdp-2.0-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file fimdp-2.0.tar.gz.

File metadata

  • Download URL: fimdp-2.0.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for fimdp-2.0.tar.gz
Algorithm Hash digest
SHA256 50236b4d9c29047d61ce20e0eed017dcfbb9038dfd095c26d844f0c9dbb4ceb9
MD5 efa878bbd568fa1dc7f784941b069458
BLAKE2b-256 25cc42265108bd8316137c97f7e82b4c890b0b17a6cb2a7a19a7ffdb27f799f4

See more details on using hashes here.

File details

Details for the file fimdp-2.0-py3-none-any.whl.

File metadata

  • Download URL: fimdp-2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

File hashes

Hashes for fimdp-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a68a06386604b14b667c730fd1085a5c9132dfb46dae2bcffb4929c7e40a7e3
MD5 b026a7cf087574e244a3af8fe95c0885
BLAKE2b-256 d807462b32c0dda8316204ea0da2a6c0b53fbcef8fc51a276e34a54481d1a17a

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