Solve (Network Analyst Tools)
Summary
Solves the network analysis layer problem based on its input data and analysis settings. The solve output is added to the network analysis layer and can be examined in the map and attribute tables and used for further analysis.
Usage
This tool is typically used as part of a network analysis workflow.
When the solve fails, the warning and error messages provide useful information about the reasons for the failure.
When the input network analysis layer references ArcGIS Online or an ArcGIS Enterprise portal whose routing services are configured using ArcGIS Online, solving the analysis will consume credits and will be subject to certain limits, such as the number of allowed inputs.
Learn more about credit consumption and analysis limits in network analysis
Although this tool can be used in a Python script, the recommended best practice for performing network analysis in Python is to use the solver classes in the
arcpy.naxmodule instead.
Parameters
| Label | Explanation | Data 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. Typically, locations are invalid if they cannot be located on the network. When invalid locations are ignored, the solver will skip them and attempt to perform the analysis using the remaining locations. The default value will match the Ignore Invalid Locations at Solve Time setting on the designated Input Network Analysis Layer value.
|
Boolean |
|
Terminate on Solve Error (Optional) |
Specifies whether the tool will stop running and terminate if an error is encountered during the solve.
|
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) |
Note:This parameter is for internal use only. |
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Network Analyst Layer |
The solved network analysis layer. |
Network Analyst Layer |
|
Solve Succeeded |
A Boolean indicating whether the solve succeeded. |
Boolean |
Environments
Licensing information
- Basic: Limited
This tool requires the Network Analyst license if the network data source of the layer being solved is a network dataset but not if the network data source is a service. - Standard: Limited
This tool requires the Network Analyst license if the network data source of the layer being solved is a network dataset but not if the network data source is a service. - Advanced: Limited
This tool requires the Network Analyst license if the network data source of the layer being solved is a network dataset but not if the network data source is a service.