TSP toy problem solved by Cross-Entropy Method (stochastic optimization procedure) based on generation of multiple random paths.
Sebastien PARIS (2021). Cross Entropy TSP Solver (https://www.mathworks.com/matlabcentral/fileexchange/4821-cross-entropy-tsp-solver), MATLAB Central File Exchange. Retrieved .
why it doesn't work? It says some functions lack one input
Thank you very much!!
Update with missing file (cost_tsp) coming soon. Thx for reporting this.
??? Undefined command/function 'cost_TSP'.
Error in ==> TSP_CE at 155
[S , indice] = sort(cost_TSP(L , X));
Error in ==> demo_TSP_CE at 33
[X_opt , S_opt , Pt , T] = TSP_CE(L , X1 , option);
file demo_TSP_CE does not work,after recompile both mex files
very useful and well written. Thanks for sharing
You have to recompile both mex files if your are not using a win32 system.
does not work; even example in "help TSP_CE" does not work; demo file doesn't work either; all give same error:
??? Error using ==> generation_TSP
Too many input arguments.
Error in ==> TSP_CE at 152
X = generation_TSP(Pt , option.N , X1);
please send me the TSP solver where the input is coordinat
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!