me
/
guix
Archived
1
0
Fork 0

gnu: Add cbc.

* gnu/packages/maths.scm (cbc): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
master
Eric Brown 2021-05-25 00:58:50 -05:00 committed by Ludovic Courtès
parent a44fa3742c
commit f5871b19cc
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 29 additions and 0 deletions

View File

@ -1798,6 +1798,35 @@ large-scale nonlinear optimization. It provides C++, C, and Fortran
interfaces.") interfaces.")
(license license:epl1.0))) (license license:epl1.0)))
(define-public cbc
(package
(name "cbc")
(version "2.10.5")
(source (origin
(method url-fetch)
(uri (string-append "https://www.coin-or.org/download/source/"
"Cbc/Cbc-" version ".tgz"))
(sha256
(base32
"0wk9vr6zc62gw71v7gnra5wxqlcljcgbhm5lasx236v791b986ns"))
(modules '((guix build utils)))
(snippet
;; Make sure we don't use the bundled software.
'(delete-file-recursively "ThirdParty"))))
(build-system gnu-build-system)
(native-inputs
`(("gfortran" ,gfortran)
("pkg-config" ,pkg-config)))
(inputs
`(("openblas" ,openblas)))
(home-page "https://www.coin-or.org")
(synopsis "Branch-and-cut solver")
(description
"Cbc (Coin-or branch and cut) is a mixed integer linear programming
solver written in C++. It can be used as a library or as a standalone
executable.")
(license license:epl1.0)))
(define-public clp (define-public clp
(package (package
(name "clp") (name "clp")