On the scheduling problems using simulated-annealing-based heuristics