Flexible Framework For Co-Optimizing Dynamic Traffic Signal Control: Foundation For Adaptive Optimization Strategies