Text this: Computational design of clinical trials using a combination of simulation and the genetic algorithm