desc.objectives.ObjectiveFunction.print_value
- ObjectiveFunction.print_value(x, x0=None, constants=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.
- Returns:
values (dict) – Dictionary mapping objective titles/names to residual values.