<?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: Violated Constraints codes? in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93534#M939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Patrick.&amp;nbsp; I couldn't find that page for the life of me and my searches didn't seem to bring that page back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That will definitely help us with the small issues we've encountered.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2012 14:19:53 GMT</pubDate>
    <dc:creator>AndrewWeisensel</dc:creator>
    <dc:date>2012-02-21T14:19:53Z</dc:date>
    <item>
      <title>Violated Constraints codes?</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93532#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've been working with the network analyst to perform a VRP (vehicle routing problem).&amp;nbsp; We have been modifying and adding to the VRP .net sample found at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Vehicle_routing_problem_solver/0001000001s3000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Vehicle_routing_problem_solver/0001000001s3000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the problem attempts to solve, we are being presented with a warning message stating "Some orders could not be routed due to violated constraints."&amp;nbsp; Examining the VRP data we have found either 37 or 61 in the ViolatedConstraints field when this occurs.&amp;nbsp; At this point we have been unable to find any reference to what these numbers mean.&amp;nbsp; Can someone point us in the right direction here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 20:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93532#M937</guid>
      <dc:creator>AndrewWeisensel</dc:creator>
      <dc:date>2012-02-17T20:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Violated Constraints codes?</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93533#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The various violated contraints can be found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/esriNAViolatedConstraints_Constants/003600000014000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/esriNAViolatedConstraints_Constants/003600000014000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to do some bitwise arithmetic to figure out which combination of constraints are violated.&amp;nbsp; In your case, you have 37 or 61. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For 37 (000000000100101):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationHardTimeWindow&lt;/STRONG&gt;&lt;SPAN&gt; - 32&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;STRONG&gt;esriNAViolationMaxTotalTime&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN&gt; - 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationMaxOrderCount&lt;/STRONG&gt;&lt;SPAN&gt; - 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For 61 (000000000111101):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationHardTimeWindow&lt;/STRONG&gt;&lt;SPAN&gt; - 32&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationMaxTotalDistance&lt;/STRONG&gt;&lt;SPAN&gt; - 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationMaxTotalTravelTime&lt;/STRONG&gt;&lt;SPAN&gt; - 8&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationMaxTotalTime&lt;/STRONG&gt;&lt;SPAN&gt; - 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;esriNAViolationMaxOrderCount&lt;/STRONG&gt;&lt;SPAN&gt; - 1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 14:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93533#M938</guid>
      <dc:creator>PatrickStevens</dc:creator>
      <dc:date>2012-02-21T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Violated Constraints codes?</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93534#M939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Patrick.&amp;nbsp; I couldn't find that page for the life of me and my searches didn't seem to bring that page back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That will definitely help us with the small issues we've encountered.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 14:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/violated-constraints-codes/m-p/93534#M939</guid>
      <dc:creator>AndrewWeisensel</dc:creator>
      <dc:date>2012-02-21T14:19:53Z</dc:date>
    </item>
  </channel>
</rss>

