Skip to content
/ sdot Public

Semi-discrete optimal transport algorithms in Python.

License

Notifications You must be signed in to change notification settings

nyorem/sdot

Repository files navigation

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: scipy/scipy#9093.

References

About

Semi-discrete optimal transport algorithms in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages