A heuristic algorithm is used to help find a reasonable solution to a computational problem in a short amount of time.