Mathematical Optimization of Treatment Schedules.