Needs oriented optimization using the AutoScheduler