Module org.maxicp
Package org.maxicp.modeling.constraints
package org.maxicp.modeling.constraints
Symbolic constraints
-
ClassDescriptionAllDifferent constraint ensuring that all expressions in
xtake pairwise distinct values.Among constraint ensuring that exactlycountexpressions inxtake a value invalues.BinPacking constraint.Upper-bound cardinality constraint ensuring that each valuevin0..array.length - 1appears at mostarray[v]times inx.Lower-bound cardinality constraint ensuring that each valuevin0..array.length - 1appears at leastarray[v]times inx.Hamiltonian circuit constraint ensuring that the successor array forms a single Hamiltonian circuit visiting all nodes0..successor.length - 1.Cumulative scheduling constraint ensuring that at any point in time, the total resource demand of overlapping activities does not exceed the resource capacitycapa.Disjunctive scheduling constraint ensuring that no two activities overlap in time.Constraint enforcing that a boolean expressionexprevaluates totrue(1).Lexicographic ordering constraint enforcingx <=_lex y(orx <_lex yifstrictis true).Negative table constraint ensuring that the tuple of values assigned toxdoes not match any forbidden tuple inarray.A constraint that does nothing.Sorted constraint:yis the sorted version ofxwith position permutationo(i.e.SubCircuit constraint ensuring that the successor array forms at most one circuit while nodes withsuccessor[i] == iare self-loops not part of the circuit.Positive table constraint ensuring that the tuple of values assigned toxbelongs to the set of allowed tuples inarray.