<?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: Can I make VRP include a Route only when necessary? in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1150099#M7814</link>
    <description>&lt;P&gt;Thank you so much, Heather! This solved it!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 08:49:59 GMT</pubDate>
    <dc:creator>Barbara_Araujo</dc:creator>
    <dc:date>2022-03-03T08:49:59Z</dc:date>
    <item>
      <title>Can I make VRP include a Route only when necessary?</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1149476#M7805</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I need to model collection routes for a single truck in several cities. Working time is from 08:00 - 12:00, then 13:00 - 15:00. Break is from 12:00 - 13:00.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;To simulate that, I created a "Routes" sheet with 3 routes , all with EarliestStartTime 08:00 and MaxTotalTime 7. Breaks refer to each route with TimeWindowStart 12:00 and TimeWindowEnd 13:00.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Because I only have one truck, the routes are supposed to reflect days. I made three of them to exclude the possibility that points are left out for exceeding the total time.&lt;/P&gt;&lt;P&gt;My problem is that the most optimal solution would be the one that uses the least amount of routes (days in my case). However, if I use three routes for a city in which one or two is enough, VRP will adjust&amp;nbsp; the solution so that all three are used.&lt;/P&gt;&lt;P&gt;My current workaround is estimating how many routes I will need and giving VRP only these, but I'm not always correct and need to spend more time and credits re-running them. AssignmentRule only excludes or includes a route but doesn't allow for prioritisation.&lt;/P&gt;&lt;P&gt;Is there really no possibility of making VRP model the least possible amount of routes?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1149476#M7805</guid>
      <dc:creator>Barbara_Araujo</dc:creator>
      <dc:date>2022-03-02T08:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can I make VRP include a Route only when necessary?</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1149655#M7807</link>
      <description>&lt;P&gt;Try adding a high value such as 1000 to FixedCost for each route. This would indicate to the solver that there is a cost to starting a new route and should help reduce the number of routes that are started.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 16:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1149655#M7807</guid>
      <dc:creator>HeatherMoe</dc:creator>
      <dc:date>2022-03-02T16:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can I make VRP include a Route only when necessary?</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1150099#M7814</link>
      <description>&lt;P&gt;Thank you so much, Heather! This solved it!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 08:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/can-i-make-vrp-include-a-route-only-when-necessary/m-p/1150099#M7814</guid>
      <dc:creator>Barbara_Araujo</dc:creator>
      <dc:date>2022-03-03T08:49:59Z</dc:date>
    </item>
  </channel>
</rss>

