| IBM ILOG Dispatcher User's Manual > Transportation Industry Solutions > Modeling Complex Costs > Review Exercises |
Review Exercises |
INDEX
PREVIOUS
NEXT
|
For answers, see "Suggested Answers".
IloNum values with vehicle visits?
createVehicles function of cost1.cpp. If the code .getPrevVar() were removed, all the other code in cost1.cpp remained the same, and the depot were located at (0,0), what would be the resulting cost coefficient?IloVisitToNumFunction coefFunction(_env, LastVisitCostCoef); vehicle.setCost(distance, coefFunction, vehicle.getLastVisit().getPrevVar()); |
| © Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |