Approximation algorithms: introduction
Coping with NP-hardness-hard problem: unlikely to have an algorithm that always produces correct answer and runs in polynomial time even in worst case In practice, -hard problems need to be solved all the time We can relax correctness as well as worst case conditions:
• Modify the problem: change objective, restrict inputs, change input model, …
• Relax correctness condition: allow approximate answers.
Algorithm that gives a near-optimal solution is called approximation
algorithm.
In complexity theory we focused on decision problems (yes/no
answers)
In approximation algorithms we focus on optimization problems:
maximize or minimize a given objective function
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |