Execute Floyd-Warshall to compute all-pairs shortest paths and identify the city with minimal threshold-connectivity.