Simple and integrated heuristic algorithms for scheduling tasks with time and resource constraints