计算机科学 > 程序设计语言
[提交于 2016年8月12日]
标题:MiniZinc with Strings
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Strings are extensively used in modern programming languages and constraints over strings of unknown length occur in a wide range of real-world applications such as software analysis and verification, testing, model checking, and web security. Nevertheless, practically no CP solver natively supports string constraints. We introduce string variables and a suitable set of string constraints as builtin features of the MiniZinc modelling language. Furthermore, we define an interpreter for converting a MiniZinc model with strings into a FlatZinc instance relying on only integer variables. This provides a user-friendly interface for modelling combinatorial problems with strings, and enables both string and non-string solvers to actually solve such problems.
提交历史
来自:Roberto Amadini[v1] 2016年8月12日 星期五 01:17:09 UTC