optional · interactive figures

23

Explore: greedy and metric TSP

Greedy set cover purchase by purchase, and the double tree and Christofides built step by step on the deck's six points and on eight more.

optional: nothing in the lab depends on itback to the slides

23 · explore

Greedy set cover, purchase by purchase

Try: step through the three purchases and watch step 2 choose the cheaper-looking S3. Static version: greedy set cover on five elements.

23 · explore

The double tree and Christofides, step by step

Try: both algorithms on the six points, then on the eight points, where the matching has choices and Christofides wins. Static versions: double tree, Christofides, both on six points.