From abf08a76c246cea96e657616ca838d76116ed79a Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Tue, 25 Dec 2012 11:21:13 +0000 Subject: [PATCH] - Add a new port: math/R-cran-quadprog This routine implements the dual method of Goldfarb and Idnani (1982, 1983) for solving quadratic programming problems of the form min(?dT b + 1/2bT Db) with the constraints AT b >= b0. WWW: http://cran.r-project.org/web/packages/quadprog/ PR: ports/172298 (based on) Submitted by: David Naylor --- math/Makefile | 1 + math/R-cran-quadprog/Makefile | 18 ++++++++++++++++++ math/R-cran-quadprog/distinfo | 2 ++ math/R-cran-quadprog/pkg-descr | 5 +++++ 4 files changed, 26 insertions(+) create mode 100644 math/R-cran-quadprog/Makefile create mode 100644 math/R-cran-quadprog/distinfo create mode 100644 math/R-cran-quadprog/pkg-descr diff --git a/math/Makefile b/math/Makefile index c8447a5c98cb..6bbbb2fe6152 100644 --- a/math/Makefile +++ b/math/Makefile @@ -28,6 +28,7 @@ SUBDIR += R-cran-mvtnorm SUBDIR += R-cran-nnls SUBDIR += R-cran-psych + SUBDIR += R-cran-quadprog SUBDIR += R-cran-sandwich SUBDIR += R-cran-sm SUBDIR += R-cran-sp diff --git a/math/R-cran-quadprog/Makefile b/math/R-cran-quadprog/Makefile new file mode 100644 index 000000000000..592288fe6980 --- /dev/null +++ b/math/R-cran-quadprog/Makefile @@ -0,0 +1,18 @@ +# Created by: David Naylor +# $FreeBSD$ + +PORTNAME= quadprog +DISTVERSION= 1.5-4 +CATEGORIES= math +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= naylor.b.david@gmail.com +COMMENT= Functions to solve Quadratic Programming Problems + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + +USE_R_MOD= yes +R_MOD_AUTOPLIST= yes + +.include diff --git a/math/R-cran-quadprog/distinfo b/math/R-cran-quadprog/distinfo new file mode 100644 index 000000000000..cf5d93182aa9 --- /dev/null +++ b/math/R-cran-quadprog/distinfo @@ -0,0 +1,2 @@ +SHA256 (quadprog_1.5-4.tar.gz) = b596941afb3809a4f7fb7a635c78e64f9dbbce80c7f053825765880e79fe4ea0 +SIZE (quadprog_1.5-4.tar.gz) = 34653 diff --git a/math/R-cran-quadprog/pkg-descr b/math/R-cran-quadprog/pkg-descr new file mode 100644 index 000000000000..c7b8e9aaee51 --- /dev/null +++ b/math/R-cran-quadprog/pkg-descr @@ -0,0 +1,5 @@ +This routine implements the dual method of Goldfarb and Idnani +(1982, 1983) for solving quadratic programming problems of the form +min(?dT b + 1/2bT Db) with the constraints AT b >= b0. + +WWW: http://cran.r-project.org/web/packages/quadprog/