What is the difference between a heuristic and an algorithm?
What is the difference between a heuristic and an algorithm? kriss An algorithm is the description of an automated solution to a problem . What the algorithm does is precisely defined. The solution could or could not be the best possible one but you know from the start what kind of result you will get. You implement the algorithm using some programming language to get (a part of) a program . Now, some problems are hard and you may not be able to get an acceptable solution in an acceptable time. In such cases you often can get a not too bad solution much faster, by applying some arbitrary