Precedence constraint
PrecedenceConstraint
¶
Bases: Constraint
Precedence constraint defined in PPC-HLP
Only used in the PPC-HLP model. The PC-HLP model avoids these
constraints by merging customers.
Requires:
build(model, **kwargs)
¶
Adds the following constraint to the model:
\[
y_{ij}^z \geq y_{ij}^{z+1} \quad \forall (i,j,z), (i,j,z+1) \in \Gamma_{ij}
\]