cobyqa.models.Models.ceq#

Models.ceq(x, mask=None)[source]#

Evaluate the quadratic models of the nonlinear equality functions at a given point.

Parameters:
xnumpy.ndarray, shape (n,)

Point at which to evaluate the quadratic models of the nonlinear equality functions.

masknumpy.ndarray, shape (m_nonlinear_eq,), optional

Mask of the quadratic models to consider.

Returns:
numpy.ndarray

Values of the quadratic model of the nonlinear equality functions.