https://www.javacodegeeks.com/2016/07/using-cost-delay-determine-schedule.html
Using cost of delay to determine schedule