Skip to content

mystic-0.4.0

Compare
Choose a tag to compare
@mmckerns mmckerns released this 24 Oct 03:16
· 125 commits to master since this release

mystic 0.4.0 Release Notes

mystic 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. Optimization algorithms in mystic can accept parameter constraints, either in the form of penaties (which "penalize" regions of solution space that violate the constraints), or as constraints (which "constrain" the solver to only search in regions of solution space where the constraints are respected), or both. mystic provides a large selection of constraints, including probabistic and dimensionally reducing constraints. The goal of mystic is to enable the user to easily configure and control solvers, thus greatly reducing the barrier to solving hard optimization problems.

mystic installs with pip:
$ pip install mystic

mystic requires:
- python or pypy, >=3.7
- numpy, >=1.0
- sympy, >=0.6.7
- mpmath, >=0.19
- dill, >=0.3.6
- klepto, >=0.2.3

Optional requirements:
- matplotlib, >=0.91 (install with $ pip install mystic[plotting])
- scipy, >=0.6.0 (install with $ pip install mystic[math])
- pathos, >=0.3.0 (install with $ pip install mystic[parallel])
- pyina, >=0.2.6 (install with $ pip install mystic[parallel])

mystic is licensed under 3-clause BSD:

>>> import mystic
>>> print (mystic.license())

To cite mystic:

>>> import mystic
>>> print (mystic.citation())

Full Changelog: mystic-0.3.9...mystic-0.4.0