1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- New port math/quadprog

Quadratic programming package for python.
This commit is contained in:
Stephen Montgomery-Smith 2019-02-28 21:31:20 +00:00
parent b2b7315b54
commit ce60bd0f88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494188
4 changed files with 29 additions and 0 deletions

View File

@ -770,6 +770,7 @@
SUBDIR += py-pysym
SUBDIR += py-python-louvain
SUBDIR += py-pyvtk
SUBDIR += py-quadprog
SUBDIR += py-random2
SUBDIR += py-rapi
SUBDIR += py-roman

19
math/py-quadprog/Makefile Normal file
View File

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= quadprog
DISTVERSION= 0.1.6
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= stephen@FreeBSD.org
COMMENT= Quadratic programming package
LICENSE= GPLv2+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist cython
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1551374538
SHA256 (quadprog-0.1.6.tar.gz) = 5e161635fb7f2730edef0070448bdbe93784552202c12e15e0fbf640f0cef0f4
SIZE (quadprog-0.1.6.tar.gz) = 107537

View File

@ -0,0 +1,6 @@
Solve a strictly convex quadratic program:
Minimize 1/2 x^T G x - a^T x
Subject to C.T x >= b
WWW: https://pypi.org/project/quadprog