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


NAVRPSolver Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Classes > N > NAVRPSolver Class
ArcGIS Developer Help

NAVRPSolverClass Class

Performs VRP network analysis.

Product Availability

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

Description

This object is new at ArcGIS 9.3.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
INASolver Provides access to the common interface for all network solvers.
INASolverForwardStar Creates a network dataset forward star which honors the current solver settings as well as any barriers.
INASolverOutputGeneralization Provides access to generalization parameters used on solver output.
INASolverOverrides Overrides for implementation settings.
INASolverSettings Provides access to settings common to all solvers.
INASolverSettings2 Provides access to settings common to all solvers.
INASolverSettings3 Provides access to settings common to all solvers.
INATimeAwareSolverSettings Provides access to settings common to all time-aware solvers.
INATimeAwareSolverSettings2 Provides access to settings common to all time-aware solvers.
INATimeAwareSolverSettings3 Provides access to settings common to all time-aware solvers.
INAVRPSolver Provides access to the VRP solver.
IPersist (esriSystem)
IPersistStream (esriSystem)
ISupportErrorInfo (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

NAVRPSolver is a Network Analyst solver that computes an optimized set of routes for a fleet of vehicles to service a set of input orders. The NAVRPSolver can also honor time windows, multiple route capacities, travel duration constraints, route zone and route seed point constraints, specialties constraints, and paired order constraints. The NAVRPSolver honors all of the settings of the INASolverSettings interface except for IgnoreInvalidLocations. If invalid locations are present, the solver will return an invalid input error, along with the appropriate GP messages identifying each error.