Optimal and near-optimal resource allocation for transportation infrastructure protection