desc.objectives.ObjectiveFunction.compute_scaled_error

ObjectiveFunction.compute_scaled_error(x, constants=None)Source

Compute and apply the target/bounds, weighting, and normalization.

Parameters:
  • x (ndarray) – State vector.

  • constants (list) – Constant parameters passed to sub-objectives.

Returns:

f (ndarray) – Objective function value(s).