# CostHistory¶

class CostHistory(*, iteration_values=None, historical_best=None)

The cost history of an optimization. Its contents depend on the cost_history_scope selected.

Variables
• iteration_values (List[List[float]], optional) – The list of values of the cost function at each iteration for each optimization.

• historical_best (List[List[float]], optional) – The list of best values of the cost function reached up to each iteration for each optimization.