Not all AI is generative: Efficient scheduling with mathematics