<?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 VRP order priority with arcgis pro 2.6 in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409783#M3868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a potential client who wants to move to vrp solution (right now they are using some other, non Esri, technology).&lt;/P&gt;&lt;P&gt;The only functionality they can't seem to find is the option to prioritize some of the stops.&lt;/P&gt;&lt;P&gt;I was looking for a solution and found a few discussions :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/179656"&gt;VRP With Priority Stops (orders)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/216259"&gt;Order Priority/sequence&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one of them&amp;nbsp;it was mentioned to use the Revenue field (didn't work for me),&lt;/P&gt;&lt;P&gt;another solution was&amp;nbsp;solving the problem with 2 steps:&lt;/P&gt;&lt;P&gt;1. use AssignmentRule of "override"(3) to the &lt;SPAN&gt;prioritized&amp;nbsp;&lt;/SPAN&gt;stops,&lt;BR /&gt; and an&amp;nbsp;&lt;SPAN&gt;AssignmentRule of "exclude"(0) to all the other stops,&lt;BR /&gt;then solve (this step makes a route only to the prioritized&amp;nbsp;stops).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. change&amp;nbsp;the&amp;nbsp;AssignmentRule of the prioritized&amp;nbsp;&lt;/SPAN&gt;stops to "&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Preserve route and relative sequence"(1)/"Preserve route"(2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;and an&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;AssignmentRule of "override"(3) to all the other stops,&lt;BR /&gt;then&amp;nbsp;solve.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;The 2 step solution didn't work either -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;if i'm assigning&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Preserve route and relative sequence"(1) to the&amp;nbsp;prioritized&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;stops - solve returns an error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;if i'm assigning&amp;nbsp;"&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Preserve route"(2) to the prioritized stops - the route is created but the stops are not prioritized - they are ordered one after another - but not in the beginning of the route.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;another potential solution i found - was to assign to all the prioritized stops the&amp;nbsp;AssignmentRule of "&lt;SPAN class=""&gt;Anchor first"&lt;/SPAN&gt;&amp;nbsp;(4)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;but this option only takes one stop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;In a scenario where there are (for example)&amp;nbsp;40 stops , while&amp;nbsp;6 of them are in high priority and need to be reached first - what is the right way to generate a route?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;* we would want the route between the 6 prioritized stops to be optimized as well.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;I'm adding a shapefile layer that i used while trying to reach a solution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/182313"&gt;Heather Moe&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Aug 2020 10:20:39 GMT</pubDate>
    <dc:creator>RimaRabinovich</dc:creator>
    <dc:date>2020-08-17T10:20:39Z</dc:date>
    <item>
      <title>VRP order priority with arcgis pro 2.6</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409783#M3868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a potential client who wants to move to vrp solution (right now they are using some other, non Esri, technology).&lt;/P&gt;&lt;P&gt;The only functionality they can't seem to find is the option to prioritize some of the stops.&lt;/P&gt;&lt;P&gt;I was looking for a solution and found a few discussions :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/179656"&gt;VRP With Priority Stops (orders)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/216259"&gt;Order Priority/sequence&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one of them&amp;nbsp;it was mentioned to use the Revenue field (didn't work for me),&lt;/P&gt;&lt;P&gt;another solution was&amp;nbsp;solving the problem with 2 steps:&lt;/P&gt;&lt;P&gt;1. use AssignmentRule of "override"(3) to the &lt;SPAN&gt;prioritized&amp;nbsp;&lt;/SPAN&gt;stops,&lt;BR /&gt; and an&amp;nbsp;&lt;SPAN&gt;AssignmentRule of "exclude"(0) to all the other stops,&lt;BR /&gt;then solve (this step makes a route only to the prioritized&amp;nbsp;stops).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. change&amp;nbsp;the&amp;nbsp;AssignmentRule of the prioritized&amp;nbsp;&lt;/SPAN&gt;stops to "&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Preserve route and relative sequence"(1)/"Preserve route"(2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;and an&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;AssignmentRule of "override"(3) to all the other stops,&lt;BR /&gt;then&amp;nbsp;solve.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;The 2 step solution didn't work either -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;if i'm assigning&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Preserve route and relative sequence"(1) to the&amp;nbsp;prioritized&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;stops - solve returns an error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;if i'm assigning&amp;nbsp;"&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Preserve route"(2) to the prioritized stops - the route is created but the stops are not prioritized - they are ordered one after another - but not in the beginning of the route.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;another potential solution i found - was to assign to all the prioritized stops the&amp;nbsp;AssignmentRule of "&lt;SPAN class=""&gt;Anchor first"&lt;/SPAN&gt;&amp;nbsp;(4)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;but this option only takes one stop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;In a scenario where there are (for example)&amp;nbsp;40 stops , while&amp;nbsp;6 of them are in high priority and need to be reached first - what is the right way to generate a route?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;* we would want the route between the 6 prioritized stops to be optimized as well.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d; "&gt;&lt;SPAN&gt;I'm adding a shapefile layer that i used while trying to reach a solution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/182313"&gt;Heather Moe&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 10:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409783#M3868</guid>
      <dc:creator>RimaRabinovich</dc:creator>
      <dc:date>2020-08-17T10:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: VRP order priority with arcgis pro 2.6</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409784#M3869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting question, I would like to make sure I understand it correctly. By priority you are wanting to designate the set of orders that are visited before any other order on the route that it is assigned, there might be more than one of these high priority orders on a route, and it doesn't matter which route is servicing them just that they are first up in the day. Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming I have that correct, lets first recap the options you have looked into to give some explanation on each.&lt;/P&gt;&lt;P&gt;1. Revenue - The workflow that you mentioned for revenue is using a slightly different definition for priority. It is for when there are more orders in the problem then can be serviced by the routes available, then the high priority orders will be assigned to routes over lower priority ones. It however does not give preference to the timing of when those orders are visited, just that they are visited.&lt;/P&gt;&lt;P&gt;2. Preserve Route and Relative Sequence - This method would keep the orders towards the beginning of the route but it does allow for orders to be inserted in front of the first order or in between other orders, so it would not guarantee keeping the high priority orders at the very beginning of the route. I am concerned about you getting an error message for this assignment rule but not Preserve Route. If you do not think you should be getting the error message or it is not descriptive enough, we can try to work through that also or you can open a support ticket and we can dig into it more.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Preserve Route - This again will just keep the orders on a specific route but does not give any preference to keeping them at the beginning.&lt;/P&gt;&lt;P&gt;4. Anchor First - This does keep the orders at the first of the route but as you have pointed out it only allows for one order per route so it doesn't quite fit what you are looking for with needing a few orders serviced at the very beginning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An option I think will work for you is to put tight time windows on the orders that need to be visited before other orders on the routes. In your example if the four routes were to start at 8:00 am sharp then for the six orders that need to be serviced first, give them a time window between 8:00 and 8:10 am. As long as the max violation time is not set to 0, then the solver can visit these late but will try to meet the time windows as close as possible. Setting the Time Window Violation Importance parameter to High will make the "penalty" for the algorithm to visit these orders late even higher further incentivising visiting them first on the route. Based on your specific problem set up, such as service time and how far away orders are from the depot, you may need to adjust the time windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 16:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409784#M3869</guid>
      <dc:creator>HeatherMoe</dc:creator>
      <dc:date>2020-08-18T16:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: VRP order priority with arcgis pro 2.6</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409785#M3870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Heather,&lt;/P&gt;&lt;P&gt;The workaround you suggested seems to work.&lt;/P&gt;&lt;P&gt;We will offer that to our potential client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rima.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/503915_vrp_priority.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 07:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-order-priority-with-arcgis-pro-2-6/m-p/409785#M3870</guid>
      <dc:creator>RimaRabinovich</dc:creator>
      <dc:date>2020-08-19T07:07:33Z</dc:date>
    </item>
  </channel>
</rss>

