optiprofiler.Problem.cub#
- Problem.cub(x)[source]#
Evaluate the nonlinear constraints
cub(x) <= 0.- Parameters:
- xarray_like, shape (n,)
Point at which to evaluate the nonlinear inequality constraints.
- Returns:
numpy.ndarray, shape (m_nonlinear_ub,)Values of the nonlinear inequality constraints at x.
- Raises:
- ValueError
If the argument x has an invalid shape or if the return value of the argument
cubhas an invalid shape.