Text this: Solving the buffer allocation problem using simulation-based optimisation