Subject: [bug#70535] [PATCH 1/5] gnu: Add r-lpsolveapi.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 23 Apr 2024 13:25:42 +0200

* gnu/packages/cran.scm (r-lpsolveapi): New variable.

Change-Id: I6a93603a5814df0eb43a214b5c2a0f4865901bcd
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ee0aac7f7a..4b6ece1eb1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8191,6 +8191,26 @@ (define-public r-lpsolve
 transportation problems.")
     (license license:lgpl2.0)))
 
+(define-public r-lpsolveapi
+  (package
+    (name "r-lpsolveapi")
+    (version "5.5.2.0-17.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lpSolveAPI" version))
+       (sha256
+        (base32 "191zjgyap3kcsvh8fygqqyr9p0agbzm160fzynnpaxf19yp6r3dh"))))
+    (properties `((upstream-name . "lpSolveAPI")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/package=lpSolveAPI")
+    (synopsis "Interface to lp_solve")
+    (description
+     "The lpSolveAPI package provides an R interface to lp_solve, a @acronym{MILP,
+Mixed Integer Linear Programming}, solver with support for pure linear, (mixed)
+integer/binary, semi-continuous and @acronym{SOS, special ordered sets} models.")
+    (license license:lgpl2.0)))
+
 (define-public r-limsolve
   (package
     (name "r-limsolve")

base-commit: 2d19e505f6f9f82aebc9ba8c74ba223818acd9bc
-- 
2.41.0