The preceding examples in this manual assume that resource capacity does not change over time (even though the demand for a resource or the duration of an activity may vary). This chapter presents a simple example in which the capacity of a resource varies over time. In this example, the resource to consider consists of a team of interchangeable people, where the number of available people changes each day. We'll use the member function setCapacityMax
of the class IloDiscreteResource
to represent the variation of resource capacity over time.