math/py-seriate 1.1.2_4 FreeBSD
Optimal ordering of elements in a set given their distance matrix
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- math, python
- Package size
- 12.1 KiB, 36.2 KiB installed
Description
This is a Python implementation of Seriation algorithm. Seriation is an approach for ordering elements in a set so that the sum of the sequential pairwise distances is minimal. We state this task as a Travelling Salesman Problem (TSP) and leverage the powerful Google's or-tools to do heavy-lifting. Since TSP is NP-hard, it is not possible to calculate the precise solution for a big number of elements. However, the or-tools' heuristics work very well in practice, and they are used in e.g. Google Maps.
Install
Binary package:
pkg install py312-seriate
From the ports tree:
cd /usr/ports/math/py-seriate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-seriate>0:math/py-seriate
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.2_4 | 1.1.2_4 | - | - | - |
| FreeBSD:14:quarterly | 1.1.2_4 | 1.1.2_4 | n/a | - | - |
| FreeBSD:15:latest | 1.1.2_4 | 1.1.2_4 | n/a | - | - |
| FreeBSD:15:quarterly | 1.1.2_4 | 1.1.2_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.2_4 | 1.1.2_4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 4
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy${PYTHON_PKGNAMEPREFIX}or-tools>0: math/py-or-tools${PYTHON_PKGNAMEPREFIX}packaging>0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}scipy>0: science/py-scipy
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 58
- archivers/liblz4
- archivers/zstd
- databases/py-sqlite3
- databases/sqlite3
- devel/abseil
- devel/binutils
- devel/gettext-runtime
- devel/gflags
- devel/glog
- devel/jsoncpp
- devel/libedit
- devel/libffi
- devel/libunwind
- devel/protobuf
- devel/py-absl-py
- devel/py-immutabledict
- devel/py-packaging
- devel/py-protobuf
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-six
- devel/py-typing-extensions
- devel/py-tzdata
- devel/re2
- devel/readline
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/asl
- math/blas
- math/cbc
- math/cgl
- math/clp
- math/coin-or-data-netlib
- math/coin-or-data-sample
- math/coin-or-metis
- math/coin-or-mumps
- math/coinutils
- math/gmp
- math/highs
- math/lapack
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/nauty
- math/openblas
- math/osi
- math/py-bottleneck
- math/py-numexpr
- math/py-numpy
- math/py-or-tools
- math/py-pandas
- math/qhull
- print/indexinfo
- science/py-scipy
- textproc/expat2
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| src-d-seriate-1.1.2_GH0.tar.gz | 2.498048e+06 | 5e031e865398fbe24aebdbb4a2e0015447aec50478830850f29d38660fd266e3 |
Commit history 0
No commits in the history this site was built from.