Write a function that calculates the optimal resource allocation for a project at AMD Construction Group.