Solution of travelling salesman problem