example_SANN {CAISEr}R Documentation

Simulated annealing (for testing/examples)

Description

Adapted from stats::optim(). Check their documentation / examples for details.

Usage

example_SANN(Temp, budget, instance)

Arguments

Temp

controls the "SANN" method. It is the starting temperature for the cooling schedule.

budget

stop criterion: number of function evaluations to execute

instance

an instance object (see calc_nreps() for details)

Examples

## Not run: 
instance <- list(FUN = "TSP.dist", mydist = datasets::eurodist)

example_SANN(Temp = 2000, budget = 10000, instance = instance)

## End(Not run)



[Package CAISEr version 1.0.17 Index]