Models and Algorithms of Time-Dependent Scheduling