matlab - application of the metropolis criterion on neighbour in simulated annealing algorithm -


i'm working on simulated annealing , have problem application of metropolis criterion. use 2 methods: first, apply metroplolis criterion on every neighbour generated , when in algorithm (i'm working matlab), algorithm refuses neighbour , accepts 2 or three, not best solutions,and @ end have result not desired optimum. second, when generated new neighboor,i compare energy energy of current solution , if less , keep neighbour , if not case applied criterion of metroplis on see if keep or not. in way satisfactory results. wonder if it's logic of simulated annealing, because don't yet know when apply metropolis criterion. on every generated neighbour? if case, second method correct? , random should between 0 , 1?or possible generate random in other interval? thank


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -