首页> 外文期刊>Concurrency, practice and experience >A learning Portfolio solver for optimizing the performance of constraint programming problems on multi-core computing systems
【24h】

A learning Portfolio solver for optimizing the performance of constraint programming problems on multi-core computing systems

机译:一个学习投资组合求解器,用于优化多核计算系统上约束编程问题的性能

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

This paper describes a learning parallel constraint programming (CP) solver designed for solving CPrnproblems with several instances on massively parallel computing platforms comprising multi-core parallelrnmachines or Many Integrated Cores. The CP solver proposed in this work is based on a Portfolio parallelizationrnthat employs a linear reward inaction learning algorithm in order to obtain the best possible performancernfor a large set of instances of the same problem. The linear reward inaction algorithm enables the predictionrnof the number of cores to be assigned to each search strategy based on previous experiments, reducing therncomputing time required to solve constraint satisfaction and optimization problems. The underlying principlernof the Portfolio approach is to run N sequential search strategies using N computing cores (N To NrnPortfolio) where each core uses its own strategy in order to perform a search that is different from strategiesrnused by the other cores. The first strategy that finds a solution stops all other strategies. The problem withrnthe N To N Portfolio approach is that the number of search strategies is very small compared with the currentrnnumber of computing cores used by the parallel machines. However, using an internal parallelizationrnfor each search strategy, it is possible to run N parallel search using P computing cores with P u0002 N (NrnTo P Portfolio). This N To P Portfolio performs suboptimally for solving different CP problems becausernmany computing resources are wasted. To improve this Portfolio model, an adaptive N To P Portfolio wasrnproposed, which tries to privilege the strategy that is most likely to find a solution first in order to give itrnmore computing cores than the other strategies. However, the main problem with the adaptive Portfolio isrnthat it loses all the learned information at the end of each search; it is designed to solve just one CP problem.rnFurthermore, many computational resources are wasted by both Portfolio solvers, the non-adaptive (N TornN and N To P) and the adaptive N To P Portfolio, when employed in some industrial projects, such as thernPAJERO project, which always solves different instances of the same CP problem. To minimize the amountrnof wasted resources and to learn the most efficient search strategies, we propose a new learning Portfoliornsolver that uses a learning algorithm that configures automatically number of cores to each search. The performancernobtained using the different Portfolio solvers is compared and illustrated by solving CP problemsrnusing as example the Google OR-Tools solver.
机译:本文介绍了一种学习并行约束编程(CP)求解器,该求解器设计用于在包含多核并行机或许多集成核的大规模并行计算平台上解决具有多个实例的CPrn问题。这项工作中提出的CP解算器基于投资组合并行化,该组合采用线性奖励无所作为学习算法,以便针对同一问题的大量实例获得最佳的性能。线性奖励无为算法使得能够基于先前的实验预测要分配给每个搜索策略的核数,从而减少了解决约束满足和优化问题所需的计算时间。投资组合方法的基本原理是使用N个计算核心(N至NrnPortfolio)运行N个顺序搜索策略,其中每个核心都使用自己的策略以执行与其他核心使用的策略不同的搜索。找到解决方案的第一个策略将停止所有其他策略。 N对N资产组合方法的问题在于,与并行机当前使用的计算核心数量相比,搜索策略的数量非常少。但是,通过对每个搜索策略使用内部并行化,可以使用具有P u0002 N(NrnTo P Portfolio)的P个计算核运行N个并行搜索。由于浪费了许多计算资源,因此该N对P产品组合在解决各种CP问题方面表现欠佳。为了改进此投资组合模型,提出了一种自适应的N至P投资组合,该方法试图优先考虑最有可能首先找到解决方案的策略,以便为它提供比其他策略更多的计算核心。但是,自适应组合的主要问题是,每次搜索结束时,它都会丢失所有学习到的信息。而且,在某些工业项目中使用投资组合求解器时,非自适应投资组合(N TornN和N To P)和自适应N To P投资组合都浪费了许多计算资源。作为rnPAJERO项目,它总是解决同一CP问题的不同实例。为了最大程度地减少浪费的资源并学习最有效的搜索策略,我们提出了一种新的学习型Portfoliornsolver,它使用一种学习算法来自动配置每次搜索的核心数。通过使用Google OR-Tools求解器解决CP问题来比较和说明使用不同的Portfolio求解器获得的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号