Global minimum cut — Stoer–Wagner
Split towns into two groups so closing the roads between them costs as little as possible. Each road is marked with the cost of closing it.
In each phase add the group most strongly connected to those already selected. The last group yields a candidate cut. Merge the last two groups and compare phase results.
With a capacity matrix, time is O(V³) and space O(V²).