Resource Modeling |
INDEX
![]() |
The maximal capacity constraint is represented by defining a discrete resource associated with the trolley. This resource is defined in the function DefineModel
as follows.
/* CREATE THE TROLLEY CAPACITY RESOURCE */ IloDiscreteResource trolleyCapacity(env,trolleyMaxCapacity); |
Let's see now how this discrete resource is used by the activities.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |