Optimal ramp metering and variable speed signs for multiclass freeway traffic