Companion code for the paper "Multi-step budgeted Bayesian optimization with unknown evaluation costs".