IBM ILOG Dispatcher User's Manual > Transportation Industry Solutions > Modeling Complex Costs |
Modeling Complex Costs |
INDEX
![]() |
In this lesson, you will learn how to:
setCost
to apply cost coefficient functions
IloNumToNumSegmentFunction
In this lesson, you model problems which apply complex costs via variable cost coefficient functions. In previous lessons, costs were typically based on linear combinations of the route distance, time, or vehicle load. This lesson introduces variable cost coefficients, which are values that can be applied to route dimensions in order to determine the route cost. These variable coefficient functions allow you to model vehicle costs with greater flexibility, and thereby extend your ability to apply a wide variety of cost calculations to your routing problems.
The first example in this lesson, cost1.cpp
, models a last-visit-dependent cost, and it starts with "Describe cost1". The second example, cost2.cpp
, applies higher transit costs as route distance thresholds are passed, and that lesson begins with "Describe cost2".
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |