fn optimize(
    ts: ControlTrafficSignal,
    i: &Intersection
) -> Option<ControlTrafficSignal>