| Overview | Group | Tree | Graph | Index | Concepts |
This enumeration provides values to define the rounding mode of the slope constraint as
a parameter of the function
IlcResourceConstraint::setSlope.
Let c be the capacity of the resource constraints, let s be its slope and let d be the duration of the activity.
When initializing a slope constraint,
IlcAtLeastCapacity signifies that d is constrained to
satisfy c <= s.d < c+1.
When initializing a slope constraint,
IlcAtMostCapacity signifies that d is constrained to
satisfy c-1 < s.d <= c.
When initializing a slope constraint,
IlcRoundedCapacity signifies that d is constrained to
satisfy c-1 < s.d < c+1.
See Also:
| Fields |
|---|
IlcNoSlopeConstraint = 0 | |
IlcAtLeastCapacity = 1 | |
IlcAtMostCapacity = 2 | |
IlcRoundedCapacity = 3 |