Time-Resource Tradeoff Problem