In scheduling, tardiness is a measure of a delay in executing certain operations and earliness is a measure of finishing operations before due time. The operations may depend on each other and on the availability of equipment to perform them.
Typical examples include job scheduling in manufacturing and data delivery scheduling in data processing networks.[1]
In manufacturing environment, inventory management considers both tardiness and earliness undesirable. Tardiness involves backlog issues such as customer compensation for delays and loss of goodwill. Earliness incurs expenses for storage of the manufactured items[2] and ties up capital.
In an environment with multiple jobs, let the deadline be
di
Ci
i
i
Li=Ci-di
Ei=max(0,di-Ci)
Ti=max(0,Ci-di)
In scheduling common objective functions are
Cmax,Lmax,Emax,Tmax,\sumCi,\sumLi,\sumEi,\sumTi
wiCmax,wiLmax,wiEmax,wiTmax,\sumwiCi,\sumwiLi,\sumwiEi,\sumwiTi
wi
In a large number of cases the problems of optimizing these functions are NP-hard.[3]