[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/224: gnu: Add r-clarabel.
From: |
guix-commits |
Subject: |
02/224: gnu: Add r-clarabel. |
Date: |
Wed, 17 Jul 2024 17:18:30 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 9f54c761d0ada72d3e5416478bd30bcc38770f8e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jul 2 10:45:52 2024 +0200
gnu: Add r-clarabel.
* gnu/packages/cran.scm (r-clarabel): New variable.
Change-Id: I5c5e52da90e93d9ef2fb738ba494896e6712e61c
---
gnu/packages/cran.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 274432d194..bbdd935909 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -102,6 +102,7 @@
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages rust)
#:use-module (gnu packages ssh)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages statistics)
@@ -24089,6 +24090,41 @@ classes.")
"This package provides simple bindings to Unidata's udunits library.")
(license license:gpl2)))
+(define-public r-clarabel
+ (package
+ (name "r-clarabel")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "clarabel" version))
+ (sha256
+ (base32 "1g66y8s4v7qzm92dhnsmng28sm4lf6wggb4kc6arvp75z0i315jh"))))
+ (properties `((upstream-name . "clarabel")))
+ (build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-variables-for-rust
+ (lambda _
+ (setenv "CC" #$(cc-for-target)))))))
+ (native-inputs (list r-knitr rust `(,rust "cargo")))
+ (home-page "https://oxfordcontrol.github.io/clarabel-r/")
+ (synopsis "Interior point conic optimization solver")
+ (description
+ "This package provides a versatile interior point solver that solves
+@dfn{linear programs} (LPs), @dfn{quadratic programs} (QPs), @dfn{second-order
+cone programs} (SOCPs), @dfn{semidefinite programs} (SDPs), and problems with
+exponential and power cone constraints (@url{https://clarabel.org/stable/}).
+For quadratic objectives, unlike interior point solvers based on the standard
+@dfn{homogeneous self-dual embedding} (HSDE) model, Clarabel handles quadratic
+objective without requiring any epigraphical reformulation of its objective
+function. It can therefore be significantly faster than other HSDE-based
+solvers for problems with quadratic objective functions. Infeasible problems
+are detected using using a homogeneous embedding technique.")
+ (license license:asl2.0)))
+
(define-public r-classint
(package
(name "r-classint")
- branch master updated (0efdf33d0e -> 7ccd8ade8b), guix-commits, 2024/07/17
- 02/224: gnu: Add r-clarabel.,
guix-commits <=
- 01/224: gnu: r-with-tests: Update to 4.4.1., guix-commits, 2024/07/17
- 03/224: gnu: Add r-countrycode., guix-commits, 2024/07/17
- 05/224: gnu: Add r-minty., guix-commits, 2024/07/17
- 07/224: gnu: apache-arrow: Update to 16.1.0., guix-commits, 2024/07/17
- 12/224: gnu: r-vegan: Update to 2.6-6.1., guix-commits, 2024/07/17
- 15/224: gnu: r-activepathways: Update to 2.0.4., guix-commits, 2024/07/17
- 11/224: gnu: r-nloptr: Update to 2.1.1., guix-commits, 2024/07/17
- 14/224: gnu: r-dsb: Update to 1.0.4., guix-commits, 2024/07/17
- 16/224: gnu: r-abn: Update to 3.1.1., guix-commits, 2024/07/17
- 17/224: gnu: r-cachem: Update to 1.1.0., guix-commits, 2024/07/17