Skip to content
/ cobyqa Public
forked from cobyqa/cobyqa

A derivative-free optimization solver for constrained optimization using quadratic approximations.

License

Notifications You must be signed in to change notification settings

equipez/cobyqa

 
 

Repository files navigation

COBYQA: a derivative-free solver for general nonlinear optimization

https://readthedocs.org/projects/cobyqa/badge/?version=latest https://img.shields.io/badge/license-BSD-blue

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/

Installation

COBYQA can be installed on Python 3.7 or above.

Dependencies

The following Python packages are required by COBYQA:

User installation

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()"

Testing

After installing pytest 5.0.1 or higher, you can execute the test suite of COBYQA via

python -m pytest --pyargs cobyqa

Support

To report a bug or request a new feature, please open a new issue using the issue tracker.

About

A derivative-free optimization solver for constrained optimization using quadratic approximations.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.8%
  • Cython 21.3%
  • Shell 0.9%