approximation algorithms guarantee: solution within factor α of optimal

Can we always find the best solution quickly?

Image: Talmoryair, CC BY-SA 4.0, via Wikimedia Commons

approximation algorithms guarantee: solution within factor α of optimal

Can we always find the best solution quickly?

Imagine you're planning a road trip and trying to find the shortest route. You have several cities to visit, and you want to minimize driving time.

Sometimes, finding the perfect route is too complex, so we use shortcuts that get us close to the ideal path without taking forever.

Example

Instead of calculating every possible route, you use a shortcut that estimates the best route within 10% of the shortest possible time.

Remember this

Approximation algorithms help us find nearly optimal solutions faster when exact solutions are too time-consuming.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath