Shipment Management

Handling Rates in Network Routing

This section describes how costs are used in network routing and different settings that can be used to control them. Having information about how much it costs to go through each path in the network will help you make the correct routing decisions for a transportation network.

How Network Routing Handles Rates

In order to make routing decisions for orders, network routing needs to determine how much it costs to travel along different legs of the network. Network routing uses OTM rates in order to create abstracted cost data for each leg, in order to increase performance and simplify cost computations. This abstracted cost data is used only to determine how an order is to be routed, while the true detailed rating data is used when building the actual OTM shipment.

The abstracted cost data can be seen in the network XML file: NrNetwork.xml files. Some knowledge about how it is derived may be useful for setting up network routing.

Network routing abstracted cost data treats rates as falling into one of two types of costs:

  • Equipment-based Costs: These are computed for each piece of the equipment defined for a leg, and for each service provider that has rates for that leg. The equipment-based cost uses a flat per-equipment cost (e.g., it costs $313.57 to go on a IO-BIG piece of equipment (capacity 45,000 lbs) from Indianapolis to Cuyahoga Falls, (see the Network Routing example). The equipment-based cost represents a consolidation opportunity to network routing, because the cost will be the same whether the equipment is 10% utilized or 100% utilized.
  • Quantity-based Costs: These are computed based upon the Logistics Guide Template. The quantity-based cost uses a per-unit-quantity cost (e.g., for a set of orders weighing between 500 lb and 1000 lb, the cost is $133.85 + $0.1285 per lb over 500 lb).

Quantity Based Costs

While the equipment-based costs are computed based on the equipment groups defined for the individual legs, the quantity-based costs are based upon quantity breaks defined by mode in the Logistics Guide Template. This is set up by using the network routing logic configuration parameter ROUTING LOGISTICS GUIDE TEMPLATE GID. This points to a logistics guide template that you have defined.

On the logistics guide template, set the "Template Type" to PLANNING. It defines different weight/volume breaks by mode. For example, you could define the following weight breaks:

  • 0 lb to 500 lb
  • 500 lb to 1000 lb
  • 1000 lb to 2000 lb
  • 2000 lb to 4000 lb
  • 4000 lb to 8000 lb.

When network routing is considering how much it costs to route an order through a leg that has LTL rates, it will estimate costs based on these weight breaks.

It is important to note that these weight breaks are needed just to distinguish how much it costs to route something along this leg relative to some other leg. The precise rated cost generally is not needed to distinguish the relative costs and make routing decisions. The more weight breaks that are set up, the longer the run-time required for deriving all of the quantity-based costs.

The following properties specify values of the flexible commodity qualifier GID and flexible commodity qualifier code to be used during network creation. Note that the values of these properties are populated to the ship units and ship unit lines that are used during network creation.

Supported Rate Types

The following rate types are supported by network routing:

  • TL
  • LTL
  • Intermodal
  • Vessel
  • Rail

However, rates that have certain order-specific requirements, such as dimensions, are currently not recognized by network routing. These may be modeled using the Expected Cost Leg Options below.

Ground Schedule Shipments

For each leg that has ground schedules, network routing will consider leg options for each ground schedule shipment that is available on that leg.

The nominal cost for each ground schedule leg option is zero. However, network routing will use its own internal cost penalty to prefer earlier ground schedule shipments, and to prefer partially utilized ground schedule shipments over empty ground schedule shipments. This penalty can be set using the glog.optimization.networkrouting.emptyEquipmentGSPenalty property.

Expected Cost Leg Options

Besides the abstracted costs that network routing uses for each leg, you can set up a user-defined cost for each leg.

On legs, there is a check box "Calculate Contracted Rate" which indicates whether an actual rate is to be used on the leg, or whether the "Estimated Cost" is to be used instead.

In network routing, if the "Calculate Contracted Rate" check box is not selected, then OTM uses the "Estimated Cost" as the abstracted cost for the leg. However, if the "Calculate Contracted Rate" check box is selected, you can choose to have network routing use the "Estimated Cost" as an abstracted cost in addition to any rated cost on the leg.

For this case (when the "Calculate Contracted Rate" check box is not selected), you can control this with the Network Routing Logic Configuration parameter EXPECTED COST LEG OPTIONS.

Network Routing Cache

As described above, network routing uses abstracted costs based on equipment and/or quantity breaks. These costs are not specific to the orders being planned. Therefore, the abstracted network costs will not change with different order sets, unless the leg data or the rate data has changed.

In order to take advantage of this to improve performance, the network costs are cached in the NetworkLegRateCache. This cache is similar to other OTM data caches. For example, it will improve run-time after the cache has been filled.

To increase/decrease cache size, use utility servlet glog.webserver.cache.CacheDiagServlet and look for cache name "NetworkLegRateCache". To disable it, set capacity to 0.

Related Topics