optiprofiler.Feature.modifier_cub#
- Feature.modifier_cub(x, seed, problem, n_eval_cub)[source]#
Modify the values of the nonlinear inequality constraints.
- Parameters:
- x
numpy.ndarray, shape (n,) Point at which the nonlinear inequality constraints are evaluated.
- seedint
Seed used to generate random numbers.
- problem
Problem Problem for which the nonlinear inequality constraints are modified.
- n_eval_cubint
Number of evaluations of the nonlinear inequality constraints. (We will use it to generate random streams so that evaluating the same point multiple times will not lead to the same random numbers.)
- x
- Returns:
numpy.ndarrayModified values of the nonlinear inequality constraints.