Optimal And Heuristic Resource Allocation Policies In Serial Production Systems