Skip to content

Commit

Permalink
devel/py-mystic: Add py-mystic 0.4.0
Browse files Browse the repository at this point in the history
The mystic framework provides a collection of optimization algorithms and tools
that allows the user to more robustly (and easily) solve hard optimization
problems. All optimization algorithms included in mystic provide workflow at the
fitting layer, not just access to the algorithms as function calls. mystic gives
the user fine-grained power to both monitor and steer optimizations as the fit
processes are running. Optimizers can advance one iteration with Step, or run to
completion with Solve. Users can customize optimizer stop conditions, where both
compound and user-provided conditions may be used. Optimizers can save state,
can be reconfigured dynamically, and can be restarted from a saved solver or
from a results file. All solvers can also leverage parallel computing, either
within each iteration or as an ensemble of solvers.
  • Loading branch information
sunpoet committed Apr 18, 2023
1 parent 36ae8f6 commit 6aed6e9
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4939,6 +4939,7 @@
SUBDIR += py-mypy-boto3-s3
SUBDIR += py-mypy-protobuf
SUBDIR += py-mypy_extensions
SUBDIR += py-mystic
SUBDIR += py-naiveBayesClassifier
SUBDIR += py-nanotime
SUBDIR += py-natsort
Expand Down
27 changes: 27 additions & 0 deletions devel/py-mystic/Makefile
@@ -0,0 +1,27 @@
PORTNAME= mystic
PORTVERSION= 0.4.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Highly-constrained non-convex optimization and uncertainty quantification
WWW= https://github.com/uqfoundation/mystic

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dill>=0.3.6:devel/py-dill@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}klepto>=0.2.3:devel/py-klepto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mpmath>=0.19:math/py-mpmath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sympy>=0.6.7:math/py-sympy@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent cython pep517

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-mystic/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1681052886
SHA256 (mystic-0.4.0.tar.gz) = 04027c856f776b1724b18deab9dd222f0602c20b54dbaadbff7a255006cfadce
SIZE (mystic-0.4.0.tar.gz) = 556775
11 changes: 11 additions & 0 deletions devel/py-mystic/pkg-descr
@@ -0,0 +1,11 @@
The mystic framework provides a collection of optimization algorithms and tools
that allows the user to more robustly (and easily) solve hard optimization
problems. All optimization algorithms included in mystic provide workflow at the
fitting layer, not just access to the algorithms as function calls. mystic gives
the user fine-grained power to both monitor and steer optimizations as the fit
processes are running. Optimizers can advance one iteration with Step, or run to
completion with Solve. Users can customize optimizer stop conditions, where both
compound and user-provided conditions may be used. Optimizers can save state,
can be reconfigured dynamically, and can be restarted from a saved solver or
from a results file. All solvers can also leverage parallel computing, either
within each iteration or as an ensemble of solvers.

0 comments on commit 6aed6e9

Please sign in to comment.