powered by
Adapted from stats::optim(). Check their documentation / examples for details.
example_SANN(Temp, budget, instance)
controls the "SANN" method. It is the starting temperature for the cooling schedule.
stop criterion: number of function evaluations to execute
an instance object (see calc_nreps() for details)
calc_nreps()
if (FALSE) { instance <- list(FUN = "TSP.dist", mydist = datasets::eurodist) example_SANN(Temp = 2000, budget = 10000, instance = instance) }
Run the code above in your browser using DataLab