cobyqa.problem.NonlinearConstraints#
- class cobyqa.problem.NonlinearConstraints(fun, is_equality, verbose, store_hist, hist_size, debug, *args)[source]#
Nonlinear constraints
fun(x) <= 0
orfun(x) == 0
.- Attributes:
Methods
__call__
(x)Evaluate the function.
apply_barrier
([val])Apply the barrier function to the function value.
project
(x)Project a point onto the feasible set.
resid
(x, *args)Evaluate the constraint residuals.