Definition
Makespan
The makespan of a schedule is the time at which all scheduled jobs have completed.
If is the completion time of job , then the makespan is
Interpretation
Makespan measures the total length of the schedule. In an interval instance with fixed intervals , the completion time of job is , so
For general scheduling problems, minimising makespan means finishing the whole set of jobs as early as possible.
Makespan vs. Processing time
Makespan is elapsed time, while total processing time is total work:
These are equal only in special cases, such as one machine with no idle time and all jobs starting at time .
The left schedule has no idle time on one machine, so elapsed time equals total work. The right schedule does units of work, but two machines process the jobs simultaneously, so the elapsed time is only .
Objective
Makespan objective
The scheduling objective
asks for a feasible schedule with minimum makespan.
Minimising makespan is common when all jobs must be completed and the main cost is the final completion time, not the completion time of individual jobs.
Examples
Household chores on one machine
Suppose one person must complete all chores. This is the scheduling problem
With one person, the chores must be done sequentially. If the processing times add to , then the minimum makespan is .
Household chores on two identical machines
Suppose two people can work in parallel on the chores. This is the scheduling problem
The same total work can finish earlier because two chores may run at the same time. In this schedule, both people are busy until time , so the makespan is .