<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Presuming you mean the VRP with time windows variant:<br>
    Both VRP example variants follows their research spec (see docs for
    link).<br>
    The VRP with time windows spec indeed just counts the distance as
    time in the score function,<br>
    so given that the distance is specified in longitude/latitude, that
    means a vehicle has a static speed (whatever that amounts to).<br>
    <br>
    The way most implementations deal with this (as well with other
    real-world requirements),<br>
    is to replace the connections from customer A to customer B<br>
    with real GPS navigation times.<br>
    See<br>
    &nbsp;
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/19410972/optaplanner-vrp-edge-weights-need-to-use-actual-gps-data-instead-of-euclidean-di">http://stackoverflow.com/questions/19410972/optaplanner-vrp-edge-weights-need-to-use-actual-gps-data-instead-of-euclidean-di</a><br>
    <br>
    Also note that you can customize the score function
    (vehicleRoutingScoreRules.drl) to your business's needs.<br>
    Depending on your business, you might want to favor time
    optimization, fuel consumption optimization or a weighted score of
    both.<br>
    <br>
    <div class="moz-cite-prefix">On 09-12-13 23:47, Suleyman Demirel
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHOLoUXyeY_Fe38L6mUdmpMk_c03DEi_3dBNPBHUAzD51kSENg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello everyone,
        <div><br>
        </div>
        <div>I have just found out about optaplanner and have been
          testing the vehicle routing problem on the examples provided.
          I am not able to see how we can change the speed of a vehicle
          using the data files provided. If my calculations are not
          wrong, the current assumption looks like a vehicle's speed is
          30 kmh (or miles per hour, whichever is assumed to be used).</div>
        <div><br>
        </div>
        <div>Does anyone know how that can be modified? Thanks.<br
            clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr"><br>
            <div>Suleyman Demirel<br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>