This can be finished before the algorithm is operate. Some options can't be calculated correctly. For these heuristic algorithms can be used. These algorithms give close to more than enough solutions to the problems. There are some problems, much like the halting dilemma, for which researchers have proved no algorithm http://computersciencehomeworkhe06924.blogdigy.com/hire-someone-for-programming-assignment-no-further-a-mystery-11747081