summaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorThomas Kramer <thomas@f-si.org>2026-01-28 10:59:04 +0000
committerCayetano Santos <csantosb@inventati.org>2026-02-27 11:09:24 +0100
commit2a7e969cfeda3d993edceae533bbcda178f7e4b6 (patch)
treea6e3b49428e3d72d6919d8789881db98dcc4cb64 /gnu/packages/maths.scm
parent05a3106a524de65553e6bfef53b183347fb0f5aa (diff)
gnu: Add soplex.
* gnu/packages/maths.scm (soplex): New variable Merges guix/guix!5989 Change-Id: I0c23d436c9eb7bdf852d78d600b4cf196d9a0e26 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index fe08dd92381..162f1b6db41 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -74,6 +74,7 @@
;;; Copyright © 2025 Reza Housseini <reza@housseini.me>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2026 Peter Polidoro <peter@polidoro.io>
+;;; Copyright © 2026 Luca Alloatti <luca-guix@f-si.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -10582,6 +10583,36 @@ when an application performs repeated divisions by the same divisor.")
half-precision floating point formats.")
(license license:expat))))
+(define-public soplex
+ (package
+ (name "soplex")
+ (version "8.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/scipopt/soplex")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j0xqm99pdvj6l52q4wk96aj0vnq3xgm2gdyli4g8gfb1g1m9p9l"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "-DPAPILO=OFF")))
+ (inputs (list boost gmp mpfr zlib))
+ (home-page "https://soplex.zib.de/")
+ (synopsis "Sequential object-oriented simPlex linear programming solver")
+ (description
+ "SoPlex is an optimization package for solving linear
+programming problems (LPs) based on an advanced implementation of the primal
+and dual revised simplex algorithm. It provides special support for the exact
+solution of LPs with rational input data. It can be used as a standalone
+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 scilab
(package
(name "scilab")