Vehicle Routing Problem Solver Properties (arcpy)

Récapitulatif

The following properties are supported by the network analyst solver object when working with the vehicle routing problem solver. Note that the distance cost attribute can be obtained from the accumulators property on the describe object.

Propriétés

PropriétéExplicationType de données
timeFieldUnits
(Lecture seule)

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
(Lecture seule)

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
(Lecture seule)

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

String
capacityCount
(Lecture seule)

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

Integer
timeWindowViolationPenaltyFactor
(Lecture seule)

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
(Lecture seule)

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

Double
excessTransitTimePenaltyFactor
(Lecture seule)

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

  • Low
  • Medium
  • High
  • Custom

String
excessTransitTimePenaltyFactorValue
(Lecture seule)

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

Double
vrpRoutesShape
(Lecture seule)

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
4/26/2014