Budget-constrained Bayesian optimization