Constraints最新文献

筛选
英文 中文
Plotting: a case study in lifted planning with constraints 绘图:带约束条件的提升规划案例研究
IF 1.6 4区 计算机科学
Constraints Pub Date : 2024-09-13 DOI: 10.1007/s10601-024-09370-x
Joan Espasa, Ian Miguel, Peter Nightingale, András Z. Salamon, Mateu Villaret
{"title":"Plotting: a case study in lifted planning with constraints","authors":"Joan Espasa, Ian Miguel, Peter Nightingale, András Z. Salamon, Mateu Villaret","doi":"10.1007/s10601-024-09370-x","DOIUrl":"https://doi.org/10.1007/s10601-024-09370-x","url":null,"abstract":"<p>We study a planning problem based on Plotting, a tile-matching puzzle video game published by Taito in 1989. The objective of this turn-based game is to remove a target number of coloured blocks from a grid by sequentially shooting blocks into the same grid. Plotting features complex transitions after every shot: various blocks are affected directly, while others can be indirectly affected by gravity. We consider modelling and solving Plotting from two perspectives. The puzzle is naturally cast as an AI Planning problem and we first discuss modelling the problem using the Planning Domain Definition Language (PDDL). We find that a model in which planning actions correspond to player actions is inefficient with a grounding-based state-of-the-art planner. However, with a more fine-grained action model, where each change of a block is a planning action, solving performance is dramatically improved. We also describe two lifted constraint models, able to capture the inherent complexities of Plotting and enabling the application of efficient solving approaches from SAT and CP. Our empirical results with these models demonstrates that they can compete with, and often exceed, the performance of the dedicated planning solvers, suggesting that the richer languages available to constraint modelling can be of benefit when considering planning problems with complex changes of state. CP and SAT solvers solved almost all of the largest and most challenging instances within 1 hour, whereas the best planning approach solved approximately 30%. Finally, the flexibility provided by the constraint models allows us to easily curate interesting levels for human players.</p>","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"74 1","pages":""},"PeriodicalIF":1.6,"publicationDate":"2024-09-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142186093","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Applying constraint programming to minimal lottery designs 将约束程序设计应用于最小抽奖设计
IF 1.6 4区 计算机科学
Constraints Pub Date : 2024-07-09 DOI: 10.1007/s10601-024-09368-5
David Cushing, David I. Stewart
{"title":"Applying constraint programming to minimal lottery designs","authors":"David Cushing, David I. Stewart","doi":"10.1007/s10601-024-09368-5","DOIUrl":"https://doi.org/10.1007/s10601-024-09368-5","url":null,"abstract":"<p>We develop and deploy a set of constraints for the purpose of calculating minimal sizes of lottery designs. Specifically, we find the minimum number of tickets of size six which are needed to match at least two balls on any draw of size six, whenever there are at most 70 balls.</p>","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"15 1","pages":""},"PeriodicalIF":1.6,"publicationDate":"2024-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141574656","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Perception-based constraint solving for sudoku images. 基于感知的数独图像约束解法
IF 0.5 4区 计算机科学
Constraints Pub Date : 2024-01-01 Epub Date: 2024-10-05 DOI: 10.1007/s10601-024-09372-9
Maxime Mulamba, Jayanta Mandi, Ali İrfan Mahmutoğulları, Tias Guns
{"title":"Perception-based constraint solving for sudoku images.","authors":"Maxime Mulamba, Jayanta Mandi, Ali İrfan Mahmutoğulları, Tias Guns","doi":"10.1007/s10601-024-09372-9","DOIUrl":"10.1007/s10601-024-09372-9","url":null,"abstract":"<p><p>We consider the problem of <i>perception-based constraint solving</i>, where part of the problem specification is provided <i>indirectly</i> through an image provided by a user. As a pedagogical example, we use the complete image of a Sudoku grid. While the rules of the puzzle are assumed to be known, the image must be interpreted by a neural network to extract the values in the grid. In this paper, we investigate (1) <i>a hybrid modeling approach</i> combining machine learning and constraint solving for <i>joint inference</i>, knowing that blank cells need to be both predicted as being blank and filled-in to obtain a full solution; (2) the effect of <i>classifier calibration</i> on joint inference; and (3) how to deal with cases where the constraints of the reasoning system are not satisfied. More specifically, in the case of handwritten <i>user errors</i> in the image, a naive approach fails to obtain a feasible solution even if the interpretation is correct. Our framework <i>identifies</i> human mistakes by using a constraint solver and helps the user to <i>correct</i> these mistakes. We evaluate the performance of the proposed techniques on images taken through the Sudoku Assistant Android app, among other datasets. Our experiments show that (1) joint inference can correct classifier mistakes, (2) overall calibration improves the solution quality on all datasets, and (3) estimating and discriminating between user-written and original visual input while reasoning makes for a more robust system, even in the presence of user errors.</p>","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"29 1-2","pages":"112-151"},"PeriodicalIF":0.5,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11534853/pdf/","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142590693","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Optimal multivariate decision trees 最优多元决策树
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-12-27 DOI: 10.1007/s10601-023-09367-y
Justin Boutilier, Carla Michini, Zachary Zhou
{"title":"Optimal multivariate decision trees","authors":"Justin Boutilier, Carla Michini, Zachary Zhou","doi":"10.1007/s10601-023-09367-y","DOIUrl":"https://doi.org/10.1007/s10601-023-09367-y","url":null,"abstract":"<p>Recently, mixed-integer programming (MIP) techniques have been applied to learn optimal decision trees. Empirical research has shown that optimal trees typically have better out-of-sample performance than heuristic approaches such as CART. However, the underlying MIP formulations often suffer from weak linear programming (LP) relaxations. Many existing MIP approaches employ big-M constraints to ensure observations are routed throughout the tree in a feasible manner. This paper introduces new MIP formulations for learning optimal decision trees with multivariate branching rules and no assumptions on the feature types. We first propose a strong baseline MIP formulation that still uses big-M constraints, but yields a stronger LP relaxation than its counterparts in the literature. We then introduce a problem-specific class of valid inequalities called shattering inequalities. Each inequality encodes an inclusion-minimal set of points that cannot be shattered by a multivariate split, and in the context of a MIP formulation, the inequalities are sparse, involving at most the number of features plus two variables. We propose a separation procedure that attempts to find a violated inequality given a (possibly fractional) solution to the LP relaxation; in the case where the solution is integer, the separation is exact. Numerical experiments show that our MIP approach outperforms two other MIP formulations in terms of solution time and relative gap, and is able to improve solution time while remaining competitive with regards to out-of-sample accuracy in comparison to a wider range of approaches from the literature.</p>","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"11 1","pages":""},"PeriodicalIF":1.6,"publicationDate":"2023-12-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"139056475","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A feature commonality-based search strategy to find high $$t$$ -wise covering solutions in feature models 一种基于特征共性的搜索策略,用于在特征模型中寻找高$$t$$ -wise覆盖的解决方案
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-11-30 DOI: 10.1007/s10601-023-09366-z
Mathieu Vavrille
{"title":"A feature commonality-based search strategy to find high $$t$$ -wise covering solutions in feature models","authors":"Mathieu Vavrille","doi":"10.1007/s10601-023-09366-z","DOIUrl":"https://doi.org/10.1007/s10601-023-09366-z","url":null,"abstract":"<p><i>t</i>-wise coverage is one of the most important techniques used to test configurations of software for finding bugs. It ensures that interactions between features of a Software Product Line (SPL) are tested. The size of SPLs (of thousands of features) makes the problem of finding a good test suite computationally expensive, as the number of <i>t</i>-wise combinations grows exponentially. In this article, we leverage Constraint Programming’s search strategies to generate test suites with a high coverage of configurations. We analyse the behaviour of the default random search strategy, and then we propose an improvement based on the commonalities (frequency) of the features. We experimentally compare to uniform sampling and state of the art sampling approaches. We show that our new search strategy outperforms all the other approaches and has the fastest running time.</p>","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"14 4","pages":""},"PeriodicalIF":1.6,"publicationDate":"2023-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"138503090","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Correction to: Solution sampling with random table constraints 修正:随机表约束下的解抽样
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-09-07 DOI: 10.1007/s10601-023-09361-4
Mathieu Vavrille, Charlotte Truchet, Charles Prud’homme
{"title":"Correction to: Solution sampling with random table constraints","authors":"Mathieu Vavrille, Charlotte Truchet, Charles Prud’homme","doi":"10.1007/s10601-023-09361-4","DOIUrl":"https://doi.org/10.1007/s10601-023-09361-4","url":null,"abstract":"","PeriodicalId":55211,"journal":{"name":"Constraints","volume":" ","pages":""},"PeriodicalIF":1.6,"publicationDate":"2023-09-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49188760","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
From Declarative Models to Local Search 从声明模型到本地搜索
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-08-12 DOI: 10.1007/s10601-023-09359-y
Gustav Björdal
{"title":"From Declarative Models to Local Search","authors":"Gustav Björdal","doi":"10.1007/s10601-023-09359-y","DOIUrl":"https://doi.org/10.1007/s10601-023-09359-y","url":null,"abstract":"","PeriodicalId":55211,"journal":{"name":"Constraints","volume":" ","pages":""},"PeriodicalIF":1.6,"publicationDate":"2023-08-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"49001631","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Security-Aware Database Migration Planning 基于安全的数据库迁移规划
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-08-10 DOI: 10.1007/s10601-023-09351-6
U. Acikalin, Bugra Çaskurlu, K. Subramani
{"title":"Security-Aware Database Migration Planning","authors":"U. Acikalin, Bugra Çaskurlu, K. Subramani","doi":"10.1007/s10601-023-09351-6","DOIUrl":"https://doi.org/10.1007/s10601-023-09351-6","url":null,"abstract":"","PeriodicalId":55211,"journal":{"name":"Constraints","volume":" ","pages":""},"PeriodicalIF":1.6,"publicationDate":"2023-08-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"47195776","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
The extensional constraint 外延约束
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-08-03 DOI: 10.1007/s10601-023-09358-z
Hélène Verhaeghe
{"title":"The extensional constraint","authors":"Hélène Verhaeghe","doi":"10.1007/s10601-023-09358-z","DOIUrl":"https://doi.org/10.1007/s10601-023-09358-z","url":null,"abstract":"","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"1 1","pages":""},"PeriodicalIF":1.6,"publicationDate":"2023-08-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"43807247","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Human-centred feasibility restoration in practice 实践中以人为本的可行性修复
IF 1.6 4区 计算机科学
Constraints Pub Date : 2023-06-01 DOI: 10.1007/s10601-023-09344-5
Ilankaikone Senthooran, Matthias Klapperstück, G. Belov, T. Czauderna, Kevin Leo, M. Wallace, Michael Wybrow, M. Garcia de la Banda
{"title":"Human-centred feasibility restoration in practice","authors":"Ilankaikone Senthooran, Matthias Klapperstück, G. Belov, T. Czauderna, Kevin Leo, M. Wallace, Michael Wybrow, M. Garcia de la Banda","doi":"10.1007/s10601-023-09344-5","DOIUrl":"https://doi.org/10.1007/s10601-023-09344-5","url":null,"abstract":"","PeriodicalId":55211,"journal":{"name":"Constraints","volume":"28 1","pages":"203 - 243"},"PeriodicalIF":1.6,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"43212997","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信