DotNet Reference
.Net Reference
IntervalVariables.cs
Go to the documentation of this file.
60 {
Some constraints supports linear expression instead of just using a reference to a variable.
Definition: CpModel.pb.cs:909
global::Google.OrTools.Sat.IntervalConstraintProto?? Interval
The interval constraint takes a start, end, and size, and forces start + size == end.
Definition: CpModel.pb.cs:5680
pbc::RepeatedField< int > EnforcementLiteral
The constraint will be enforced iff all literals listed here are true.
Definition: CpModel.pb.cs:5302
override string ToString()
Definition: IntervalVariables.cs:69
This "special" constraint not only enforces (start + size == end) and (size >= 0) but can also be ref...
Definition: CpModel.pb.cs:2071
pbc::RepeatedField< global::Google.OrTools.Sat.ConstraintProto > Constraints
Definition: CpModel.pb.cs:8853
global::Google.OrTools.Sat.LinearExpressionProto SizeView
Definition: CpModel.pb.cs:2203
global::Google.OrTools.Sat.LinearExpressionProto StartView
EXPERIMENTAL: This will become the new way to specify an interval.
Definition: CpModel.pb.cs:2179
IntervalConstraintProto Proto
Definition: IntervalVariables.cs:60
IntervalVar(CpModelProto model, LinearExpressionProto start, LinearExpressionProto size, LinearExpressionProto end, int is_present_index, string name)
Definition: IntervalVariables.cs:21
IntervalVar(CpModelProto model, LinearExpressionProto start, LinearExpressionProto size, LinearExpressionProto end, string name)
Definition: IntervalVariables.cs:38
Definition: CpModel.pb.cs:12
global::Google.OrTools.Sat.LinearExpressionProto EndView
Definition: CpModel.pb.cs:2191