<?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: VRP - Create a dynamic service time in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523605#M5136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate the suggestion, but it results in the same problem I am struggling to resolve. Time windows only control when a vehicle can arrive to a destination, so, using my times, if I set the window from 2:00 PM to 2:07 PM with a 7 minute service time, the bus could leave anywhere from 2:07 PM to 2:14 PM. This is really what I want as the bus should ideally arrive by 2:00 PM and MUST leave by 2:07 PM. However, the reality of it, buses are late sometimes and as I said if I totally enforce the 7 minute service time, then I project too much equipment because buses are leaving late (say 2:11 PM.) That's why I want the service time to be TimeWindow2 - ArrivalTime. If the bus couldn't make it until 2:03 PM, then my service time would ideally change to 4 minutes, because as I said the bus must leave at 2:07 PM. There are some rules that are strict (depart at 2:07 PM) and some that are flexible (7 minute service time.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution was to change the timewindow1 to 2:06:50 PM, timewindow2 to 2:07 PM, and my servicetime to 0 minutes . Equipment is now tiering logically, which is great, but I don't like that I am not considering service time in the model because in reality it takes time to load children onto a bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;InboundArriveTime&lt;/SPAN&gt;&lt;/SPAN&gt; is a good suggestion, but from my understanding equipment won't leave the depot until the order has arrived at the destination. I need my equipment to be in transit, or at the destination, as to anticipate picking up the order. I may be misunderstanding this variable. I may need to experiment with this variable more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ESRI would implement a "depart at" variable, then I could schedule my time windows and tell the modeller to leave at an exact time. Couple this with additional variables like minimum service time and maximum service time, then I could create a much more accurate VRP model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 13:42:57 GMT</pubDate>
    <dc:creator>DougKampe</dc:creator>
    <dc:date>2016-09-30T13:42:57Z</dc:date>
    <item>
      <title>VRP - Create a dynamic service time</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523603#M5134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a model to optimize a fleet of over 450 school buses and what trips they will service. Everything works beautifully, except one thing, and I will describe the scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the school bell rings in the afternoon at 2:00 PM the bus should be there and wait 7 minutes to service the order (servicetime). The bus should depart at 2:07 PM ideally. However, if I strictly enforce this time rule, I am left with an unrealistic increase in equipment because I some buses will be late. However, If I allow buses to be late say 5 minutes, then a bus can arrive at 2:05 PM, but since my service time always remains 7 minutes, I am left with is a bus leaving at 2:12 PM, which distorts my next set of orders. What I need is a way to subtract service time from arrival time, but is there a way I can set service time dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what ESRI says:&lt;/P&gt;&lt;P&gt;A time window only states when a vehicle can arrive at an order; it doesn't state when the service time must be completed. To account for service time and leave before the time window is over, subtract ServiceTime from the TimeWindowEnd1 field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What they fail to say is where and how to do this. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 18:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523603#M5134</guid>
      <dc:creator>DougKampe</dc:creator>
      <dc:date>2016-09-21T18:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: VRP - Create a dynamic service time</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523604#M5135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a doubt here, you said the service time always remain 7 minutes and at the end, you said about incorporating the dynamic service time. I am unsure if it is static or dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the service time is 7 minutes always, I have a suggestion for you.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;the statement &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;'&lt;SPAN&gt;A time window only states when a vehicle can arrive at an order; it doesn't state when the service time must be completed. To account for service time and leave before the time window is over, subtract ServiceTime from the TimeWindowEnd1 field.' ,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;means, if the service time is 7 minutes and you allowed 15 minutes delay in the arrival which means timewindowstart1 = 2:00 PM and timewindowend1 = 2:15 PM. and you want the bus to depart by 2:15 PM(with service of 7 minutes), you should set&amp;nbsp;&lt;SPAN&gt;timewindowstart1 = 2:00 PM and timewindowend1 = 2:08 PM. and service time being 7 minutes entered in the solver. This will take care of latest allowed depart time(timewindowend1 +7).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;You would also want to explore&amp;nbsp;InboundArriveTime&amp;nbsp;if your date value and time value is static.&lt;STRONG style="color: #4d4d4d; background-color: #ffffff; font-weight: bold;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Please let me know if you have a doubt.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Shubhada&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 20:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523604#M5135</guid>
      <dc:creator>ShubhadaKshirsagar</dc:creator>
      <dc:date>2016-09-29T20:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: VRP - Create a dynamic service time</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523605#M5136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate the suggestion, but it results in the same problem I am struggling to resolve. Time windows only control when a vehicle can arrive to a destination, so, using my times, if I set the window from 2:00 PM to 2:07 PM with a 7 minute service time, the bus could leave anywhere from 2:07 PM to 2:14 PM. This is really what I want as the bus should ideally arrive by 2:00 PM and MUST leave by 2:07 PM. However, the reality of it, buses are late sometimes and as I said if I totally enforce the 7 minute service time, then I project too much equipment because buses are leaving late (say 2:11 PM.) That's why I want the service time to be TimeWindow2 - ArrivalTime. If the bus couldn't make it until 2:03 PM, then my service time would ideally change to 4 minutes, because as I said the bus must leave at 2:07 PM. There are some rules that are strict (depart at 2:07 PM) and some that are flexible (7 minute service time.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution was to change the timewindow1 to 2:06:50 PM, timewindow2 to 2:07 PM, and my servicetime to 0 minutes . Equipment is now tiering logically, which is great, but I don't like that I am not considering service time in the model because in reality it takes time to load children onto a bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;InboundArriveTime&lt;/SPAN&gt;&lt;/SPAN&gt; is a good suggestion, but from my understanding equipment won't leave the depot until the order has arrived at the destination. I need my equipment to be in transit, or at the destination, as to anticipate picking up the order. I may be misunderstanding this variable. I may need to experiment with this variable more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ESRI would implement a "depart at" variable, then I could schedule my time windows and tell the modeller to leave at an exact time. Couple this with additional variables like minimum service time and maximum service time, then I could create a much more accurate VRP model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 13:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/vrp-create-a-dynamic-service-time/m-p/523605#M5136</guid>
      <dc:creator>DougKampe</dc:creator>
      <dc:date>2016-09-30T13:42:57Z</dc:date>
    </item>
  </channel>
</rss>

