Sample VRP problem with PSO solution.
Before run the example, you must to create a folder 'results' inside the project folder; that folder will be the place to put all results from the 30 tests that the algorithm make.
The datasets are inside the folder db in the file tests.csv. If you want to use an other datasets, only replace de value from the filename at line 5 in main_pso.
In file main_pso.m are all the main code to execute the test. The others files are functions that we need like dist.m (used to calculate the euclidean distance between all points) and simple_o_function.m (used to gets the fitness of the chromosomes).