Solve (Network Analyst)

This ArcGIS 2.8 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Solves the network analysis layer problem based on its network locations and properties.

Usage

  • When the solve fails, the warning and error messages provide useful information about the reasons for the failure.

  • Be sure to specify all the parameters on the network analysis layer that are necessary to solve the problem before running this tool.

  • The tool will consume credits when the network analysis layer references ArcGIS Online as the network data source. For more information, see Service Credits Overview.

Parameters

LabelExplanationData Type
Input Network Analysis Layer

The network analysis layer on which the analysis will be computed.

Network Analyst Layer
Ignore Invalid Locations
(Optional)

Specifies whether invalid input locations will be ignored.

  • Checked—The solver will skip over network locations that are unlocated and solve the analysis layer from valid network locations only. It will also continue solving if locations are on nontraversable elements or have other errors. This is useful if you know your network locations are not all correct, but you want to solve with the network locations that are valid. This is the default.
  • Unchecked—Do not solve if there are invalid locations. You can then correct these and rerun the analysis.
Boolean
Terminate on Solve Error
(Optional)

Specifies whether tool execution should terminate if an error is encountered during the solve.

  • Checked—The tool will fail to execute when the solver encounters an error. This is the default.
  • Unchecked—The tool will not fail and continue execution even when the solver encounters an error. All of the error messages returned by the solver will be converted to warning messages. You should use this option when background processing is enabled in your application.
Boolean
Simplification Tolerance
(Optional)

The tolerance that determines the degree of simplification for the output geometry. If a tolerance is specified, it must be greater than zero. You can choose a preferred unit; the default unit is decimal degrees.

Specifying a simplification tolerance tends to reduce the time it takes to render routes or service areas. The drawback, however, is that simplifying geometry removes vertices, which may lessen the spatial accuracy of the output at larger scales.

Because a line with only two vertices cannot be simplified any further, this parameter has no effect on drawing times for single-segment output, such as straight-line routes, OD cost matrix lines, and location-allocation lines.

Linear Unit
Overrides
(Optional)

Specify additional settings that can influence the behavior of the solver when finding solutions for the network analysis problems.

The value for this parameter needs to be specified in JavaScript Object Notation (JSON). For example, a valid value is of the following form {"overrideSetting1" : "value1", "overrideSetting2" : "value2"}. The override setting name is always enclosed in double quotation marks. The values can be either a number, Boolean, or a string.

The default value for this parameter is no value, which indicates not to override any solver settings.

Overrides are advanced settings that should be used only after careful analysis of the results obtained before and after applying the settings. A list of supported override settings for each solver and their acceptable values can be obtained by contacting Esri Technical Support.

String

Derived Output

LabelExplanationData Type
Network Analyst Layer

The solved network analysis layer.

Network Analyst Layer
Solve Succeeded

A Boolean indicating whether or not solve succeeded.

Boolean

Environments

Licensing information

  • Basic: Limited
  • Standard: Limited
  • Advanced: Limited

Related topics