Some of the hardest problems in computer science ask you to make a collection of yes/no decisions — assign this city to cluster A or B, cut this edge or leave it, color this node red or blue. The number of candidate solutions grows exponentially, and exhaustive search quickly becomes hopeless.
Semidefinite relaxation is a surprising escape route: instead of forcing every variable to be exactly 0 or 1, you let each one become a unit vector in high-dimensional space. The resulting problem — a semidefinite program (SDP) — is convex, can be solved in polynomial time, and its optimum is an upper bound on the hard discrete problem. Then you round the vectors back into binary choices using a randomized geometric trick.
The classic showcase is the Goemans-Williamson algorithm (1995) for the Max-Cut problem. Given a graph, partition its vertices into two groups to maximize the number of edges that cross the partition. Max-Cut is NP-hard, so no one expects an exact polynomial algorithm. Goemans and Williamson showed that their SDP rounding achieves at least 0.878 (about 87.8%) of the optimal cut — a provable guarantee, not just an empirical observation.
Comments
Loading comments...