Developer guide#

This guide does not cover the usage of COBYQA. If you want to use COBYQA in your project, please refer to the API documentation. This guide is intended for developers who want to contribute to the COBYQA solver and to derivative-free optimization solvers in general.

The cobyqa module has four submodules, detailed below. Users do not need to import these submodules when using COBYQA.

The problem module implements classes for representing optimization problems.

The models module implements the models used by COBYQA.

The framework module implements the trust-region framework used by COBYQA.

The subsolvers module implements the subproblem solvers used by COBYQA.

The utils module implements the utilities for COBYQA.