Overview | Group | Tree | Graph | Index | Concepts |
By default, an activity uses a resource throughout its execution; that is, from the start
time of the activity to the end time of the activity. However, it is possible to specify a
time range different from the default "
start to end
"
range. The enumeration
IloTimeExtent
is defined for this purpose.
IloNever
indicates that the activity requires (or provides)
the resource at no time.
IloAlways
indicates that the activity requires (or provides) the resource at all times
(that is, before its start time, from its start time to its end time, and after its end time).
IloAlways
is useful for optimizing the maximal available capacity of a resource.
IloBeforeStart
indicates that the activity requires (or provides) the resource at all
times before its start time.
IloAfterStart
indicates that the activity requires (or provides) the resource at all
times after its start time (including after its end time). This time extent is useful when an
activity consumes a reservoir; for example, when part of a budget is spent for the
performance of the activity.
IloAfterEnd
indicates that the activity requires (or provides) the resource at all times
after its end time. This time extent is useful when an activity produces a reservoir; for
example, when finished goods are produced in a factory.
IloBeforeEnd
indicates that the activity requires (or provides) the resource at all times
before its end time (that is, from before its start time up to its end time). This time extent
is useful when some activities require resources that have never been used before; for
example, when brand-new bank notes are used to test the prototype of an automatic teller
machine (ATM).
IloBeforeStartAndAfterEnd
indicates that the activity requires (or provides) the
resource at all times before its start time and after its end time.
IloFromStartToEnd
indicates that the activity requires (or provides) the resource from
its start time to its end time. This is the default time extent.
See Also:
IloActivity, IloResourceConstraint
Fields |
---|
IloNever = 0 | |
IloAlways = 1 | |
IloBeforeStart = 2 | |
IloAfterStart = 3 | |
IloAfterEnd = 4 | |
IloBeforeEnd = 5 | |
IloBeforeStartAndAfterEnd = 6 | |
IloFromStartToEnd = 7 |