cobyqa.models.Models.ceq_grad#

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

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

Parameters:
xnumpy.ndarray, shape (n,)

Point at which to evaluate the gradients of 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

Gradients of the quadratic model of the nonlinear equality functions.