计算机科学
基数(数据建模)
后悔
答案集编程
编码(内存)
集合(抽象数据类型)
灵活性(工程)
匹配(统计)
多样性(控制论)
数学优化
理论计算机科学
程序设计语言
人工智能
数学
数据挖掘
机器学习
统计
作者
Sofie De Clercq,Steven Schockaert,Martine De Cock,Ann Nowé
出处
期刊:Theory and Practice of Logic Programming
[Cambridge University Press]
日期:2016-03-07
卷期号:16 (3): 247-268
被引量:3
标识
DOI:10.1017/s147106841600003x
摘要
Abstract Since the introduction of the stable marriage problem (SMP) by Gale and Shapley (1962), several variants and extensions have been investigated. While this variety is useful to widen the application potential, each variant requires a new algorithm for finding the stable matchings. To address this issue, we propose an encoding of the SMP using answer set programming (ASP), which can straightforwardly be adapted and extended to suit the needs of specific applications. The use of ASP also means that we can take advantage of highly efficient off-the-shelf solvers. To illustrate the flexibility of our approach, we show how our ASP encoding naturally allows us to select optimal stable matchings, i.e. matchings that are optimal according to some user-specified criterion. To the best of our knowledge, our encoding offers the first exact implementation to find sex-equal, minimum regret, egalitarian or maximum cardinality stable matchings for SMP instances in which individuals may designate unacceptable partners and ties between preferences are allowed.
科研通智能强力驱动
Strongly Powered by AbleSci AI