Calculation method in the schedule problem.rar