A genetic algorithm for the optimization of cable routing