aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-04-03 16:10:25 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-07 21:33:03 +0200
commitecfbc51faac789681549bb2e1b97ca1058c6324d (patch)
treeec5c4ff478468013911a93b6d99bd6ce339d2f72
parent93880e5786b28cd6f0f9e9f44338ae1971b8be77 (diff)
downloadguix-ecfbc51faac789681549bb2e1b97ca1058c6324d.tar
guix-ecfbc51faac789681549bb2e1b97ca1058c6324d.tar.gz
gnu: Add clp.
* gnu/packages/maths.scm (clp): New variable.
-rw-r--r--gnu/packages/maths.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e874144dcf..a7243557ee 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1352,6 +1352,38 @@ large-scale nonlinear optimization. It provides C++, C, and Fortran
interfaces.")
(license license:epl1.0)))
+(define-public clp
+ (package
+ (name "clp")
+ (version "1.17.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.coin-or.org/download/source/"
+ "Clp/Clp-" version ".tgz"))
+ (sha256
+ (base32
+ "1wdg820g3iikf9344ijwsc8sy6c0m6im42bzzizm6rlmkvnmxhk9"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Make sure we don't use the bundled software.
+ '(begin
+ (delete-file-recursively "ThirdParty")
+ #t))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("gfortran" ,gfortran)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("openblas" ,openblas)))
+ (home-page "https://www.coin-or.org")
+ (synopsis "Linear programming solver")
+ (description
+ "CLP is a high quality linear programming solver. Its main strengths are
+its dual and primal Simplex algorithms. It also has a barrier algorithm for
+linear and quadratic objectives. There are limited facilities for nonlinear
+and quadratic objectives using the Simplex algorithm.")
+ (license license:epl1.0)))
+
(define-public ceres
(package
(name "ceres-solver")