Graph Algorithms
In the winter semester 2026/2027, I teach the course on Graph Algorithms. The lecture covers advanced algorithms for shortest paths, network flows, minimum spanning trees, and some other graph problems. Several graph data structures will be mentioned, too.
The course is scheduled on Mondays from 9:00 in room S3 and taught in English this year.
If you want to consult anything, please write an e-mail to mares@kam.mff.cuni.cz and we will discuss possibilities.
| date | topics | recording |
|---|---|---|
| 5. 10. | Network flows: formulation of the problem, basic theorems (min-cut/max-flow, integrality), Ford-Fulkerson algorithm. Finding bipartite matchings and vertex/edge-disjoint paths using flows. | video |
| 12. 10. | Network flows: Symmetric formulation (total flow). Dinitz algorithm and its behavior on special networks. | video |
| 19. 10. | Network flows: Scaling algorithm for integer capacities. Disjoint paths, cuts and separators using flows. Finding cuts probabilistically: random contractions and their analysis. | video |
| 26. 10. | Finding cuts probabistically: boosting probability, implementation, the Karger-Stein algorithm. Shortest paths: general properties, woes with negative cycles, prefix property and shortest path trees. | video |
| 2. 11. | Plan: Shortest paths: Relaxation scheme. Bellman-Ford-Moore algorithm as a special case of relaxation. Dijkstra's algorithm and related data structures: various kinds of heaps. |
Recommended reading
- In English:
- Version 2025 of this course
- Version 2024 of this course with video recordings (this year's version will be quite similar)
- Alexander Schrijver: Combinatorial Optimization
- The Saga of Minimum Spanning Trees (my Ph.D. thesis, contains detailed discussion of minimum spanning trees and models of computation)
- Online lectures from 2020
- Ukkonen's algorithm (translation of a part of my lecture notes)
- In Czech:
- Skriptíčka Krajinou grafových algoritmů (mají i v knihovně na MS, ale v elektronické verzi jsou kapitoly navíc a opravené chyby)
- Průvodce labyrintem algoritmů
- Jiří Demel: Grafy a jejich aplikace (základní algoritmy, Kleeneho algebry)