IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Using Discrete Resources > Managing Consumable Resources

The aim of this second example is to introduce a consumable resource: the budget available for the execution of the project activities. In this example, a certain amount of money must be paid at the beginning of each activity. The budget required to build the entire house is not all available at the start of the project, but more money becomes available a given number of days afterwards. The goal is still to minimize the project end date, but both the precedence and budget constraints must now be taken into account, as shown in Figure 4.2.

discreteResourcesz2.gif

Figure 4.2 Budget Constraints on the Problem

In this example we also introduce the class IloSchedulerSolution. An instance of this class is used to store and share elements of the solution of a problem (for example, activity and resource content). This example shows how to create, manage, and use a solution object to print resource capacity and activity schedules.