Files
ports/math/py-lap/Makefile
T
kirill 006fcef4ce math/py-lap: new port (version 0.5.12)
lap is a linear assignment problem solver using Jonker-Volgenant
algorithm for dense LAPJV or sparse LAPMOD matrices. Both algorithms are
implemented from scratch based solely on the papers and the public
domain Pascal implementation provided by A. Volgenant. The LAPMOD
implementation seems to be faster than the LAPJV implementation for
matrices with a side of more than ~5000 and with less than 50% finite
coefficients.

OK: sthen@
2025-05-15 14:05:10 +00:00

28 lines
467 B
Makefile

COMMENT = linear assignment problem solver (LAPJV/LAPMOD)
MODPY_DISTV = 0.5.12
DISTNAME= lap-${MODPY_DISTV}
PKGNAME= py-${DISTNAME}
CATEGORIES = math
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} m
COMPILER = base-clang ports-gcc
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
MODPY_TEST_LINK_SO = Yes
BUILD_DEPENDS= lang/cython
RUN_DEPENDS = math/py-numpy
TEST_DEPENDS = devel/py-test-timeout
.include <bsd.port.mk>