车辆配送 (VRP) 求解程序属性 (arcpy)

摘要

使用车辆配送 (VRP) 求解程序时,以下属性受网络分析求解程序对象支持。请注意可从描述对象上的累加器属性中获取“距离成本”属性。

属性

属性说明数据类型
timeFieldUnits
(只读)

The time units used by the temporal fields of the network analysis layer's sublayers and tables (network analysis classes). This property returns the following keywords:

  • Minutes
  • Seconds
  • Hours
  • Days

String
distanceFieldUnits
(只读)

The distance units used by distance fields of the network analysis layer's sublayers and tables (network analysis classes). This property returns the following keywords:

  • Miles
  • Kilometers
  • Feet
  • Yards
  • Meters
  • Inches
  • Centimeters
  • Millimeters
  • Decimeters
  • NauticalMiles

String
defaultDate
(只读)

The implied date for time field values that don't have a date specified with the time.

String
capacityCount
(只读)

The number of capacity constraint dimensions required to describe the relevant limits of the vehicles.

Integer
timeWindowViolationPenaltyFactor
(只读)

Indicates how the solver rates the importance of honoring time windows without causing violations. This property returns the following keywords:

  • Low
  • Medium
  • High
  • Custom

String
timeWindowViolationPenaltyFactorValue
(只读)

The value used as the penalty factor for time window violation in the objective function.

Double
excessTransitTimePenaltyFactor
(只读)

Indicates how the solver rates the importance of reducing excess transit time. This property returns the following keywords:

  • Low
  • Medium
  • High
  • Custom

String
excessTransitTimePenaltyFactorValue
(只读)

The value used as the penalty factor for excess transit time in the objective function.

Double
vrpRoutesShape
(只读)

The shape type for the route features that are output by the solver. This property returns the following keywords:

  • TRUE_LINES_WITHOUT_MEASURES
  • TRUE_LINES_WITH_MEASURES
  • NO_LINES
  • STRAIGHT_LINES

String
9/15/2013