Skip to content

Trees and paths

Part 2 · Trees and paths · 2 chapters · Lecture notes (PDF) · Exercises (PDF)

Minimum spanning trees (Kruskal, Prim, the cut and cycle properties) and shortest paths (acyclic graphs, Bellman–Ford, Dijkstra), with potentials as a certificate of optimality.

  • 2. Minimum spanning trees


    The minimum spanning tree problem · Cuts and cycles · The cut property and the cycle property · The generic greedy algorithm

    Read the chapter · Exercises · Slides

  • 3. Shortest paths


    Shortest path problems · Optimality conditions and potentials · The linear programming formulation · Shortest paths in acyclic graphs

    Read the chapter · Exercises · Slides