summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/scipoptsuite/package.py
blob: 300ede769ca18152019c8d584df96e6f524f2b4d (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
29
30
# Copyright 2013-2021 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)


import os


class Scipoptsuite(CMakePackage):
    """The SCIP Optimization Suite is a toolbox for generating and
    solving mixed integer nonlinear programs, in particular mixed
    integer linear programs, and constraint integer programs

    Note: A manual download is required for SCIP.  Spack will search
    your current directory for the download file.  Alternatively,
    add this file to a mirror so that Spack can find it.  For
    instructions on how to set up a mirror, see
    http://spack.readthedocs.io/en/latest/mirrors.html"""

    homepage = "https://scipopt.org"
    url      = "file://{0}/scipoptsuite-7.0.1.tgz".format(os.getcwd())
    manual_download = True

    version('7.0.1', sha256='971962f2d896b0c8b8fa554c18afd2b5037092685735d9494a05dc16d56ad422')

    depends_on('gmp')
    depends_on('zlib')
    depends_on('readline')
    depends_on('ncurses')