3.7.69. Cost matrix
A constraint for which a first argument corresponds to a collection of variables , a second argument to a cost matrix , and a third argument to a cost variable . Let denote the set of values that can be assigned to the variables of . The cost matrix defines for each pair an elementary cost, which is used for computing when value is assigned to variable .