Installation

The package was successfully installed on Linux, Windows and OS X systems.

Latest version from the master branch on GitHub:

pip install git+https://github.com/xflows/rdm.git

Latest release from PyPI:

pip install python-rdm

Please note that the PyPI version is likely not the latest one.

The prerequisites are listed in requirements.txt.

Prerequisites of specific ILP/RDM algorithms

Depending on what algorithms you wish to use, these are their dependencies.

Aleph and RSD

  • Yap prolog (preferably compiled with --tabling enabled for speedups). Please use version 6.3.3 which is known to work. Other versions may or may not work correctly.

On Debian-based systems you can simply install it as:

apt install yap

TreeLiker, Caraf, Cardinalization, Quantiles, Relaggs

  • Java

1BC, 1BC2, Tertius

These approaches depend on one original C program which must be compiled. The sources are included with python-rdm in rdm/wrappers/tertius/src/.

Documentation

You’ll need Sphinx to build the documentation you are currently looking at:

pip install -U Sphinx