IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Using Reservoirs > Define the Problem, Design a Model > Create the Budget Resource

The following code defines a reservoir with a maximum capacity of 100 and an initial level (content) of 11 (the unit of budget resource corresponds to $1,000).

  /* CREATE THE BUDGET RESOURCE. */
  IloReservoir budget(env, 100, 11);