From f3640cee103c9e86c8ff38ed3f303159e1c5da2d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 6 Aug 2019 14:41:25 +0200 Subject: gnu: Add r-linprog. * gnu/packages/cran.scm (r-linprog): New variable. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 085c41d0c4..9d3dddc11f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2640,6 +2640,26 @@ to access PostgreSQL database systems.") ;; under the PostgreSQL license. (license license:gpl2))) +(define-public r-linprog + (package + (name "r-linprog") + (version "0.9-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "linprog" version)) + (sha256 + (base32 + "1ki14an0pmhs2mnmfjjvdzd76pshiyvi659zf7hqvqwj0viv4dw9")))) + (build-system r-build-system) + (propagated-inputs `(("r-lpsolve" ,r-lpsolve))) + (home-page "http://linprog.r-forge.r-project.org/") + (synopsis "Linear programming and optimization") + (description + "This package can be used to solve Linear Programming / Linear +Optimization problems by using the simplex algorithm.") + (license license:gpl2+))) + (define-public r-geometry (package (name "r-geometry") -- cgit v1.2.3