4. Optimizer, an ask-and-tell interface

Use the Optimizer class directly when you want to control the optimization loop. We refer to this as the ask-and-tell interface. This class is used internally to implement the skopt’s top level minimization functions.