gnu: Add r-qap.

* gnu/packages/cran.scm (r-qap): New variable.
This commit is contained in:
Ricardo Wurmus 2018-02-06 10:52:16 +01:00
parent f285346aed
commit ffb59bcef7
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1931,3 +1931,23 @@ (define-public r-tsp
algorithms for the @dfn{traveling salesperson problem}(TSP) (also known as the
traveling salesman problem).")
(license license:gpl3)))
(define-public r-qap
(package
(name "r-qap")
(version "0.1-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "qap" version))
(sha256
(base32
"0d2d1ni1camixyi45lfy00f4pn3p063k7bsi8gj5scp6n15mdgb0"))))
(build-system r-build-system)
(native-inputs `(("gfortran" ,gfortran)))
(home-page "http://cran.r-project.org/web/packages/qap/")
(synopsis "Heuristics for the quadratic assignment problem (QAP)")
(description "This package implements heuristics for the @dfn{quadratic
assignment problem} (QAP). Currently only a simulated annealing heuristic is
available.")
(license license:gpl3)))