Skip to content
Semi-discrete optimal transport algorithms in Python.
C++ Python Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
examples
lib
releases
scripts
src/sdot
tests
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
MANIFEST.in
README.md
setup.cfg
setup.py

README.md

Semi-discrete optimal transport algorithms in Python

Dependencies

  • cmake >= 2.8.12
  • a recent C/C++ compiler (at least C++11 capable)
  • Python 3
  • CGAL >= 4.12
  • Eigen

The other dependencies (pybind11, NNRVD, geogram) are included as git submodules and can be fetched using the following command:

git submodule update --init --recursive

Installation

Set the environment variable CGAL_DIR to point to the directory containing the file CGALConfig.cmake

Install with:

python3 setup.py install --user

Run the tests with:

pytest -p no:warnings

We ignore the warnings since scipy.sparse raises a PendingDeprecationWarning exception due to its usage of the numpy.matrix class, see: https://github.com/scipy/scipy/issues/9093.

References

You can’t perform that action at this time.