Solve route and colouring problems with graph theory
8 steps · about 1 h 50 min · Beginner
- Start the OpenStax chapter on graph theory (tutorial, OpenStax, 10 min)
A free textbook chapter with exercises for every section.
- Solve the Seven Bridges of Konigsberg puzzle (article, Wikipedia, 10 min)
The puzzle that started graph theory, with Euler's argument.
- Test a graph for an Euler path or circuit (article, Wikipedia, 15 min)
Gives the vertex-degree rule for drawing every edge once.
- Look for a Hamiltonian path through every vertex (article, Wikipedia, 15 min)
Shows how visiting every vertex differs from using every edge.
- Frame a delivery route as a travelling salesman problem (article, Wikipedia, 20 min)
Explains the shortest-tour problem and common heuristics.
- Recognise trees and count their edges (article, Wikipedia, 10 min)
Covers the n - 1 edge rule and spanning trees.
- Check whether a graph is planar with Euler's formula (article, Wikipedia, 15 min)
Uses V - E + F = 2 to rule graphs in or out.
- Colour a map with as few colours as possible (tutorial, Wikipedia, 15 min)
Introduces chromatic number and scheduling uses.