Improving the Hopfield model performance when applied to the traveling salesman problem