Purpose: Turn a fractional LP solution into an integral one by treating the fractional values as probabilities — the technique that made linear programming a general-purpose tool for approximation algorithms (1987).

The Recipe

  1. Formulate the problem as an integer linear program.
  2. Relax the integrality constraints () and solve the LP in polynomial time. Its value bounds .
  3. Round randomly: set independently with probability .
  4. Analyse: the expected objective is exactly by linearity, and concentration bounds (Chernoff) show the constraints are nearly satisfied with high probability.
  5. Repair or repeat to fix the few violated constraints.

Worked example: set cover

Solve the LP, then round: repeat independent rounds, in each of which set is picked with probability .

  • Cost. Each round costs in expectation, so total.
  • Coverage. Element is missed in one round with probability . After rounds the failure probability is ; union bound over all elements.

Result: an -approximation — matching the greedy algorithm, and matching the hardness (Feige/Dinur-Steurer).

The key tool: Chernoff bounds

For independent with :


These say a sum of independent bounded variables is very close to its mean — which is exactly the guarantee randomized rounding needs to claim “the rounded solution nearly satisfies every constraint.”

Where it applies

ProblemLP relaxationResult
Set coverfractional cover-approximation
Vertex coverfractional cover (half-integral)2-approximation (deterministic rounding at )
Congestion minimisation / multicommodity routingfractional flow congestion — the original application
Facility locationfractional assignmentconstant factor with clustered rounding
Scheduling on unrelated machinesassignment LP2-approximation (Lenstra-Shmoys-Tardos)
MAX-SATLP + biased coins3/4-approximation

The original Raghavan-Thompson paper was about global wire routing in VLSI: route many nets through a grid minimising the maximum congestion. Fractional routing is a flow LP; rounding each net to a single random path with the LP’s probabilities keeps congestion within of optimal.

Derandomisation

Randomized rounding can be made deterministic by the method of conditional expectations: decide the variables one at a time, always choosing the value that keeps the conditional expectation of the objective at least as good. Pessimistic estimators make the conditional expectations efficiently computable. This is a genuinely useful proof technique and occasionally a constructive one.

Variants / Use Cases

  • Goemans-Williamson — the SDP analogue, with hyperplane rounding
  • Approximation Algorithms — the topic page
  • Randomized Algorithms — Chernoff bounds and concentration
  • In a contest — LP relaxations rarely appear directly, but the idea that a fractional optimum bounds the integral one is a useful way to reason about greedy quality