3
6 September 2010 5
Class NP
Another Example:
Find minimal length tour of n cities where we begin and
end at the same place.
This is called closed tour problem.
N! different tours are possible.
If we have a tour (a solution), we can easily check to
see how long it is.
Thus, if we want a tour of less than some fixed length,
we can quickly check candidates to see if they qualify.
Also, previous tours can help find a new one that could
potentially provide better result
Genetic algorithm