从MiniZinc到最优化模理论,再返回(扩展版)
From MiniZinc to Optimization Modulo Theories, and Back (Extended Version)
摘要:
优化模理论(Optimization Modulo Theories,OMT)是SMT的一个扩展,它允许找到优化目标函数的模型。在本文中,我们的目标是弥合之间的差距约束编程(CP)和OMT,在两个方向。首先,我们用FlatZinc接口扩展了OMT求解器OptiMathSAT,它也可以用作其他OMT求解器的FlatZinc到OMT编码器。这使得OMT工具可以与mzn 2fzn结合使用,解决来自MiniZinc社区的大量CP问题。其次,我们介绍了一个工具,用于将线性算术和位向量理论上的SMT和OMT问题转换为MiniZinc。这使得MiniZinc求解器可以用于大量的SMT/OMT问题。我们已经讨论了我们必须在两个方向上处理的主要问题。我们已经进行了广泛的实证评估,比较了三种最先进的基于OMT的工具与许多最先进的CP工具(i)来自MiniZinc挑战的CP问题,以及(ii)主要来自形式化验证的OMT问题。这种分析还使我们能够确定一些关键,在效率和正确性方面,一个人必须应付时,解决CP问题与OMT工具,反之亦然。
英文摘要:
Optimization Modulo Theories (OMT) is an extension of SMT that allows for finding models that optimize objective functions. In this paper we aim at bridging the gap between Constraint Programming (CP) and OMT, in both directions. First, we have extended the OMT solver OptiMathSAT with a FlatZinc interface -- which can also be used as a FlatZinc-to-OMT encoder for other OMT solvers. This allows OMT tools to be used in combination with mzn2fzn on the large amount of CP problems coming from the MiniZinc community. Second, we have introduced a tool for translating SMT and OMT problems on the linear arithmetic and bit-vector theories into MiniZinc. This allows MiniZinc solvers to be used on a large amount of SMT/OMT problems. We have discussed the main issues we had to cope with in either directions. We have performed an extensive empirical evaluation comparing three state-of-the-art OMT-based tools with many state-of-the-art CP tools on (i) CP problems coming from the MiniZinc challenge, and (ii) OMT problems coming mostly from formal verification. This analysis also allowed us to identify some criticalities, in terms of efficiency and correctness, one has to cope with when addressing CP problems with OMT tools, and vice versa.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。