IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Using Reservoirs > Define the Problem, Design a Model > Define a Function for Building the Houses |
Define a Function for Building the Houses |
INDEX
![]() |
The function MakeHouse
describes the processing of building a house. It includes a parameter for the budget resource.
void MakeHouse(IloModel model, const IloNum* dur, const IloNum startMin, const IloNum endMax, const IloUnaryResourceArray workers, const IloReservoir budget, const IloNumVar makespan) |
The following lines of code define the five houses to be built. The earliest start and latest end dates are the origin and horizon of the schedule.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |