Practice Discrete Math

Algorithms / Approximation Algorithms

Least You Need to Know: Approximation Algorithms, Ratios, and Provable Near-Optimality

Approximation algorithms matter when exact optimization is computationally hard. The central ideas are the approximation ratio, how it differs for minimization and maximization, and how proofs compare the algorithm's output against an unknown optimum using a structural bound.

The least you need to know

Key notation

OPT the optimal objective value
alpha-approximation provable multiplicative-factor guarantee
ratio how far the algorithm can be from optimum in the worst case

Tiny worked example

  • A common proof for **Vertex Cover** uses a maximal matching.
  • Picking both endpoints of every matched edge gives a cover.
  • If the matching has `m` edges, any vertex cover needs at least `m` vertices, but the algorithm picks `2m`.
  • That proves a factor-2 approximation.

Common mistakes

How to recognize this kind of problem

Start practice