Article ID: | iaor20108087 |
Volume: | 22 |
Issue: | 4 |
Start Page Number: | 514 |
End Page Number: | 527 |
Publication Date: | Sep 2010 |
Journal: | INFORMS Journal on Computing |
Authors: | Stuckey Peter J, Schutt Andreas |
Keywords: | programming: constraints |
Unit two-variable-per-inequality (UTVPI) constraints form one of the largest class of integer constraints that are polynomial time solvable (unless P = NP). There is considerable interest in their use for constraint solving, abstract interpretation, spatial database algorithms, and theorem proving. In this paper we develop new incremental algorithms for UTVPI constraint satisfaction and implication checking that require order(m + n log n + p) time and order(n + m + p) space to incrementally check satisfiability of m UTVPI constraints on n variables, and we check the implication of p UTVPI constraints. The algorithms can be straightforwardly extended to create nonincremental implication checking and generation of all (nonredundant) implied constraints, as well as generate minimal unsatisfiable subsets and minimal implicants.