In computer science, heuristics means using guesswork to solve problems more quickly when normal methods are providing too slow.
It is a shortcut that trades off optimality, completeness, accuracy or precision against speed.
Rather than achieving a complete solution, heuristics may take the best approach available at the time even if this precludes taking a more optimal route at a later juncture.