Module org.maxicp
Package org.maxicp.cp.engine.constraints.seqvar
package org.maxicp.cp.engine.constraints.seqvar
Constraints implementation for Sequence Variables
-
ClassesClassDescriptionCumulative constraint on a sequence variable (
CPSeqVar), ensuring that the total resource consumption of active activities along the sequence never exceeds a given capacity.Distance constraint on a sequence variable (CPSeqVar), maintaining the total travel distance between consecutive visited nodes in the sequence.Excludes a node from a sequenceInserts a node into a sequenceChannels aCPSeqVarwith an array ofCPIntervalVarand enforces a no-overlap with minimum transition times between consecutive intervals.Constraint forbidding a node from being inserted immediately between a given predecessor and successor in a sequence variable (CPSeqVar).Precedence constraint on a sequence variable (CPSeqVar), ensuring that a given list of nodes appears in the specified relative order within the sequence.Imposes that the sequence defined by the provided orderedSequence where the relaxed nodes have been removed is a subsequence of the provided sequence variable.Requires a node in a sequence, forcing the node to be visitedLinks twoCPSeqVar, ensuring a subsequence appears within a super sequenceLinks aCPSeqVarwith time windows, enforcing that visits happen during valid timeframes.