summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorThomas Kramer <thomas@f-si.org>2026-01-28 11:00:24 +0000
committerCayetano Santos <csantosb@inventati.org>2026-02-27 11:09:24 +0100
commitf1600ecce4cdc345e4d8ad21016c9c686adf98e6 (patch)
tree9cf56d8a04b15a74502f319312331e53ccb06e4e /gnu/packages
parent2a7e969cfeda3d993edceae533bbcda178f7e4b6 (diff)
gnu: Add scip.
* gnu/packages/maths.scm (scip): New variable Merges guix/guix!5989 Change-Id: I7f027c0dd6cd833aebb6b480c43bba11f0641af6 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maths.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 162f1b6db41..328df569690 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10613,6 +10613,47 @@ solver reading MPS or LP format files via a command line interface as well as
embedded into other programs via a C++ class library.")
(license license:asl2.0)))
+(define-public scip
+ (package
+ (name "scip")
+ (version "10.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/scipopt/scip")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01j0m7fzr8xcwpsd3zfqrbqw8rw2169rlp0qb6srdx5ablkcdcv1"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:build-type "Release"
+ #:parallel-tests? #f
+ #:configure-flags
+ #~(list "-DPAPILO=OFF"
+ "-DZIMPL=OFF"
+ "-DAMPL=ON"
+ "-DIPOPT=OFF"
+ (string-append
+ "-DSOPLEX_DIR=" #$(this-package-input "soplex")))))
+ (inputs (list boost
+ gmp
+ mpfr
+ readline
+ soplex
+ zlib))
+ (home-page "https://www.scipopt.org/")
+ (synopsis "Solving constraint integer programs")
+ (description
+ "SCIP is a solver for mixed integer programming (MIP) and mixed
+integer nonlinear programming (MINLP). It is a framework for constraint
+integer programming and branch-cut-and-price, allowing total control
+of the solution process and access to detailed information down to the
+internals of the solver.")
+ (license license:asl2.0)))
+
(define-public scilab
(package
(name "scilab")