cobyqa.problem.NonlinearConstraints#
- class cobyqa.problem.NonlinearConstraints(constraints, verbose, debug)[source]#
Nonlinear constraints
c_ub(x) <= 0
andc_eq(x) == b_eq
.- Attributes:
Methods
__call__
(x)Calculates the residual (slack) for the constraints.
maxcv
(x[, cub_val, ceq_val])Evaluate the maximum constraint violation.
violation