Giter Site home page Giter Site logo

alexander-e / ictmc Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 33 KB

A Python module to approximate (conditional) lower expectations for imprecise continuous-time Markov chains

License: GNU General Public License v3.0

Python 100.00%
markov-chain python

ictmc's Introduction

ictmc

A Python 3 module to approximate (conditional) lower expectations for imprecise continuous-time Markov chains

About

This Python 3 module contains naive, non-optimised implementations of the algorithms proposed by De Bock (2017) and Erreygers and De Bock (2017). The main reason for writing this module was to validate the results obtained in (Erreygers and De Bock, 2017), but I believe it can be used for general purposes as well.

The module imports NumPy for easy vector manipulations, matplotlib for plotting the approximations and tqdm to display nice progress bars. All three of these packages should be installed in order for the package to work.

Examples

In HealthySick.py, the lower transition rate operator introduced in Example 18 of (Krak et al., 2016) is used to showcase the differences between the algorithms.

We do the same in ReliabilityOfPowerNetworks.py, but for the lower transition rate operator introduced in (Troffaes et al., 2015). The linear programming problems are solved using the linprog method of CVXOPT, which is a Python wrapper for GLPK. If you cannot get this to work, you can resort to the linprog method of SciPy. However, I would advice you not to do this, as this method is terribly slow.

References

  1. Jasper De Bock. ''The Limit Behaviour of Imprecise Continuous-Time Markov Chains''. Journal of Nonlinear Science (2017) 27:159 . doi:10.1007/s00332-016-9328-3
  2. Alexander Erreygers and Jasper De Bock. ''Imprecise Continuous-Time Markov Chains: Efficient Computational Methods with Guaranteed Error Bounds''. arXiv:1702.07150.
  3. Thomas Krak, Jasper De Bock and Arno Siebes. ''Imprecise Continuous-Time Markov Chains''. arXiv:1611.05796
  4. Matthias Troffaes, Jacob Gledhill, Damjan Skulj and Simon Blake. ''Using imprecise continuous time Markov chains for assessing the reliability of power networks with common cause failure and non-immediate repair''. Proceedings of ISIPTA'15, pp. 287-294. Available on-line

ictmc's People

Contributors

alexander-e avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.