summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-gensa/package.py
blob: ab768cb4896818d9e87298b2c1286f62610bb42f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class RGensa(RPackage):
    """Generalized Simulated Annealing.

    Performs search for global minimum of a very complex non-linear objective
    function with a very large number of optima."""

    cran = "GenSA"

    version('1.1.7', sha256='9d99d3d0a4b7770c3c3a6de44206811272d78ab94481713a8c369f7d6ae7b80f')

    depends_on('r@2.12.0:', type=('build', 'run'))