首页> 外文会议>International Conference on Evolutionary Computation >Solving MasterMind Using GAs and Simulated Annealing: A Case of Dynamic Constraint Optimization
【24h】

Solving MasterMind Using GAs and Simulated Annealing: A Case of Dynamic Constraint Optimization

机译:使用气体和模拟退火解决母料:动态约束优化的情况

获取原文

摘要

MasterMind is a game in which the player must find out, by making guesses, a hidden combination of colors set by the opponent. The player lays a combination of colors, and the opponent points out the number of positions the player has found out (black tokens) and the number of colors that are in a different place from the hidden combination (white tokens). This problem can be formulated in the following way: the target of the game is to find a string composed of 2 symbols, drawn from an alphabet of cardinality c, using as constraints hints that restrict the search space. The partial objective of the search is to find a string that meets all the constraints made so far the final objective being to find the hidden string.This problem can also be located within the class of constrained optimization, although in this case not all the constraints are known in advance; hence its dynamic nature.Three algorithms playing MasterMind have been evaluated with respect to the number of guesses made by each one and the number of combinations examined before finding the solution: a random-scarch-with-constraints algorithm, simulated annealing, and a genetic, algorithm. The random search and genetic algorithm at each step plays the optimal solution i.e., the one that is consistent with the constraints made so far, while simulated annealing plays the best found within certain time constraints. This paper proves that the algorithms that follow the optimal strategy behave similarly, getting the correct combination in more or less the same number of guesses; between them, GA is better with respect to the number of combinations examined, and this difference increases with the size of the search space, while SA is much faster (around 2 orders of magnitude) and gives a good enough answer.
机译:MasterMind是一个游戏,通过猜测猜测,玩家必须找到猜测的颜色的隐藏组合。播放器奠定了颜色的组合,对手指出了玩家已经发现(黑色令牌)的位置数量和来自隐藏组合(白色标记)的不同位置的颜色的数量。此问题可以以下列方式配制:游戏的目标是找到由来自基数C字母表的2个符号组成的字符串,使用限制搜索空间的约束提示。搜索的部分目标是找到符合到目前为止所做的所有约束的字符串,最终目标是找到隐藏的字符串。这个问题也可以位于约束优化的类中,尽管在这种情况下不是所有的约束提前已知;因此,它的动态性质。已经通过每一个猜测的猜测和在找到解决方案之前检查的猜测数量来评估三种算法,以及在找到解决方案之前的组合数量:随机围巾 - 限制算法,模拟退火和遗传算法, 算法。每个步骤的随机搜索和遗传算法播放最佳解决方案,即,与到目前为止所做的约束一致的那个,而模拟退火在某些时间约束中播放最佳发现。本文证明,遵循最优策略的算法类似地,以更宽或更少的猜测获得正确的组合;在它们之间,Ga对所检查的组合数量更好,并且这种差异随着搜索空间的大小而增加,而SA则更快(大约2个级数)并提供足够好的答案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号