Module org.maxicp
Package org.maxicp.modeling.constraints.seqvar
package org.maxicp.modeling.constraints.seqvar
Symbolic constraints for sequence variables
-
ClassDescriptionModeling-level cumulative constraint on a sequence variable (
SeqVar), ensuring that the total load of active activities along the sequence never exceedscapacity.Modeling-level distance constraint on a sequence variable (SeqVar), maintaining the total travel distance between consecutive visited nodes in the sequence.Constraint excluding a node from a sequence variable (SeqVar) so that it is not visited.Constraint forbiddingnodefrom being inserted immediately betweenprevandafterin a sequence variable (SeqVar).Precedence constraint on a sequence variable (SeqVar), ensuring that the givennodesappear in the specified relative order if visited in the sequence.Require a node to be visited within aSeqVarConstraint ensuring that the sequencesubis a subsequence ofmain(all nodes visited insubare visited inmainin the same relative order).Modeling-level constraint linking a sequence variable (SeqVar) with visit time expressions, transition distances, and service durations.