Vehicle Routing Problem Solver properties

Summary

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.

Properties

PropertyExplanationData Type
defaultDate
(Read Only)

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

String
distanceFieldUnits
(Read Only)

The distance units used by distance fields of the network analysis layer's sublayers and tables (network analysis classes).

  • MilesMiles
  • KilometersKilometers
  • FeetFeet
  • YardsYards
  • MetersMeters
  • InchesInches
  • CentimetersCentimeters
  • MillimetersMillimeters
  • DecimetersDecimeters
  • NauticalMilesNautical miles
String
excessTransitTimePenaltyFactor
(Read Only)

Indicates how the solver rates the importance of reducing excess transit time.

  • LowLow
  • MediumMedium
  • HighHigh
  • CustomCustom

This property is only relevant if using Order Pairs.

String
excessTransitTimePenaltyFactorValue
(Read Only)

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

Double
timeFieldUnits
(Read Only)

The time units used by the temporal fields of the network analysis layer's sublayers and tables (network analysis classes).

  • MinutesMinutes
  • SecondsSeconds
  • HoursHours
  • DaysDays
String
timeWindowViolationPenaltyFactor
(Read Only)

Indicates how the solver rates the importance of honoring time windows without causing violations.

  • LowLow
  • MediumMedium
  • HighHigh
  • CustomCustom
String
timeWindowViolationPenaltyFactorValue
(Read Only)

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

Double
timeZoneUsageForTimeFields
(Read Only)

Indicates whether datetime fields in the input data, such as time window fields, should be interpreted as the local time of the order or as coordinated universal time (UTC).

  • GEO LOCALGeo local
  • UTCUTC
String
vrpRoutesShape
(Read Only)

The shape type for the route features that are output by the solver.

  • TRUE_LINES_WITHOUT_MEASURESTrue lines without measures
  • TRUE_LINES_WITH_MEASURESTrue lines with measures
  • NO_LINESNo lines
  • STRAIGHT_LINESStraight lines
String

In this topic