summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-04 00:37:25 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-31 22:13:40 +0100
commitc7f8e752ab6fb1f768f9dd8b296c47823f37308d (patch)
tree2b672f7e23fb065c702ff0162a347d3c672149be
parent120edb6b36cc65cefe0260211a910c769db7780a (diff)
gnu: Add python-py-bobyqa.
* gnu/packages/maths.scm (python-py-bobyqa): New variable. Change-Id: If5dcb5d7ecef4d5937c278f405b2ba93d2a02ec4
-rw-r--r--gnu/packages/maths.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 550ca02b40..c0ea6ec5ff 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4641,6 +4641,40 @@ bindings to almost all functions of PETSc.")
;; <https://github.com/dimpase/primecountpy/issues/16>.
(license license:gpl2+)))
+(define-public python-py-bobyqa
+ (package
+ (name "python-py-bobyqa")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch) ;no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/numericalalgorithmsgroup/pybobyqa")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0k9iapdlbp1k2ck1550ckw0y75f71gxzqkv4clz89ym4fwqwszv2"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-numpy
+ python-pandas
+ python-scipy
+ python-setuptools))
+ (home-page "https://github.com/numericalalgorithmsgroup/pybobyqa")
+ (synopsis "Derivative-free solver for general objective minimization")
+ (description
+ "Py-BOBYQA is a flexible package for solving bound-constrained general
+objective minimization, without requiring derivatives of the objective. At
+its core, it is a Python implementation of the BOBYQA algorithm by Powell,but
+Py-BOBYQA has extra features improving its performance on some problems.
+Py-BOBYQA is particularly useful when evaluations of the objective function
+are expensive and/or noisy.")
+ (license license:gpl3)))
+
(define-public python-pyglm
(package
(name "python-pyglm")