<?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: Vehicle Routing Problem Example (ending at depot node) in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719903#M3312</link>
    <description>&lt;P&gt;Thanks Rob. I am using FLOW instead of useARC. I did look at both not sure why I settled on Flow. I will take a closer look at useARC (makes perfect sense why that would have it in there rather than FLOW).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can't wait to hear news on VRP. I already have some additional questions on solving for larger problems (works fine for less than 50 nodes, but as soon as I go over that it is running over 24 hours).&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 14:19:38 GMT</pubDate>
    <dc:creator>DanHouston</dc:creator>
    <dc:date>2021-02-17T14:19:38Z</dc:date>
    <item>
      <title>Vehicle Routing Problem Example (ending at depot node)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719786#M3310</link>
      <description>&lt;P&gt;I am working through the example on the vehicle routing problem:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=casmopt&amp;amp;docsetTarget=casmopt_decomp_examples12.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=casmopt&amp;amp;docsetTarget=casmopt_decomp_examples12.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The description says the constraints will force the vehicles to start and end at the depot node. In the code it seems to setup a constraint to force the vehicle to start at the depot node, but I don't see anything enforcing it to end at the depot node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I look at the solution data there is no ARC back to the depot node to end the graph. Since I am pulling this back into VA do I just have to follow all the flows and artificially add the last arc back to the depot node or is there a constraint that would cause that to happen automatically?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 03:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719786#M3310</guid>
      <dc:creator>DanHouston</dc:creator>
      <dc:date>2021-02-17T03:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Vehicle Routing Problem Example (ending at depot node)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719794#M3311</link>
      <description>&lt;P&gt;The EnterNode constraints force exactly one arc to enter any node (including the depot node 1) that is visited.&amp;nbsp; The solution_data does contain one arc into the depot for each vehicle that is used (look for the value 1 in the j column), and these arcs appear in the PROC SGPLOT output.&amp;nbsp; I suspect that you were looking at the Flow variables instead of the UseArc variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, I will have some news to share about VRP very soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update on 2/17/2021:&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://communities.sas.com/t5/Mathematical-Optimization/Scaling-up-Vehicle-Routing-Problem/m-p/719976#" target="_self"&gt;this subsequent post&lt;/A&gt; for the news.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 22:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719794#M3311</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2021-02-17T22:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Vehicle Routing Problem Example (ending at depot node)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719903#M3312</link>
      <description>&lt;P&gt;Thanks Rob. I am using FLOW instead of useARC. I did look at both not sure why I settled on Flow. I will take a closer look at useARC (makes perfect sense why that would have it in there rather than FLOW).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can't wait to hear news on VRP. I already have some additional questions on solving for larger problems (works fine for less than 50 nodes, but as soon as I go over that it is running over 24 hours).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 14:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Vehicle-Routing-Problem-Example-ending-at-depot-node/m-p/719903#M3312</guid>
      <dc:creator>DanHouston</dc:creator>
      <dc:date>2021-02-17T14:19:38Z</dc:date>
    </item>
  </channel>
</rss>

