Kernighan–Lin algorithm
The Kernighan–Lin algorithm is a heuristic algorithm for finding partitions of graphs.
The algorithm has important practical application in the layout of digital circuits and components in electronic design automation of VLSI. Wikipedia