cobyqa.framework.TrustRegion.get_constraint_linearizations#

TrustRegion.get_constraint_linearizations(x)[source]#

Get the linearizations of the constraints at a given point.

Parameters:
xnumpy.ndarray, shape (n,)

Point at which the linearizations of the constraints are evaluated.

Returns:
numpy.ndarray, shape (m_linear_ub + m_nonlinear_ub, n)

Left-hand side matrix of the linearized inequality constraints.

numpy.ndarray, shape (m_linear_ub + m_nonlinear_ub,)

Right-hand side vector of the linearized inequality constraints.

numpy.ndarray, shape (m_linear_eq + m_nonlinear_eq, n)

Left-hand side matrix of the linearized equality constraints.

numpy.ndarray, shape (m_linear_eq + m_nonlinear_eq,)

Right-hand side vector of the linearized equality constraints.