% Demo of using simulated annealing (SA) to solve the traveling salesman problem.


%% Random initialization of TSP problem
N = 20;
% [X, Y] = init_bipartite(N);
% [X, Y] = init_circle(N);
% [X, Y] = init_random(N);
plot_tour(X,Y);
pause(); % hit any button to proceed

%% Simulated Annealing
simulated_annealing(X,Y);


