Time-cost trade-off analysis of a priority based assignment problem