before_in_sequence
(function from pyomo.contrib.cp.scheduling_expr.sequence_expressions
)
- pyomo.contrib.cp.scheduling_expr.sequence_expressions.before_in_sequence(before_var, after_var, sequence_var)[source]
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
- Parameters:
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