optional · interactive figures

22

Explore: reductions and the FPTAS

The deck's 3-SAT gadget with the assignment in your hands, and the knapsack FPTAS with ε on a slider.

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

22 · explore

The gadget, with your assignment

Try: set x₂ = false with x₁ = true, x₃ = true, then flip x₃. Static versions: the reduction, the gadget on the example.

22 · explore

The FPTAS, with ε on a slider

Try: slide ε from 0.05 up to 2 and watch which items are picked and how small the value table gets. Static version: the FPTAS on four items.