optiprofiler.Problem.ceq

Contents

optiprofiler.Problem.ceq#

Problem.ceq(x)[source]#

Evaluate the nonlinear constraints ceq(x) == 0.

Parameters:
xarray_like, shape (n,)

Point at which to evaluate the nonlinear equality constraints.

Returns:
numpy.ndarray, shape (m_nonlinear_eq,)

Values of the nonlinear equality constraints at x.

Raises:
ValueError

If the argument x has an invalid shape or if the return value of the argument ceq has an invalid shape.