github uqfoundation/mystic mystic-0.3.7

latest releases: 0.4.2, mystic-0.4.1, mystic-0.4.0...
3 years ago

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 easy_install or pip:
$ pip install mystic

mystic requires:
- python2, version == 2.7 *or* python3, version >= 3.5
- numpy, version >= 1.0
- sympy, version >= 0.6.7
- dill, version >= 0.3.3
- klepto, version >= 0.2.0

Optional requirements:
- matplotlib, version >= 0.91 (install with $ pip install mystic[plotting])
- scipy, version >= 0.6.0 (install with $ pip install mystic[math])
- mpmath, version > 1.0.0 (install with $ pip install mystic[math])
- pathos, version >= 0.2.7 (install with $ pip install mystic[parallel])
- pyina, version >= 0.2.3 (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())

Don't miss a new mystic release

NewReleases is sending notifications on new releases.