cobyqa.problem.NonlinearConstraints#

class cobyqa.problem.NonlinearConstraints(constraints, verbose, debug)[source]#

Nonlinear constraints c_ub(x) <= 0 and c_eq(x) == b_eq.

Attributes:
m_eq

Number of nonlinear equality constraints.

m_ub

Number of nonlinear inequality constraints.

n_eval

Number of function evaluations.

Methods

__call__(x)

Evaluate the constraints.

maxcv(x[, cub_val, ceq_val])

Evaluate the maximum constraint violation.