Optimization problem#

This module implements classes for representing optimization problems tackled by COBYQA.

Function(fun, verbose, store_f_hist, ...)

Base class for objective and constraints functions.

Constraints()

Base class for constraints.

ObjectiveFunction(fun, verbose, store_hist, ...)

Real-valued objective function.

BoundConstraints(xl, xu)

Bound constraints xl <= x <= xu.

LinearConstraints(a, b, is_equality, debug)

Linear constraints a @ x <= b or a @ x == b.

NonlinearConstraints(fun, is_equality, ...)

Nonlinear constraints fun(x) <= 0 or fun(x) == 0.

Problem(obj, x0, bounds, linear_ub, ...)

Optimization problem.