<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Arcpy Network Analyst Solve Failure in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475333#M4642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you should have had errors or warnings indicating what was wrong... check the help options in more detail ie.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SKIP —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. &lt;STRONG&gt;This is useful if you know your network locations are not all correct&lt;/STRONG&gt;, but you want to solve with the network locations that are valid. &lt;/LI&gt;&lt;LI&gt;HALT —Do not solve if there are invalid locations. You can then correct these and re-run the analysis.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 21:03:44 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-05-16T21:03:44Z</dc:date>
    <item>
      <title>Arcpy Network Analyst Solve Failure</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475330#M4639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While using the Network Analyst Closest Facility task in a python script, my solve operation is failing on incidents that have been located on disconnected network segments.&amp;nbsp; I have tried to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="_jivemacro_uid_14634294229636327 jive_macro_code jive_text_macro" data-renderedposition="108_50_798_16" jivemacro_uid="_14634294229636327" modifiedtitle="true"&gt;&lt;P&gt;arcpy.Solve_na(cf_layer, terminate_on_solve_error=False, ignore_invalids=True)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but then the routes feature is never populated with any data at all, even for incidents that do have a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run this same operation in ArcMap, solve executes properly with the addition of a warning window displaying the incidents solve was not able to find a solution for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This brings me to my question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is there a way in python for solve to complete on all other features that do have a valid solution so I can continue with my analysis?&amp;nbsp; If not,&amp;nbsp; am I able to access the Network Analyst warning window within python so I can filter out incidents I know will fail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475330#M4639</guid>
      <dc:creator>JoeJung</dc:creator>
      <dc:date>2016-05-16T20:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Network Analyst Solve Failure</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475331#M4640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try 'skip' and 'continue'&lt;/P&gt;&lt;P&gt;Solve_na (in_network_analysis_layer, {ignore_invalids}, {terminate_on_solve_error}, {simplification_tolerance})&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/solve.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/solve.htm"&gt;Solve—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475331#M4640</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-16T20:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Network Analyst Solve Failure</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475332#M4641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I get the same result using the string version of the parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475332#M4641</guid>
      <dc:creator>JoeJung</dc:creator>
      <dc:date>2016-05-16T20:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Network Analyst Solve Failure</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475333#M4642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you should have had errors or warnings indicating what was wrong... check the help options in more detail ie.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SKIP —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. &lt;STRONG&gt;This is useful if you know your network locations are not all correct&lt;/STRONG&gt;, but you want to solve with the network locations that are valid. &lt;/LI&gt;&lt;LI&gt;HALT —Do not solve if there are invalid locations. You can then correct these and re-run the analysis.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 21:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475333#M4642</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-16T21:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Network Analyst Solve Failure</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475334#M4643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For anyone else experiencing something similar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It turns out that by deleting and recreating the network dataset, all of the operations began to function as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 17:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/arcpy-network-analyst-solve-failure/m-p/475334#M4643</guid>
      <dc:creator>JoeJung</dc:creator>
      <dc:date>2016-06-13T17:52:34Z</dc:date>
    </item>
  </channel>
</rss>

