cobyqa.problem.BoundConstraints#

class cobyqa.problem.BoundConstraints(bounds)[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

maxcv(x)

Evaluate the maximum constraint violation.

project(x)

Project a point onto the feasible set.