Hello. I've been looking for this for long time. My problems is related with TSP, but at the same time it's really doesn't. Would it be able to set the number of cities that has to be visited out of all cities. For example : We have 80 cities spreaded around. Out of all 80 we have to connect only 40 towns in loop. Also the task is to join them as so that between each citie there is 40 km or units (units would be used if we do not know exact lenght between cities and when we use (x,y) for city location.
If you know how to make that, I would be very please.
The code : http://codepad.org/vxdGzCdu
Thank you!