Consider for instance the following big-m constraint.
Constraint xyRelation =
key("x-y relation")
| "capacity of a location can be used only if it is opened"
| forall(p)
| x[p] <= M * y[p];
public class ForAllSets
Equals | (Inherited from Object) |
Finalize | (Inherited from Object) |
GetHashCode | (Inherited from Object) |
GetType | (Inherited from Object) |
MemberwiseClone | (Inherited from Object) |
ToString | (Inherited from Object) |
BitwiseOr(ForAllSets, ConstraintExpr) |
Creates a constraint with forall sets expression on the left-hand-side of the pipe operator;
and the constraint expression on the right hand side.
Three examples with different levels of documentation details are provided below. C#
|