Optimal strategies for real-time determination of the next job's class in a single machine with setup times and controllable processing times