Purpose: A 0.878-approximation for MAX-CUT using semidefinite programming and random hyperplane rounding — the result that launched SDP-based approximation algorithms (1994).
The Problem
MAX-CUT: partition the vertices of a weighted graph into two sets to maximise the total weight of edges crossing the partition. NP-hard, and (unlike min cut) not solvable by flows.
Naive baseline: assign each vertex to a side by a coin flip. Each edge crosses with probability , giving a 0.5-approximation in expectation. Local search (move any vertex that improves the cut) gives too. Goemans-Williamson beats both substantially.
The Algorithm
- Relax. Write MAX-CUT as an integer quadratic program with :
Relax each scalar to a unit vector :
This is a semidefinite program (the Gram matrix must be PSD), solvable to arbitrary precision in polynomial time by interior-point methods. - Round. Draw a uniformly random hyperplane through the origin — i.e. a random Gaussian vector — and set
Vertices on opposite sides of the hyperplane end up on opposite sides of the cut.
The Analysis
Two unit vectors at angle are separated by a random hyperplane with probability exactly . The SDP’s contribution from that edge is . So the ratio for each edge is
The minimum is attained near radians (). Summing over edges and using linearity of expectation gives
Complexity
- SDP solution: polynomial, but with a large constant — practical up to a few thousand vertices
- Rounding: per trial; repeat and keep the best
- Overall: polynomial, but not a competitive-programming tool
Optimality
Khot, Kindler, Mossel and O’Donnell showed that assuming the Unique Games Conjecture, no polynomial algorithm beats for MAX-CUT. Without UGC, the best unconditional hardness is . So Goemans-Williamson is very likely optimal — a rare and striking situation.
Why it matters conceptually
It established the template for modern approximation:
- write the problem as an integer program;
- relax to something convex (LP or SDP);
- round the fractional solution randomly;
- bound the loss from rounding.
The same recipe gives randomized rounding for set cover, sparsest cut, colouring, and constraint satisfaction generally.
Variants / Use Cases
- MAX-2SAT, MAX-DICUT, correlation clustering — the same SDP + hyperplane technique
- Randomized rounding — the LP version of the same idea
- Approximation Algorithms — the topic page
- In a contest — for a MAX-CUT-flavoured problem, use local search or simulated annealing; they have no guarantee but excellent practical quality