IBM ILOG Dispatcher User's Manual > The Basics > Adding Visit Disjunctions > Model > Define the addDimensions function |
Define the addDimensions function |
INDEX
![]() |
The addDimensions
function is defined as in Minimizing the Number of Vehicles. The _time
and _distance
dimensions are computed using the shortest path from the road network graph. This code is provided for you:
In this example, you could also use the predefined distance functions IloEuclidean
or IloManhattan
or define your own distance function.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |