A flexible transfer learning framework for Bayesian optimization with convergence guarantee | Litlas