Uses of Interface
org.maxicp.modeling.concrete.ConcreteConstraint
Packages that use ConcreteConstraint
Package
Description
Constraints implementation (propagators)
Constraints implementation for Scheduling over Interval Variables and Cumulative Functions
Constraints implementation for Sequence Variables
Constraints implementation for Set Variables
Solver objects
Symbolic Modeling API
-
Uses of ConcreteConstraint in org.maxicp.cp.engine.constraints
Classes in org.maxicp.cp.engine.constraints that implement ConcreteConstraintModifier and TypeClassDescriptionclassAbsolute value constraintclassArc Consistent AllDifferent ConstraintclassForward Checking AllDifferent Constraint.classAmong constraint.classDomain Consistency Filtering for AtLeastNValue constraint.classForward Checking filtering for the AtLeastNValue constraint.classA Binary Knapsack constraint ensures that the total load is equal to the sum of the weights of the selected items.classTheBinPackingconstraint ensures that a set of items with given weights are packed into bins such that each bin's total weight respects a given capacity constraint.classForward Checking Cardinality (Upper Bound) Constraint.classForward Checking Cardinality (Lower Bound) Constraint.classHamiltonian Circuit Constraint with a successor modelclassArc Consistent AllDifferent Constraint with CostsclassImplementation of the Global Cardinality Constraint with Costs from the paperclassInteger Constraint x / y = z (all variables)classElement Constraint modelingarray[y] = zclassElement1DDC constraintclassElement Constraint over an array of variables, modelingarray[y] = z.classElement Constraint modelingmatrix[x][y] = zclassEquality constraint between two integer variablesx = y.classInversePerm is a constraint that enforces that one permutation is the inverse of another.classReified equality constraintclassReified equality constraintclassReified less or equal constraint.classReified is less or equal constraintb <=> x <= y.classReified logical or constraintclassLess or equal constraint between two variablesclassGlobal lexicographic ordering constraint between two vectors x and y: enforcesx <=_lex y(whenstrict == false) orx <_lex y(whenstrict == true).classLightweight Binary Knapsack constraint enforcingload = sum_i items[i] * weights[i]using bound reasoning on the required and possible loads.classMaximum ConstraintclassConstraint x * b = y where b is a boolean variableclassMultiplication Constraint x * c = z where c is a constantclassMultiplication Constraint x * y = cclassMultiplication Constraint x * y = z (all variables)classImplementation of Compact Table for Negative Table algorithm described inclassNot Equal constraint between two variablesclassLogical or constraintx1 or x2 or ... xnclassImplementation of Compact Table for Short Table algorithm described inclassSoft Global Cardinality Constraint.classSorted constraint, x is sorted in y according to permutation oclassSquare Constraint x * x = yclassEnsures that only one Hamiltonian circuit appears in the provided successor variables.classSum ConstraintclassImplementation of Compact Table algorithm described in -
Uses of ConcreteConstraint in org.maxicp.cp.engine.constraints.scheduling
Classes in org.maxicp.cp.engine.constraints.scheduling that implement ConcreteConstraintModifier and TypeClassDescriptionclassAlternative Constraint with cardinality: Enforces that if the interval a is present, then c intervals from the array alt must be present and synchronized with a.classCumulative constraint with sum decomposition (very slow).classConstraint enforcing that the end of an interval variable comes after or at a given integer variable:end(interval) >= varwhenintervalis present.classEnforces that interval A ends at interval B end if B is present and that interval B ends at interval A end if A is presentclassEnforces that interval A ends at interval B start if B is present and that interval B starts at interval A end if A is presentclassConstraint enforcing that the end of an interval variable comes before or at a given integer variable:end(interval) <= varwhenintervalis present.classConstrains interval A to end before or at the end of interval B.classConstrains interval A to end before or at the start of interval B if both are present.classChecker for the generalized cumulative constraint.classGeneralized Cumulative Constraint using Timetabling TODO Refer paper once publishedclassGeneralized Cumulative Constraint using Timetabling TODO Refer paper once publishedclassSweep-line filtering algorithm for the Generalized Cumulative constraint enforcing a maximum capacity bound.classSweep-line filtering algorithm for the Generalized Cumulative constraint enforcing a minimum capacity bound.classConstraint linking the end time of an interval variablevarto an integer variableend.classConstraint linking the end time of an interval variablevarto an integer variableendwhenvaris present, or fixingendto a defaultvaluewhenvaris absent.classConstraint linking the length (duration) of an interval variablevarto an integer variablelength.classConstraint linking the length (duration) of an interval variablevarto an integer variablelengthwhenvaris present, or fixinglengthto a defaultvaluewhenvaris absent.classConstraint linking the start time of an interval variablevarto an integer variablestart.classConstraint linking the start time of an interval variablevarto an integer variablestartwhenvaris present, or fixingstartto a defaultvaluewhenvaris absent.classReified constraint enforcingboolVar <=> end(intervalVar) >= varwhenintervalVaris present.classReified constraint enforcingboolVar <=> end(intervalVar) <= varwhenintervalVaris present.classReified is end before start constraintclassReified is end before start constraintclassReified temporal ordering constraint with transition times.classReified constraint enforcingboolVar <=> start(intervalVar) <= varwhenintervalVaris present.classReified is end before start constraintclassReified is start before start constraintclassNoOverlap constraint, ensures that a set of interval variables do not overlap in time.classBound Consistency filtering for the NoOverlap constraintclassBinary NoOverlap constraint enforcing that two interval variablesAandBdo not overlap in time when both are present.classBinary NoOverlap constraint with transition times enforcing that two interval variablesAandBdo not overlap and respect minimum setup/transition timestransitionTimeAB(whenAprecedesB) andtransitionTimeBA(whenBprecedesA) when both are present.classA global constraint that enforces a permutation (ordering) of interval variables with minimum transition times, using set-variable-based propagation for stronger filtering than the binary decompositionNoOverlapWithPositionDecomposition.classA constraint that enforces a permutation (ordering) of interval variables, typically used for routing/scheduling problems such as TSP or job sequencing.classSpan Constraint: Enforces that if the interval span is present, then it begins with the first interval intervals from the array alt and ends with the latest.classConstraint enforcing that the start of an interval variable comes after or at a given integer variable:start(interval) >= varwhenintervalis present.classEnforces that interval A starts at interval B end if B is present and that interval B ends at interval A start if A is presentclassEnforces that interval A starts at interval B start if B is present and that interval B starts at interval A start if A is presentclassConstraint enforcing that the start of an interval variable comes before or at a given integer variable:start(interval) <= varwhenintervalis present.classConstrains interval A to start before or at the end of interval B if both are present.classConstrains interval A to start before or at the start of interval B. -
Uses of ConcreteConstraint in org.maxicp.cp.engine.constraints.seqvar
Classes in org.maxicp.cp.engine.constraints.seqvar that implement ConcreteConstraintModifier and TypeClassDescriptionclassCumulative constraint on a sequence variable (CPSeqVar), ensuring that the total resource consumption of active activities along the sequence never exceeds a given capacity.classDistance constraint on a sequence variable (CPSeqVar), maintaining the total travel distance between consecutive visited nodes in the sequence.classExcludes a node from a sequenceclassInserts a node into a sequenceclassChannels aCPSeqVarwith an array ofCPIntervalVarand enforces a no-overlap with minimum transition times between consecutive intervals.classConstraint forbidding a node from being inserted immediately between a given predecessor and successor in a sequence variable (CPSeqVar).classPrecedence constraint on a sequence variable (CPSeqVar), ensuring that a given list of nodes appears in the specified relative order within the sequence.classImposes that the sequence defined by the provided orderedSequence where the relaxed nodes have been removed is a subsequence of the provided sequence variable.classRequires a node in a sequence, forcing the node to be visitedclassLinks twoCPSeqVar, ensuring a subsequence appears within a super sequenceclassLinks aCPSeqVarwith time windows, enforcing that visits happen during valid timeframes. -
Uses of ConcreteConstraint in org.maxicp.cp.engine.constraints.setvar
Classes in org.maxicp.cp.engine.constraints.setvar that implement ConcreteConstraintModifier and TypeClassDescriptionclassConstraint that enforces a boolean variable to be true if a value is included in a set.classConstraint that enforces a boolean variable is true if one set is a subset of another set.classConstraint that enforces that the first set variable is not a subset of the second set variable.classConstraint that links the cardinality of a set variable to an integer variable.classConstraint that enforces that one set variable is a subset of another set variable. -
Uses of ConcreteConstraint in org.maxicp.cp.engine.core
Subinterfaces of ConcreteConstraint in org.maxicp.cp.engine.coreModifier and TypeInterfaceDescriptioninterfaceInterface implemented by every ConstraintClasses in org.maxicp.cp.engine.core that implement ConcreteConstraintModifier and TypeClassDescriptionclassAbstract class the most of the constraints should extend.classclassclass -
Uses of ConcreteConstraint in org.maxicp.modeling
Classes in org.maxicp.modeling with type parameters of type ConcreteConstraintModifier and TypeInterfaceDescriptioninterfaceCustomConstraint<C extends ConcreteModel,P extends ConcreteConstraint<C>> This class should be used to implement custom constraints.