guix-patches
[Top][All Lists]
Advanced

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

[bug#65096] [PATCH 04/10] gnu: Add bonmin.


From: Vinicius Monego
Subject: [bug#65096] [PATCH 04/10] gnu: Add bonmin.
Date: Sat, 5 Aug 2023 13:31:17 +0000

* gnu/packages/maths.scm (bonmin): New variable.
---
 gnu/packages/maths.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 062498375d..c02ba2570e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1369,6 +1369,28 @@ (define-public cminpack
     (license (license:non-copyleft ; original minpack license
               "https://github.com/certik/minpack/blob/master/LICENSE";))))
 
+(define-public bonmin
+  (package
+    (name "bonmin")
+    (version "1.8.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/coin-or/Bonmin";)
+                    (commit (string-append "releases/" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "153kj4wx386609g21hw3cv5yxps62qqrc64zwb9ryd2xad1w1a4y"))))
+    (build-system gnu-build-system)
+    (native-inputs (list gfortran pkg-config))
+    (inputs (list cbc ipopt lapack))
+    (home-page "https://coin-or.github.io/Bonmin/";)
+    (synopsis "Basic Open-source Nonlinear Mixed INteger programming")
+    (description "Bonmin is a code for solving general MINLP (Mixed Integer
+NonLinear Programming) problems.  It builds on top of Cbc and Ipopt.")
+    (license license:epl1.0)))
+
 (define-public gctp
   (package
     (name "gctp")
-- 
2.34.1






reply via email to

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