(function from pyomo.contrib.cp.scheduling_expr.sequence_expressions)
pyomo.contrib.cp.scheduling_expr.sequence_expressions
Creates a new BeforeInSequenceExpression
Requires that ‘before_var’ be scheduled to start before ‘after_var’ in the sequence specified bv ‘sequence_var’, if both are scheduled
before_var (IntervalVar) – The activity that should be scheduled earlier in the sequence
after_var (IntervalVar) – The activity that should be scheduled later in the sequence
sequence_var (SequenceVar) – The sequence of activities