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/