A Comparison of Lex Bounds for Multiset Variables in Constraint Programming

06/29/2011
by   Yat-Chiu Law, et al.
0

Set and multiset variables in constraint programming have typically been represented using subset bounds. However, this is a weak representation that neglects potentially useful information about a set such as its cardinality. For set variables, the length-lex (LL) representation successfully provides information about the length (cardinality) and position in the lexicographic ordering. For multiset variables, where elements can be repeated, we consider richer representations that take into account additional information. We study eight different representations in which we maintain bounds according to one of the eight different orderings: length-(co)lex (LL/LC), variety-(co)lex (VL/VC), length-variety-(co)lex (LVL/LVC), and variety-length-(co)lex (VLL/VLC) orderings. These representations integrate together information about the cardinality, variety (number of distinct elements in the multiset), and position in some total ordering. Theoretical and empirical comparisons of expressiveness and compactness of the eight representations suggest that length-variety-(co)lex (LVL/LVC) and variety-length-(co)lex (VLL/VLC) usually give tighter bounds after constraint propagation. We implement the eight representations and evaluate them against the subset bounds representation with cardinality and variety reasoning. Results demonstrate that they offer significantly better pruning and runtime.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/18/2022

The maximum cardinality of trifferent codes with lengths 5 and 6

A code 𝒞⊆{0, 1, 2}^n is said to be trifferent with length n when for any...
research
03/21/2017

On The Projection Operator to A Three-view Cardinality Constrained Set

The cardinality constraint is an intrinsic way to restrict the solution ...
research
09/09/2011

Solving Set Constraint Satisfaction Problems using ROBDDs

In this paper we present a new approach to modeling finite set domain co...
research
02/10/2021

Integrating Cardinality Constraints into Constraint Logic Programming with Sets

Formal reasoning about finite sets and cardinality is an important tool ...
research
11/20/2020

HyperLogLog (HLL) Security: Inflating Cardinality Estimates

Counting the number of distinct elements on a set is needed in many appl...
research
03/31/2018

Efficient Encodings of Conditional Cardinality Constraints

In the encoding of many real-world problems to propositional satisfiabil...
research
09/11/2022

Information content in formal languages

Motivated by creating physical theories, formal languages S with variabl...

Please sign up or login with your details

Forgot password? Click here to reset