aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-15 15:35:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-17 17:26:12 +0200
commita3e36d377284eddcbf3126e5e2a7e53bd9a85822 (patch)
tree5526802ee820031c7a5b77171327b6d8d9b29192 /gnu
parent212f61204030ce2a36e4770607bc4e17df08ebbe (diff)
downloadpatches-a3e36d377284eddcbf3126e5e2a7e53bd9a85822.tar
patches-a3e36d377284eddcbf3126e5e2a7e53bd9a85822.tar.gz
gnu: Add r-lpsolve.
* gnu/packages/cran.scm (r-lpsolve): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ae4d807dcb..a912394daa 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -762,3 +762,25 @@ Models and Data\", a book presenting maximum likelihood estimation and related
topics for ecologists (ISBN 978-0-691-12522-0).")
;; Any GPL version
(license (list license:gpl2 license:gpl3))))
+
+(define-public r-lpsolve
+ (package
+ (name "r-lpsolve")
+ (version "5.6.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lpSolve" version))
+ (sha256
+ (base32
+ "13a9ry8xf5j1f2j6imqrxdgxqz3nqp9sj9b4ivyx9sid459irm6m"))))
+ (properties `((upstream-name . "lpSolve")))
+ (build-system r-build-system)
+ (home-page "http://cran.r-project.org/web/packages/lpSolve")
+ (synopsis "R interface to Lp_solve to solve linear/integer programs")
+ (description
+ "Lp_solve is software for solving linear, integer and mixed integer
+programs. This implementation supplies a \"wrapper\" function in C and some R
+functions that solve general linear/integer problems, assignment problems, and
+transportation problems.")
+ (license license:lgpl2.0)))