summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ecosolver/package.py
blob: d61d3979d157faac15f13985a4f815cb8fd0fdc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2024 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.package import *


class REcosolver(RPackage):
    """Embedded Conic Solver in R.

    R interface to the Embedded COnic Solver (ECOS), an efficient and robust C
    library for convex problems. Conic and equality constraints can be
    specified in addition to integer and boolean variable constraints for
    mixed-integer problems. This R interface is inspired by the python
    interface and has similar calling conventions."""

    cran = "ECOSolveR"

    version("0.5.4", sha256="5d7489e8176c1df3f3f1290732243429280efca4f837916e6b6faa6dc8a8e324")

    depends_on("gmake", type="build")