A lightweight framework for Bayesian and model-based optimisation of black-box functions.