5.369. soft_used_by_var

DESCRIPTIONLINKSGRAPH
Origin

Derived from 𝚞𝚜𝚎𝚍_πš‹πš’

Constraint

𝚜𝚘𝚏𝚝_𝚞𝚜𝚎𝚍_πš‹πš’_πšŸπšŠπš›(𝙲,πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1,πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2)

Synonym

𝚜𝚘𝚏𝚝_𝚞𝚜𝚎𝚍_πš‹πš’.

Arguments
π™²πšπšŸπšŠπš›
πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŠπš›-πšπšŸπšŠπš›)
πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŠπš›-πšπšŸπšŠπš›)
Restrictions
𝙲β‰₯0
𝙲≀|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2|
|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1|β‰₯|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2|
πš›πšŽπššπšžπš’πš›πšŽπš(πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1,πšŸπšŠπš›)
πš›πšŽπššπšžπš’πš›πšŽπš(πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2,πšŸπšŠπš›)
Purpose

𝙲 is the minimum number of values to change in the πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1 and πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2 collections so that all the values of the variables of collection πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2 are used by the variables of collection πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1.

Example
(2,9,1,1,8,8,9,9,9,1)

As illustrated by FigureΒ 5.369.1, there is a correspondence between two pairs of values of the collections 〈9,1,1,8,8βŒͺ and 〈9,9,9,1βŒͺ. Consequently, we must unset at least 4-2 items (4 is the number of items of the πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2 collection). The 𝚜𝚘𝚏𝚝_𝚞𝚜𝚎𝚍_πš‹πš’_πšŸπšŠπš› constraint holds since its first argument 𝙲 is set to 4-2.

Figure 5.369.1. Illustration of the partial correspondence between the items of the πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2=〈9,9,9,1βŒͺ and of the πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1=〈9,1,1,8,8βŒͺ collections of the Example slot, i.e., 𝙲=2 items of the πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2 or of the πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1 collections need to be changed in order to cover all elements of πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2
ctrs/soft_used_by_var-1-tikz
Typical
𝙲>0
|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1|>1
|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2|>1
πš›πšŠπš—πšπšŽ(πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1.πšŸπšŠπš›)>1
πš›πšŠπš—πšπšŽ(πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2.πšŸπšŠπš›)>1
Symmetries
  • Items of πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1 are permutable.

  • Items of πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2 are permutable.

  • All occurrences of two distinct values in πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1.πšŸπšŠπš› or πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2.πšŸπšŠπš› can be swapped; all occurrences of a value in πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1.πšŸπšŠπš› or πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2.πšŸπšŠπš› can be renamed to any unused value.

Usage

A soft 𝚞𝚜𝚎𝚍_πš‹πš’ constraint.

Algorithm

A filtering algorithm achieving arc-consistency is described inΒ [Cymer12], [CymerPhD13].

See also

hard version: 𝚞𝚜𝚎𝚍_πš‹πš’.

implied by: 𝚜𝚘𝚏𝚝_πšœπšŠπš–πšŽ_πšŸπšŠπš›.

Keywords

constraint arguments: constraint between two collections of variables.

constraint type: soft constraint, relaxation, variable-based violation measure.

filtering: bipartite matching.

Arc input(s)

πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚1 πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2

Arc generator
π‘ƒπ‘…π‘‚π·π‘ˆπΆπ‘‡β†¦πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŠπš›πš’πšŠπš‹πš•πšŽπšœ1,πšŸπšŠπš›πš’πšŠπš‹πš•πšŽπšœ2)

Arc arity
Arc constraint(s)
πšŸπšŠπš›πš’πšŠπš‹πš•πšŽπšœ1.πšŸπšŠπš›=πšŸπšŠπš›πš’πšŠπš‹πš•πšŽπšœ2.πšŸπšŠπš›
Graph property(ies)
ππ’πˆππŠ_ππ’πŽπ”π‘π‚π„=|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2|-𝙲

Graph model

PartsΒ (A) andΒ (B) of FigureΒ 5.369.2 respectively show the initial and final graph associated with the Example slot. Since we use the ππ’πˆππŠ_ππ’πŽπ”π‘π‚π„ graph property, the source and sink vertices of the final graph are stressed with a double circle. The 𝚜𝚘𝚏𝚝_𝚞𝚜𝚎𝚍_πš‹πš’_πšŸπšŠπš› constraint holds since the cost 2 corresponds to the difference between the number of variables of πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚2 and the sum over the different connected components of the minimum number of sources and sinks.

Figure 5.369.2. Initial and final graph of the 𝚜𝚘𝚏𝚝_𝚞𝚜𝚎𝚍_πš‹πš’_πšŸπšŠπš› constraint
ctrs/soft_used_by_varActrs/soft_used_by_varB
(a) (b)