cobyqa.problem.BoundConstraints#

class cobyqa.problem.BoundConstraints(xl, xu)[source]#

Bound constraints xl <= x <= xu.

Attributes:
is_feasible

Whether the bound constraints are feasible.

m

Number of bound constraints.

xl

Lower bound.

xu

Upper bound.

Methods

project(x)

Project a point onto the feasible set.

resid(x, *args)

Evaluate the constraint residuals.