blob: db4b202fba838eed56fc65d5aecb8f00de26ef6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright 2013-2023 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 RLinprog(RPackage):
"""Linear Programming / Optimization.
Can be used to solve Linear Programming / Linear Optimization problems by
using the simplex algorithm."""
cran = "linprog"
version("0.9-4", sha256="81a6aa2fdc075f12dc912794d0554f87705a8b872b99c89a90a69ee9ada864b4")
depends_on("r@2.4.0:", type=("build", "run"))
depends_on("r-lpsolve", type=("build", "run"))
|