Algorithm 1: Pseudo-code of heuristic procedure for handling the minimum up-time and down-time constraints