What separates an approximation algorithm from a heuristic?
- Approximations run only on small inputs
- Approximations carry a proved ratio while heuristics carry no promise
- Heuristics never produce good answers
A problem is NP-hard. What does that rule out?
- An exact method that runs fast on every input
- Any useful answer for large inputs
- Testing a method on real data
In the vertex cover 2-approximation, the matched edges may share vertices.
Circle one: True False
A routing tool guarantees a route never longer than 1.5 times the shortest, on every input. What is it?
- An exact method in disguise
- A heuristic with confident marketing
- An approximation with ratio 1.5
Your matching holds 4 edges. At most how many vertices enter the cover?
Answer: ______________
A huge network must be handled by Friday, and the contract demands a result within twice the optimum. What do you choose?
- An exact method stretched past the deadline
- An approximation with a proved factor of 2
- A heuristic because it feels quick
A vendor reports its scheduler usually lands within 5 percent of optimum and calls it a 1.05-approximation. What is the mistake?
- Schedulers cannot be measured at all
- Five percent is too small a gap to matter
- Measurements report the past but prove no promise for every input
A classmate says the factor of 2 holds because the matching built is the largest possible. What is wrong?
- The factor comes from each matched edge needing a distinct optimum vertex, not from a largest matching
- The cover must contain every vertex of the network
- Matchings are banned from approximations