cobyqa.models.Models.cub#
- Models.cub(x, mask=None)[source]#
Evaluate the quadratic models of the nonlinear inequality functions at a given point.
- Parameters:
- x
numpy.ndarray, shape (n,) Point at which to evaluate the quadratic models of the nonlinear inequality functions.
- mask
numpy.ndarray, shape (m_nonlinear_ub,), optional Mask of the quadratic models to consider.
- x
- Returns:
numpy.ndarrayValues of the quadratic model of the nonlinear inequality functions.