3.12.1. Optimization History¶
add(x: Sequence[float], fx: float)¶
Add a new tuple of (x, f(x)) to the history. This is done automatically by the
Get the total number of history entries
Iterate over history entries
Write all history entries to fpath. The per line write order is
index fx x
Load entries from fpath.