5.223. lex_chain_greater

DESCRIPTIONLINKSGRAPH
Origin

Derived from πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—_πš•πšŽπšœπšœ

Constraint

πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—_πšπš›πšŽπšŠπšπšŽπš›(πš…π™΄π™²πšƒπ™Ύπšπš‚)

Usual name

πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—

Type
πš…π™΄π™²πšƒπ™ΎπšπšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŠπš›-πšπšŸπšŠπš›)
Argument
πš…π™΄π™²πšƒπ™Ύπšπš‚πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(𝚟𝚎𝚌-πš…π™΄π™²πšƒπ™Ύπš)
Restrictions
|πš…π™΄π™²πšƒπ™Ύπš|β‰₯1
πš›πšŽπššπšžπš’πš›πšŽπš(πš…π™΄π™²πšƒπ™Ύπš,πšŸπšŠπš›)
πš›πšŽπššπšžπš’πš›πšŽπš(πš…π™΄π™²πšƒπ™Ύπšπš‚,𝚟𝚎𝚌)
πšœπšŠπš–πšŽ_πšœπš’πš£πšŽ(πš…π™΄π™²πšƒπ™Ύπšπš‚,𝚟𝚎𝚌)
Purpose

For each pair of consecutive vectors πš…π™΄π™²πšƒπ™Ύπš i and πš…π™΄π™²πšƒπ™Ύπš i+1 of the πš…π™΄π™²πšƒπ™Ύπšπš‚ collection we have that πš…π™΄π™²πšƒπ™Ύπš i is lexicographically strictly greater than πš…π™΄π™²πšƒπ™Ύπš i+1 . Given two vectors, X β†’ and Y β†’ of n components, 〈X 0 ,β‹―,X n-1 βŒͺ and 〈Y 0 ,β‹―,Y n-1 βŒͺ, X β†’ is lexicographically strictly greater than Y β†’ if and only if X 0 >Y 0 or X 0 =Y 0 and 〈X 1 ,β‹―,X n-1 βŒͺ is lexicographically strictly greater than 〈Y 1 ,β‹―,Y n-1 βŒͺ.

Example
(𝚟𝚎𝚌-5,2,6,3,𝚟𝚎𝚌-5,2,6,2,𝚟𝚎𝚌-5,2,3,9)

The πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—_πšπš›πšŽπšŠπšπšŽπš› constraint holds since:

  • The first vector 〈5,2,6,3βŒͺ of the πš…π™΄π™²πšƒπ™Ύπšπš‚ collection is lexicographically strictly greater than the second vector 〈5,2,6,2βŒͺ of the πš…π™΄π™²πšƒπ™Ύπšπš‚ collection.

  • The second vector 〈5,2,6,2βŒͺ of the πš…π™΄π™²πšƒπ™Ύπšπš‚ collection is lexicographically strictly greater than the third vector 〈5,2,3,9βŒͺ of the πš…π™΄π™²πšƒπ™Ύπšπš‚ collection.

Typical
|πš…π™΄π™²πšƒπ™Ύπš|>1
|πš…π™΄π™²πšƒπ™Ύπšπš‚|>1
Arg. properties
  • Contractible wrt. πš…π™΄π™²πšƒπ™Ύπšπš‚.

  • Suffix-extensible wrt. πš…π™΄π™²πšƒπ™Ύπšπš‚.𝚟𝚎𝚌 (add items at same position).

Usage

This constraint was motivated for breaking symmetry: more precisely when one wants to lexicographically order the consecutive columns of a matrix of decision variables. A further motivation is that using a set of lexicographic ordering constraints between two vectors does usually not allows to come up with a complete pruning.

Algorithm

A filtering algorithm achieving arc-consistency for a chain of lexicographical ordering constraints is presented inΒ [BeldiceanuCarlsson02c].

See also

common keyword: πš•πšŽπš‘_πš‹πšŽπšπš πšŽπšŽπš—, πš•πšŽπš‘_πšπš›πšŽπšŠπšπšŽπš›πšŽπšš, πš•πšŽπš‘_πš•πšŽπšœπšœ, πš•πšŽπš‘_πš•πšŽπšœπšœπšŽπššΒ (lexicographic order).

implies: πš•πšŽπš‘_πšŠπš•πš•πšπš’πšπšπšŽπš›πšŽπš—πš, πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—_πšπš›πšŽπšŠπšπšŽπš›πšŽπšš.

part of system of constraints: πš•πšŽπš‘_πšπš›πšŽπšŠπšπšŽπš›.

used in graph description: πš•πšŽπš‘_πšπš›πšŽπšŠπšπšŽπš›.

Keywords

application area: floor planning problem.

characteristic of a constraint: vector.

constraint type: decomposition, order constraint, system of constraints.

filtering: arc-consistency.

heuristics: heuristics and lexicographical ordering.

modelling: degree of diversity of a set of solutions.

modelling exercises: degree of diversity of a set of solutions.

symmetry: symmetry, matrix symmetry, lexicographic order.

Arc input(s)

πš…π™΄π™²πšƒπ™Ύπšπš‚

Arc generator
π‘ƒπ΄π‘‡π»β†¦πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŽπšŒπšπš˜πš›πšœ1,πšŸπšŽπšŒπšπš˜πš›πšœ2)

Arc arity
Arc constraint(s)
πš•πšŽπš‘_πšπš›πšŽπšŠπšπšŽπš›(πšŸπšŽπšŒπšπš˜πš›πšœ1.𝚟𝚎𝚌,πšŸπšŽπšŒπšπš˜πš›πšœ2.𝚟𝚎𝚌)
Graph property(ies)
𝐍𝐀𝐑𝐂=|πš…π™΄π™²πšƒπ™Ύπšπš‚|-1

Graph model

PartsΒ (A) andΒ (B) of FigureΒ 5.223.1 respectively show the initial and final graph associated with the Example slot. Since we use the 𝐍𝐀𝐑𝐂 graph property, the arcs of the final graph are stressed in bold. The πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—_πšπš›πšŽπšŠπšπšŽπš› constraint holds since all the arc constraints of the initial graph are satisfied.

Figure 5.223.1. Initial and final graph of the πš•πšŽπš‘_πšŒπš‘πšŠπš’πš—_πšπš›πšŽπšŠπšπšŽπš› constraint
ctrs/lex_chain_greaterActrs/lex_chain_greaterB
(a) (b)
Signature

Since we use the 𝑃𝐴𝑇𝐻 arc generator on the πš…π™΄π™²πšƒπ™Ύπšπš‚ collection the number of arcs of the initial graph is equal to |πš…π™΄π™²πšƒπ™Ύπšπš‚|-1. For this reason we can rewrite 𝐍𝐀𝐑𝐂=|πš…π™΄π™²πšƒπ™Ύπšπš‚|-1 to 𝐍𝐀𝐑𝐂β‰₯|πš…π™΄π™²πšƒπ™Ύπšπš‚|-1 and simplify 𝐍𝐀𝐑𝐂 Β― Μ² to 𝐍𝐀𝐑𝐂 Β―.