Scheduling under resource constraints — Deterministic models