This document is archived and information here might be outdated.  Recommended version.


INAVRPSolver Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAVRPSolver Interface

Provides access to the VRP solver.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Description

This interface is new at ArcGIS 9.3.

Members

Description
Read/write property CapacityCount The number of dimensions for object sizes.
Read/write property DefaultDate The date to use for time windows without dates.
Read/write property DistanceFieldUnits The units for distance fields in the NA classes.
Read/write property ExcessTransitTimePenaltyFactor The penalty factor for excess transit time in the objective function.
Read/write property ExternalODCostMatrix The external OD cost matrix object.
Read/write property GenerateInternalRouteContext Indicates if the internal route context should be generated.
Read/write property InternalODCostMatrixType Indicates the type of internal matrix to be created.
Read/write property OutputLines Indicates how route lines are generated.
Read/write property TimeFieldUnits The units for time fields in the NA classes.
Read/write property TimeWindowViolationPenaltyFactor The penalty factor for time window violation in the objective function.

CoClasses that implement INAVRPSolver

CoClasses and Classes Description
NAServerVRPParams Deprecated as of 10.0. A container for the Vehicle Routing Problem solver settings and return parameters used by NAServer.
NAVRPSolver Performs VRP network analysis.

Remarks

INAVRPSolver is the interface provided on the NAVRPSolver object to access the properties of the VRP solver.

.NET Snippets

Create Vehicle Routing Problem Layer | Set Vehicle Routing Problem Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Vehicle routing problem solver (Code Files: frmVRPSolver)