Updated solver to write batches of experiences.