Mathematical Aspects Of Scheduling And Applications