{"id":327262,"date":"2018-09-25T12:00:39","date_gmt":"2018-09-25T19:00:39","guid":{"rendered":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=327262"},"modified":"2019-02-21T13:43:26","modified_gmt":"2019-02-21T21:43:26","slug":"fleet-routing-with-the-vrp-solver-time-windows","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows","title":{"rendered":"Fleet Routing with the VRP Solver: Time Windows"},"author":8262,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23351],"tags":[231602,31681,231592],"industry":[],"product":[37021],"class_list":["post-327262","blog","type-blog","status-publish","format-standard","hentry","category-transportation","tag-fleet-routing","tag-network-analysis","tag-vrp","product-network-analyst"],"acf":{"short_description":"This article will discuss the basics of time windows in the VRP solver as well as how to prioritize their importance.","flexible_content":[{"acf_fc_layout":"content","content":"<p>More and more companies need to incorporate appointment times or time windows into their routing solutions.\u00a0 The 30-minute guarantee isn\u2019t just for pizza delivery anymore.\u00a0 We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.<\/p>\n<h3>The Basics<\/h3>\n<p>Time windows are a way to indicate when the route\/driver should arrive at that order location.\u00a0 The VRP Solver supports two time windows per order.\u00a0 If the beginning time for a time window is left null, then it will correspond with starting at the earliest start time of the earliest route.\u00a0 Similarly, if the ending time for a time window is left blank, then it will correspond with the latest ending of the last route.<\/p>\n<p>Unless using the Rest Request system, the time window fields are set up to accept either just time or time and date.\u00a0 If it is just the time then it is assumed to be on the default date.\u00a0 If using both date and time be sure to use both date and time in all time fields in Orders, Depots, Routes, and Breaks.\u00a0 The Rest Request system requires that all times are in milliseconds since epoch (which is January 1<sup>st<\/sup> 1970).\u00a0 It, therefore, will inherently have both date and time.<\/p>\n<p>.<\/p>\n<p style=\"padding-left: 60px\">Note: Time windows do not include when the drivers should be done at that location, ready to go to the next location.\u00a0 It is only when they should arrive at the location.\u00a0 If you need to model it so that the driver leaves within a certain time, then for your time windows subtract the service time from the TimeWindowEnd value. This allows for if the driver was to show up right at the end of this modified time window they would be completed with the service time and leaving right at the end of the original time window.<\/p>\n<h3>Hard vs. Soft Time Windows<\/h3>\n<p>Hard time windows mean that the route\/driver must show up during the designated time frame of the time windows.\u00a0 A soft time window, on the other hand, allows the route\/driver to show up late but the violation is penalized in the solver so that violation times are minimized.\u00a0 To indicate that the time window is hard set the corresponding MaxViolationTime to zero.\u00a0 Leaving this value as null makes it a soft time window.\u00a0 Giving a positive value for MaxViolationTime makes it a soft time window within a hard time window.\u00a0 This means the route\/driver can be late to that location, incurring the violation penalty, but only up to the MaxViolationTime.\u00a0 At that point it is a hard time constraint.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":327272,"id":327272,"title":"TimeWindows","filename":"TimeWindows.jpg","filesize":35934,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\/timewindows","alt":"Time window fields in the orders attribute table","author":"8262","description":"Shows different time window options in the orders attribute table of the VRP solver.","caption":"","name":"timewindows","status":"inherit","uploaded_to":327262,"date":"2018-09-25 15:48:04","modified":"2018-09-25 15:49:27","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":949,"height":237,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","thumbnail-width":213,"thumbnail-height":53,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","medium-width":464,"medium-height":116,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","medium_large-width":768,"medium_large-height":192,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","large-width":949,"large-height":237,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","1536x1536-width":949,"1536x1536-height":237,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","2048x2048-width":949,"2048x2048-height":237,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","card_image-width":826,"card_image-height":206,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/TimeWindows.jpg","wide_image-width":949,"wide_image-height":237}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h3>Prioritizing Time Window Violations or Total Cost<\/h3>\n<p>When setting up a problem with soft time windows you have the option to identify how much priority you want to place on minimizing the time window violation time vs minimizing the total cost of the routes (which includes the total time and total distance for all of the routes).\u00a0 These two priorities are usually working against each other.\u00a0 Minimizing or eliminating time window violations usually requires higher costs because.\u00a0 This is because the shortest tour amongst all of the stops will likely not satisfy the time windows.\u00a0 To indicate the preference for the VRP problem use the parameter Time Window Violation Importance.\u00a0 There are three options for this parameter: Low, Medium, and High.<\/p>\n<ul>\n<li>Low &#8211; Prioritizes minimizing the total cost over the time window violations<\/li>\n<li>Medium &#8211; Tries to find a balance between the time window violations and added cost<\/li>\n<li>High &#8211; Minimizes the time window violations at the expense of added cost<\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":327292,"id":327292,"title":"TimeWindowImprotance","filename":"ArcMapGPTool.jpg","filesize":30225,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\/arcmapgptool","alt":"","author":"8262","description":"","caption":"","name":"arcmapgptool","status":"inherit","uploaded_to":327262,"date":"2018-09-25 15:54:07","modified":"2018-09-25 15:55:06","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":590,"height":408,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","thumbnail-width":213,"thumbnail-height":147,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","medium-width":377,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","medium_large-width":590,"medium_large-height":408,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","large-width":590,"large-height":408,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","1536x1536-width":590,"1536x1536-height":408,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","2048x2048-width":590,"2048x2048-height":408,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","card_image-width":590,"card_image-height":408,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapGPTool.jpg","wide_image-width":590,"wide_image-height":408}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"image","image":{"ID":327302,"id":327302,"title":"ArcMapLayerProperties","filename":"ArcMapLayerProperties.jpg","filesize":25217,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\/arcmaplayerproperties","alt":"Setting Time Window Violation Importance in ArcMap","author":"8262","description":"Shows the Advanced Settings layer properties for VRP to set the importance of meeting time windows.","caption":"","name":"arcmaplayerproperties","status":"inherit","uploaded_to":327262,"date":"2018-09-25 15:55:25","modified":"2018-09-25 15:56:30","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":601,"height":238,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","thumbnail-width":213,"thumbnail-height":84,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","medium-width":464,"medium-height":184,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","medium_large-width":601,"medium_large-height":238,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","large-width":601,"large-height":238,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","1536x1536-width":601,"1536x1536-height":238,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","2048x2048-width":601,"2048x2048-height":238,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","card_image-width":601,"card_image-height":238,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/ArcMapLayerProperties.jpg","wide_image-width":601,"wide_image-height":238}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h3>Geo-Local or UTC Time<\/h3>\n<p>When using the UI in ArcMap for VRP layers or the GP tools in either ArcMap or ArcGIS Pro it is natural to type in the time fields using the local time for that location (Geo-Local).\u00a0 However, when switching to the rest request method those times need to be converted to milliseconds since epoch.\u00a0 This UNIX way of representing time has a strong convention of referencing time based on UTC. Therefore, most conversion methods convert those times using UTC instead of Geo-Local.<\/p>\n<p>The VRP Solver allows for some flexibility in specifying time.\u00a0 It allows the option of having that input as a Geo-Local time as well as UTC. You, therefore, need to specify which format is being used.\u00a0 This is done with the parameter time_zone_usage_for_time_fields with the two parameter options of GEO_LOCAL or UTC.\u00a0 Setting this parameter is only available in the GP tools or the rest request and it defaults to Geo-Local.\u00a0 When using the VRP layers in ArcMap there is no way to switch it to using UTC.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":327282,"id":327282,"title":"GeoLocal","filename":"GeoLocal.jpg","filesize":27703,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\/geolocal","alt":"Solve VRP GP Tool Time Zone Usage for Time Fields field","author":"8262","description":"Shows the Geo local vs UTC options in the Solve VRP tool.","caption":"","name":"geolocal","status":"inherit","uploaded_to":327262,"date":"2018-09-25 15:50:16","modified":"2018-09-25 15:53:23","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":589,"height":412,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","thumbnail-width":213,"thumbnail-height":149,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","medium-width":373,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","medium_large-width":589,"medium_large-height":412,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","large-width":589,"large-height":412,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","1536x1536-width":589,"1536x1536-height":412,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","2048x2048-width":589,"2048x2048-height":412,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","card_image-width":589,"card_image-height":412,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/GeoLocal.jpg","wide_image-width":589,"wide_image-height":412}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h3>Get Involved<\/h3>\n<p>When using soft time windows and a violation is needed, would you prefer to see one order with a larger violation or several orders with smaller violations?\u00a0 <a href=\"https:\/\/community.esri.com\/polls\/2834-when-using-soft-time-windows-and-a-violation-is-needed-would-you-prefer-to-see-one-order-with-a-larger-violation-or-several-orders-with-smaller-violations\">Click here to answer.<\/a><\/p>\n<p>How many time windows do you want to model?\u00a0 <a href=\"https:\/\/community.esri.com\/polls\/2833\">Click here to answer.<\/a><\/p>\n"}],"authors":[{"ID":8262,"user_firstname":"Heather","user_lastname":"Moe","nickname":"HMoe","user_nicename":"hmoe","display_name":"Heather Moe","user_email":"HMoe@esri.com","user_url":"","user_registered":"2018-08-13 14:20:38","user_description":"A product engineer on the Network Analyst Team.  Heather works primarily with the VRP solver.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/Square_HMoe.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"related_articles":[{"ID":320842,"post_author":"8262","post_date":"2018-09-18 09:20:02","post_date_gmt":"2018-09-18 16:20:02","post_content":"","post_title":"Fleet Routing with the VRP Solver: An Introduction","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"fleet-routing-with-the-vrp-solver-an-introduction","to_ping":"","pinged":"","post_modified":"2019-02-21 13:42:44","post_modified_gmt":"2019-02-21 21:42:44","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=320842","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":false,"wide_image":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fleet Routing with the VRP Solver: Time Windows<\/title>\n<meta name=\"description\" content=\"More and more companies need to incorporate appointment times or time windows into their routing solutions. The 30-minute guarantee isn\u2019t just for pizza delivery anymore. We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fleet Routing with the VRP Solver: Time Windows\" \/>\n<meta property=\"og:description\" content=\"More and more companies need to incorporate appointment times or time windows into their routing solutions. The 30-minute guarantee isn\u2019t just for pizza delivery anymore. We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-21T21:43:26+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\"},\"author\":{\"name\":\"Heather Moe\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/1455b8cfd15cc7cec6c55e261778920f\"},\"headline\":\"Fleet Routing with the VRP Solver: Time Windows\",\"datePublished\":\"2018-09-25T19:00:39+00:00\",\"dateModified\":\"2019-02-21T21:43:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\"},\"wordCount\":8,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"fleet routing\",\"network analysis\",\"vrp\"],\"articleSection\":[\"Transportation\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\",\"name\":\"Fleet Routing with the VRP Solver: Time Windows\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2018-09-25T19:00:39+00:00\",\"dateModified\":\"2019-02-21T21:43:26+00:00\",\"description\":\"More and more companies need to incorporate appointment times or time windows into their routing solutions. The 30-minute guarantee isn\u2019t just for pizza delivery anymore. We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fleet Routing with the VRP Solver: Time Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/1455b8cfd15cc7cec6c55e261778920f\",\"name\":\"Heather Moe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/Square_HMoe.jpg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/Square_HMoe.jpg\",\"caption\":\"Heather Moe\"},\"description\":\"A product engineer on the Network Analyst Team. Heather works primarily with the VRP solver.\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/hmoe\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Fleet Routing with the VRP Solver: Time Windows","description":"More and more companies need to incorporate appointment times or time windows into their routing solutions. The 30-minute guarantee isn\u2019t just for pizza delivery anymore. We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows","og_locale":"en_US","og_type":"article","og_title":"Fleet Routing with the VRP Solver: Time Windows","og_description":"More and more companies need to incorporate appointment times or time windows into their routing solutions. The 30-minute guarantee isn\u2019t just for pizza delivery anymore. We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2019-02-21T21:43:26+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows"},"author":{"name":"Heather Moe","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/1455b8cfd15cc7cec6c55e261778920f"},"headline":"Fleet Routing with the VRP Solver: Time Windows","datePublished":"2018-09-25T19:00:39+00:00","dateModified":"2019-02-21T21:43:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows"},"wordCount":8,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["fleet routing","network analysis","vrp"],"articleSection":["Transportation"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows","name":"Fleet Routing with the VRP Solver: Time Windows","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2018-09-25T19:00:39+00:00","dateModified":"2019-02-21T21:43:26+00:00","description":"More and more companies need to incorporate appointment times or time windows into their routing solutions. The 30-minute guarantee isn\u2019t just for pizza delivery anymore. We will discuss the basics of time windows in the VRP solver and how to prioritize their importance.","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/network-analyst\/transportation\/fleet-routing-with-the-vrp-solver-time-windows#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Fleet Routing with the VRP Solver: Time Windows"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/1455b8cfd15cc7cec6c55e261778920f","name":"Heather Moe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/Square_HMoe.jpg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/09\/Square_HMoe.jpg","caption":"Heather Moe"},"description":"A product engineer on the Network Analyst Team. Heather works primarily with the VRP solver.","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/hmoe"}]}},"text_date":"September 25, 2018","author_name":"Heather Moe","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/hmoe","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcGIS Network Analyst","tag_data":[{"term_id":231602,"name":"fleet routing","slug":"fleet-routing","term_group":0,"term_taxonomy_id":231602,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw"},{"term_id":31681,"name":"network analysis","slug":"network-analysis","term_group":0,"term_taxonomy_id":31681,"taxonomy":"post_tag","description":"","parent":0,"count":16,"filter":"raw"},{"term_id":231592,"name":"vrp","slug":"vrp","term_group":0,"term_taxonomy_id":231592,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw"}],"category_data":[{"term_id":23351,"name":"Transportation","slug":"transportation","term_group":0,"term_taxonomy_id":23351,"taxonomy":"category","description":"","parent":0,"count":214,"filter":"raw"}],"product_data":[{"term_id":37021,"name":"ArcGIS Network Analyst","slug":"network-analyst","term_group":0,"term_taxonomy_id":37021,"taxonomy":"product","description":"","parent":36981,"count":28,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=network-analyst","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/327262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/8262"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=327262"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/327262\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=327262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=327262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=327262"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=327262"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=327262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}