DotNet Reference
.Net Reference
Constraints.cs
Go to the documentation of this file.
pbc::RepeatedField< int > EnforcementLiteral
The constraint will be enforced iff all literals listed here are true.
Definition: CpModel.pb.cs:4715
Definition: Constraints.cs:20
void OnlyEnforceIf(ILiteral[] lits)
Definition: Constraints.cs:33
void OnlyEnforceIf(ILiteral lit)
Definition: Constraints.cs:28
pbc::RepeatedField< global::Google.OrTools.Sat.ConstraintProto > Constraints
Definition: CpModel.pb.cs:8026
int GetIndex()
Definition: CpModel.pb.cs:12