From ffb59bcef769e5a362dd232b5e21575504212f6d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 6 Feb 2018 10:52:16 +0100 Subject: [PATCH] gnu: Add r-qap. * gnu/packages/cran.scm (r-qap): New variable. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fe40cac617..7af471a251 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -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)))