guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30570] [PATCH 07/16] gnu: Add r-subplex.


From: Leo Famulari
Subject: [bug#30570] [PATCH 07/16] gnu: Add r-subplex.
Date: Wed, 21 Feb 2018 14:35:11 -0500

gnu/packages/maths.scm (r-subplex): New variable.
---
 gnu/packages/maths.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 6be4c6959..d4e60d447 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2017 Dave Love <address@hidden@gnu.org>
 ;;; Copyright © 2018 Jan Nieuwenhuizen <address@hidden>
+;;; Copyright © 2018 Joshua Sierles, Nextjournal <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3729,3 +3730,25 @@ specifications.  Also, state spaces can be manipulated, 
visualised and
 analysed.")
     (home-page "http://mcrl2.org";)
     (license license:boost1.0)))
+
+(define-public r-subplex
+  (package
+    (name "r-subplex")
+    (version "1.5-2")
+    (source
+    (origin
+      (method url-fetch)
+      (uri (cran-uri "subplex" version))
+      (sha256
+       (base32
+        "1v9xrnkapnq7v1jbhlg32ignklzf2vn8rqpayc8pzk8wvz53r33g"))))
+    (build-system r-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "https://cran.r-project.org/web/packages/subplex";)
+    (synopsis "Unconstrained Optimization using the Subplex Algorithm")
+    (description "This package implements the Subplex optimization algorithm.
+It solves unconstrained optimization problems using a simplex method on
+subspaces.  The method is well suited for optimizing objective functions that
+are noisy or are discontinuous at the solution.")
+    (license license:gpl3+)))
-- 
2.16.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]