IBM ILOG Dispatcher User's Manual > The Basics > Adding Visit Disjunctions > Model > Define the loadGraphInformation function |
Define the loadGraphInformation function |
INDEX
![]() |
The loadGraphInformation
function is defined as in Minimizing the Number of Vehicles. First, you build the road network graph using the function loadGraphInformation
. Then you load the network topology from a csv file and create all necessary arcs and nodes. The member function IloDispatcherGraph::loadArcDimensionDataFromFile
loads the arc cost information relating to the dimensions _time
and _distance
. The member function IloDispatcherGraph::loadTurnDimensionDataFromFile
loads turn penalty information from the turn file. By default, all turns are allowed with no penalty. The loadGraphInformation
function calls the lastMinuteGraphChanges
function to allow for direct manipulation of the road network graph. The following code is provided for you:
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |