class HistoryScope(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Configuration for the kinds of history data to be returned.

  • NONE – Do not return any history information.

  • ITERATION_VALUES – Return the value obtained at each iteration and optimization.

  • HISTORICAL_BEST – Return the best values reached up to each iteration for each optimization.

  • ALL – Return both the values obtained at each iteration and the historical best values.