5.53. circuit
| DESCRIPTION | LINKS | GRAPH |
- Origin
- Constraint
- Synonyms
, .
- Argument
- Restrictions
- Purpose
Enforce to cover a digraph described by the collection with one circuit visiting once all vertices of .
- Example
-
The constraint holds since its argument depicts the following Hamiltonian circuit visiting successively the vertices 1, 2, 3, 4 and 1.
- Typical
- Symmetry
Items of are permutable.
- Remark
In the original constraint of CHIP the attribute was not explicitly present. It was implicitly defined as the position of a variable in a list.
Within the context of linear programming [AlthausBockmayrElfKasperJungerMehlhorn02] this constraint was introduced under the name . In the same contextΒ [Hooker07book] provides continuous relaxations of the constraint.
Within the KOALOG constraint system this constraint is called .
- Algorithm
Since all variables of the collection have to take distinct values one can reuse the algorithms associated with the constraint. A second necessary condition is to have no more than one strongly connected component. Pruning for enforcing this condition can be done by forcing all strong bridges to belong to the final solution, since otherwise the strongly connected component would be broken apart. When the number of vertices is odd (i.e.,Β is odd) a third necessary condition is to have a bipartite graph (see the Algorithm slot of the constraint).
Further necessary conditions (useful when the graph is sparse) combining the fact that we have a perfect matching and one single strongly connected component can be found inΒ [ShufetBerliner94]. These conditions forget about the orientation of the arcs of the graph and characterise new required elementary chains. A typical pattern involving four vertices is depicted by FigureΒ 5.53.1 where we assume that:
There is an elementary chain between and (depicted by a dashed edge),
has exactly 3 neighbours.
In this context the edge between and is mandatory in any covering (i.e.,Β the arc from to or the arc from to ) since otherwise a small circuit involving , and would be created.
Figure 5.53.1. Reasoning about elementary chains and degrees: if we have an elementary chain between and and if has 3 neighbours then the edge is mandatory.

When the graph is planarΒ [HopcroftTarjan74][Deo76] one can also use as a necessary condition discovered by GrinbergΒ [Grinberg68] for pruning.
Finally, another approach based an the notion of 1 -toughnessΒ [Chvatal73] was proposed inΒ [KayaHooker06] and evaluated for small graphs (i.e.,Β graphs with up to 15 vertices).
- Systems
- See also
common keyword: Β (permutation), Β (graph constraint, one_succ), Β (graph partitioning constraint, one_succ), Β (graph partitioning constraint, Hamiltonian).
generalisation: Β (introduce a variable for the number of circuits).
implies: .
related: .
- Keywords
combinatorial object: permutation.
constraint type: graph constraint, graph partitioning constraint.
filtering: linear programming, planarity test, strong bridge, DFS-bottleneck.
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph class
-
- Graph model
The first graph property enforces to have one single strongly connected component containing vertices. The second graph property imposes to only have circuits. Since each vertex of the final graph has only one successor we do not need to use set variables for representing the successors of a vertex.
PartsΒ (A) andΒ (B) of FigureΒ 5.53.2 respectively show the initial and final graph associated with the Example slot. The constraint holds since the final graph consists of one circuit mentioning once every vertex of the initial graph.
Figure 5.53.2. Initial and final graph of the constraint


(a) (b) - Signature
Since the initial graph contains vertices the final graph contains at most vertices. Therefore we can rewrite the graph property to . This leads to simplify to .
Because of the graph property the final graph contains at least one vertex. Since a vertex belongs to the final graph only if there is an arc that has as one of its extremities the final graph contains at least one arc. Therefore is greater than or equal to 1. So we can rewrite the graph property to . This leads to simplify to .