summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-lpsolve/package.py
blob: e3690b86f9100ee9a7404501dc960c6382078c00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2018 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 RLpsolve(RPackage):
    """Lp_solve is freely available (under LGPL 2) software for solving
       linear, integer and mixed integer programs. In this
       implementation we supply a "wrapper" function in C and some R
       functions that solve general linear/integer problems, assignment
       problems, and transportation problems. This version calls
       lp_solve"""

    homepage = "https://cran.r-project.org/web/packages/lpSolve/index.html"
    url      = "https://cran.r-project.org/src/contrib/lpSolve_5.6.13.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/lpSolve"

    version('5.6.13', '8471654d9ae76e0f85ff3449433d4bc1')