Both heuristic algorithm and genetic algorithm are used to generate the solution. An example shows that each solution's total ...