Problem
Write code for the Travelling Salesman Problem solved using particle swarm optimization (PSO) solution in Java.
The program will take an n x n adjacency matrix as the input and should display the minimum cost and the optimal tour as the output.