IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Adding Breaks > 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 process of building a house.
void MakeHouse(IloModel model, const IloNum* dur, const IloNum startMin, const IloNum endMax, const IloUnaryResourceArray workers, const IloNumVar makespan) |
The following lines of code define the five houses to be built. The earliest start and latest end dates for the first, second, and fifth houses are the origin and horizon of the schedule, but the third and fourth houses have an earliest start date of 7 and a latest end date of 79.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |