cobyqa.problem.BoundConstraints.project#

BoundConstraints.project(x)[source]#

Project a point onto the feasible set.

Parameters:
xarray_like, shape (n,)

Point to be projected.

Returns:
numpy.ndarray, shape (n,)

Projection of x onto the feasible set.