summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-08-06 14:41:25 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-08-06 15:48:53 +0200
commitf3640cee103c9e86c8ff38ed3f303159e1c5da2d (patch)
treea99705a909b16ba84f83b7991ff795382b33169a /gnu
parent099b7c55bbfa079a9ac2b6f86574df115e852073 (diff)
downloadpatches-f3640cee103c9e86c8ff38ed3f303159e1c5da2d.tar
patches-f3640cee103c9e86c8ff38ed3f303159e1c5da2d.tar.gz
gnu: Add r-linprog.
* gnu/packages/cran.scm (r-linprog): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm20
1 files changed, 20 insertions, 0 deletions
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")