COBYQA, named after Constrained Optimization BY Quadratic Approximation, is a derivative-free solver for general nonlinear optimization problems. It can handle unconstrained, bound-constrained, linearly constrained, and nonlinearly constrained problems. It uses only function values of the objective function and nonlinear constraint functions, if any. No derivative information is needed.
The current release of COBYQA contains a Python implementation of the solver. It is distributed under the BSD-3-Clause license.
Documentation: https://www.cobyqa.com/
COBYQA can be installed on Python 3.7 or above.
The following Python packages are required by COBYQA:
The easiest way to install COBYQA is using pip
python -m pip install -U cobyqa
To check your installation, you can execute
python -c "import cobyqa; cobyqa.show_versions()"
After installing pytest 5.0.1 or higher, you can execute the test suite of COBYQA via
python -m pytest --pyargs cobyqa
To report a bug or request a new feature, please open a new issue using the issue tracker.