blob: 865e98c43e95cfbeae200fbc823698fefb460acd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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 PyCylp(PythonPackage):
"""A Python interface for CLP, CBC, and CGL.
CyLP is a Python interface to COIN-OR's Linear and mixed-integer program
solvers (CLP, CBC, and CGL). CyLP's unique feature is that you can use it
to alter the solution process of the solvers from within Python.
"""
homepage = "https://github.com/coin-or/cylp"
pypi = "cylp/cylp-0.91.5.tar.gz"
version("0.91.5", sha256="d68ab1dde125be60abf45c8fd9edd24ab880c8144ad881718ddfa01ff6674c77")
depends_on("py-setuptools", type="build")
depends_on("py-cython@:2", type="build")
depends_on("py-numpy@1.5:", type=("build", "run"))
depends_on("py-scipy@0.10.0:", type=("build", "run"))
depends_on("cbc")
|