Vehicle Routing Problem Solver Properties (arcpy)

Resumen

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.

Propiedades

PropiedadExplicaciónTipo de datos
timeFieldUnits
(Sólo lectura)

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
(Sólo lectura)

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
(Sólo lectura)

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

String
capacityCount
(Sólo lectura)

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

Integer
timeWindowViolationPenaltyFactor
(Sólo lectura)

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
(Sólo lectura)

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

Double
excessTransitTimePenaltyFactor
(Sólo lectura)

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

  • Low
  • Medium
  • High
  • Custom

String
excessTransitTimePenaltyFactorValue
(Sólo lectura)

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

Double
vrpRoutesShape
(Sólo lectura)

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