IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Scheduler Building Blocks > Resource Constraints

Resource constraints--instances of the class IloResourceConstraint--link an activity, a resource, and some required capacity.

For example, the primary resource constraint for instances of IloCapResource, act.requires(resource, capacity, time extent), constrains act to require capacity of resource for the given time extent. The required capacity can be a positive integer number (IloNum) or a variable (IloNumVar). Zero capacity is allowed, in which case the resource constraint does not change the availability of the resource.

Resource constraints are defined for other resources, such as instances of IloStateResource or IloContinuousReservoir. Refer to the IBM ILOG Scheduler Reference Manual for more information.