Skip to main content

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

Metadata

Release files for fimdp 2.0

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

Source distribution (sdist)

Source distribution for fimdp 2.0
File Size Uploaded Provenance Actions
fimdp-2.0.tar.gz 39.2 kB Without provenance Details for fimdp-2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fimdp 2.0
File Interpreter ABI Platform Actions
fimdp-2.0-py3-none-any.whl Python 3 none any Details for fimdp-2.0-py3-none-any.whl

Total release size: 80.9 kB

Release files / fimdp-2.0.tar.gz

Download URL fimdp-2.0.tar.gz
Size 39.2 kB
Tags Source
SHA-256 checksum
How to use checksums
50236b4d9c29047d61ce20e0eed017dcfbb9038dfd095c26d844f0c9dbb4ceb9
BLAKE2b-256 checksum
How to use checksums
25cc42265108bd8316137c97f7e82b4c890b0b17a6cb2a7a19a7ffdb27f799f4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / fimdp-2.0-py3-none-any.whl

Download URL fimdp-2.0-py3-none-any.whl
Size 41.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a68a06386604b14b667c730fd1085a5c9132dfb46dae2bcffb4929c7e40a7e3
BLAKE2b-256 checksum
How to use checksums
d807462b32c0dda8316204ea0da2a6c0b53fbcef8fc51a276e34a54481d1a17a
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for fimdp 2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files No provenance

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