Subject: bug#77905: closed (Re: [bug#77905] [PATCH] gnu: Add highs.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 30 Apr 2025 14:29:02 +0000

Your bug report

#77905: [PATCH] gnu: Add highs.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77905: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77905
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#77905] [PATCH] gnu: Add highs.
From: Andreas Enge <[email-masked]>
To: Wiktor Żelazny <[email-masked]>
Cc: Eric Bavier <[email-masked]>, Sharlatan Hellseher <[email-masked]>, [email-masked]
Date: Wed, 30 Apr 2025 16:27:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

thanks for your patch!

Am Fri, Apr 18, 2025 at 08:17:31PM +0200 schrieb Wiktor Żelazny:
> +  (let ((commit "v1.10.0")
> +        (revision "1"))
> +    (package
> +      (name "highs")
> +      (version (git-version "1.10.0" revision commit))

This complication is not needed - we use the revision dance only when a
project has no proper releases.

So I have simplified this a little bit and pushed.

Andreas

Subject: [PATCH] gnu: Add highs.
From: Wiktor Żelazny <[email-masked]>
To: [email-masked]
Date: Fri, 18 Apr 2025 20:17:31 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/maths.scm (highs): New variable.

Change-Id: Ie842704d4d9c8a4b531ee45aab34a99e59e4b3c4
---
 gnu/packages/maths.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4be9e71320..0eee1584c5 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -11158,3 +11158,27 @@ (define-public exprtk
 expression parsing and evaluation.")
     (home-page "https://www.partow.net/programming/exprtk/index.html")
     (license license:expat)))
+
+(define-public highs
+  (let ((commit "v1.10.0")
+        (revision "1"))
+    (package
+      (name "highs")
+      (version (git-version "1.10.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ERGO-Code/HiGHS")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "19q99nkk6r6k91gxp8a5rjil1399qyfgfc6jqlg2gd82vpcw8c8b"))))
+      (build-system cmake-build-system)
+      (home-page "https://highs.dev")
+      (synopsis "High performance software for linear optimization")
+      (description
+       "HiGHS provides serial and parallel solvers for large-scale
+sparse linear programming (LP), mixed-integer programming (MIP), and quadratic
+programming (QP) models")
+      (license license:expat))))

base-commit: a4a7ff0319c622cd08aa7461cc88cc6608fe62cb
-- 
2.49.0