The aim is to achieve the best overall departure rate (maximum number of aircraft airborne in the minimum time) without in any way compromising safety, and taking into account the factors mentioned by HD.
A similar principle applies to inbounds to achieve the best overall landing rate.