optiprofiler.Feature.modifier_ceq#
- Feature.modifier_ceq(x, seed, problem, n_eval_ceq)[source]#
Modify the values of the nonlinear equality constraints.
- Parameters:
- x
numpy.ndarray, shape (n,) Point at which the nonlinear equality constraints are evaluated.
- seedint
Seed used to generate random numbers.
- problem
Problem Problem for which the nonlinear equality constraints are modified.
- n_eval_ceqint
Number of evaluations of the nonlinear equality 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 equality constraints.