desc.objectives.ObjectiveFunction.print_value
- ObjectiveFunction.print_value(x, x0=None, constants=None, fse=None, f0se=None)Source
Print the value(s) of the objective.
- Parameters:
x (ndarray) – State vector.
x0 (ndarray, optional) – Initial state vector before optimization.
constants (list) – Constant parameters passed to sub-objectives. (Deprecated)
fse (ndarray, optional) – Output of self.compute_scaled_error(x), if available through last iteration of the optimization.
f0se (ndarray, optional) – Output of self.compute_scaled_error(x0), if available through first iteration of the optimization.
- Returns:
values (dict) – Dictionary mapping objective titles/names to residual values.