(SimulatedAnnealing(SA)isasmart(meta)-heuristicforOptimization.Givenacostfunctioninalargesearchspace,SAreplacesthecurrentsolutionbyarandom"nearby"solution.ThenearbysolutionischosenwithaprobabilitythatdependsonthedifferencebetweenthecorrespondingfunctionvaluesandonaglobalparameterT(akathetemperature).Tisgraduallydecreasedduringtheprocess.ThecurrentsolutionchangesalmostrandomlywhenTislarge,butincreasingly"downhill"asTgoestozero.Theallowancefor"uphill"movessavesthemethodfrombecomingstuckatlocalminima.ThisapproachhassomesimilitudewithPhysic,wheretheheatcausestheatomstobecomeunstuckfromtheirinitialpositionsandwanderrandomlythroughstatesofhigherenergytheslowcoolinggivesthemmorechancesoffindingconfigurationswithlowerinternalenergythantheinitialone.) - IMDN开发者社群-imdn.cn">
登录
首页 » Unix_Linux » SimulatedAnnealing

SimulatedAnnealing

于 2009-11-21 发布 文件大小:20KB
0 37
下载积分: 1 下载次数: 26

代码说明:

  Simulated Annealing (SA) is a smart (meta)-heuristic for Optimization. Given a cost function in a large search space, SA replaces the current solution by a random "nearby" solution. The nearby solution is chosen with a probability that depends on the difference between the corresponding function values and on a global parameter T (a.k.a the temperature). T is gradually decreased during the process. The current solution changes almost randomly when T is large, but increasingly "downhill" as T goes to zero. The allowance for "uphill" moves saves the method from becoming stuck at local minima. This approach has some similitude with Physic, where the heat causes the atoms to become unstuck from their initial positions and wander randomly through states of higher energy the slow cooling gives them more chances of finding configurations with lower internal energy than the initial one.(Simulated Annealing (SA) is a smart (meta)-heuristic for Optimization. Given a cost function in a large search space, SA replaces the current solution by a random " nearby" solution. The nearby solution is chosen with a probability that depends on the difference between the corresponding function values and on a global parameter T (aka the temperature). T is gradually decreased during the process. The current solution changes almost randomly when T is large, but increasingly " downhill" as T goes to zero. The allowance for " uphill" moves saves the method from becoming stuck at local minima. This approach has some similitude with Physic, where the heat causes the atoms to become unstuck from their initial positions and wander randomly through states of higher energy the slow cooling gives them more chances of finding configurations with lower internal energy than the initial one.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103930会员总数
  • 47今日下载