IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Using Discrete Resources > Managing Consumable Resources > Describe the Problem--Example 4

The activities to perform, their durations, and the precedence constraints between these activities are identical to those of Using the Building Blocks (shown in Table 3.1). As in Example 2, we have only one worker, an IloUnaryResource, available to perform the activities.

In addition, each activity requires the payment of an amount of money proportional to the duration of the activity. This amount, to be paid at the beginning of the activity, is set to $1,000 per day per activity, so that the total budget for the project is $29,000 (that is, $1,000 times the sum of the durations of the project activities). The sum is available in two portions: $13,000 is available at the start of the project, and $16,000 is available 15 days afterwards. As in Example 3, our goal is to minimize the project end date, but both the precedence and budget constraints must be taken into account.