summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-11-24 17:00:32 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-11-24 18:02:15 +0100
commit8b1bee45f7fe37fd46e449910ff4ceb421e8ad87 (patch)
treea568b0334f0ef8140014aac6b664cc22b6c363cb
parent8d3bd8e4b08fef0ea7fac48296191d3e6e342e9c (diff)
gnu: Add r-osqp.
* gnu/packages/cran.scm (r-osqp): New variable.
-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 91e05373bb..88600988c4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19251,6 +19251,28 @@ authoring books and technical documents with R Markdown.")
that accept short and long options.")
(license license:gpl2+)))
+(define-public r-osqp
+ (package
+ (name "r-osqp")
+ (version "0.6.0.7")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "osqp" version))
+ (sha256
+ (base32
+ "00w2hr0pagnvpsk84z99c7alhv7xvs9wpcmkzbcg3qs14g888rgf"))))
+ (properties `((upstream-name . "osqp")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-matrix r-r6 r-rcpp))
+ (home-page "https://osqp.org")
+ (synopsis "Quadratic Programming Solver using the OSQP Library")
+ (description
+ "This package provides bindings to the OSQP solver. The OSQP
+solver is a numerical optimization package or solving convex quadratic
+programs written in C and based on the alternating direction method of
+multipliers. See <arXiv:1711.08013> for details.")
+ (license (list license:asl2.0))))
+
(define-public r-kernlab
(package
(name "r-kernlab")