5.72. colored_matrix
DESCRIPTION | LINKS |
- Origin
KOALOG
- Constraint
- Synonyms
, , .
- Arguments
- Restrictions
- Purpose
Given a matrix of domain variables, imposes a constraint involving cardinality variables on each column and each row of the matrix.
- Example
- Typical
- Arg. properties
Functional dependency: determined by , and .
Functional dependency: determined by , and .
- Remark
WithinΒ [ReginGomes04] the constraint is called .
- Algorithm
The filtering algorithm described inΒ [ReginGomes04] is based on network flow and does not achieve arc-consistency in general. However, when the number of values is restricted to two, the algorithmΒ [ReginGomes04] achieves arc-consistency on the variables of the matrix. This corresponds in fact to a generalisation of the problem called "Matrices composed of 0's and 1's" presented by Ford and FulkersonΒ [FordFulkerson62].
- See also
common keyword: Β (system of constraints).
part of system of constraints: .
related to a common problem: Β (matrix reconstruction problem).
- Keywords
constraint arguments: pure functional dependency.
constraint type: system of constraints, predefined constraint, timetabling constraint.