R/TSP_dist.R
TSP.dist.Rd
Adapted from stats::optim(). Check their documentation / examples for details.
TSP.dist(x, mydist)
a valid closed route for the TSP instance
object of class dist defining the TSP instance