<div dir="ltr">Yes, you are right.<div>I'm sorry I give you an old link, here the current version documentation:</div><div><a href="http://project-osrm.org/docs/v5.15.2/api/#trip-service">http://project-osrm.org/docs/v5.15.2/api/#trip-service</a><br></div><div><br></div><div><div>The route service finds the fastest route between coordinates <b>in the supplied order</b>.</div><div><div><br></div><div>The trip plugin solves (try to) the <b>Traveling Salesman Problem. </b>(I think it's what you need)</div><div>Please keep in mind the roundtrip option (route returns to first location)</div><div>In the last version there are two new option source/destination if you want to fix the first and the last point and reorder the others, otherwise the service use the supplied points in any order to reach the goal. (please follow the supported combinations of roundtrip, source and destination according to the table)</div><div><br></div><div>Rgds</div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">Nico Aymet</span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-03-13 22:38 GMT+00:00 Xavier Prudent <span dir="ltr"><<a href="mailto:prudentxavier@gmail.com" target="_blank">prudentxavier@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Nico,<div><br></div><div>Thanks for that fast answer,</div><div>So if I understand well, the route service expects an order, while the trip service can estimate this order, right?</div><div><br></div><div>Regards,</div><div>Xavier</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-13 18:28 GMT-04:00 Nico Aymet <span dir="ltr"><<a href="mailto:nico@nico89.com" target="_blank">nico@nico89.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Hi Xavier,<div>you can use the trip service:</div><div><br></div><div><a href="http://project-osrm.org/docs/v5.5.1/api/#trip-service" style="color:rgb(17,85,204)" target="_blank">http://project-osrm.org/docs/v<wbr>5.5.1/api/#trip-service</a><br></div><div><br></div><div>Rgds</div></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-2845470143068740395m_3261318376975488358gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">Nico Aymet</span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div class="m_-2845470143068740395h5">2018-03-13 22:09 GMT+00:00 Xavier Prudent <span dir="ltr"><<a href="mailto:prudentxavier@gmail.com" target="_blank">prudentxavier@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-2845470143068740395h5"><div dir="ltr">Dear all,<div><br></div><div>Given 4 points A,B,C,D</div><div>osrm makes a nice job searching for a route that goes through A->B->C->D.</div><div><br></div><div>Is that also able to estimate the optimal ordering, not necessarily the given one?</div><div><br></div><div>Regards,</div><div><br></div><div>Xavier<span class="m_-2845470143068740395m_3261318376975488358HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div class="m_-2845470143068740395m_3261318376975488358m_6608331981466526175gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><i style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0B36xsKHULjaGdTNKMnJvcjk2bmc&revid=0B36xsKHULjaGY0xTSFJOcHlkOUtNUHVhTGdQSGZtSFhQOFNnPQ" width="96" height="68"></i><br></div><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><i><b>Xavier Prudent </b></i></div><div dir="ltr" style="font-size:12.8px"><i><b><br></b></i></div></div><div dir="ltr"><div><i style="font-size:12.8px">Data Scientist  - Data Mining - Machine Learning</i><br></div><div><i><br></i></div><div>Web    :<i> <a href="http://www.xavierprudent.com" target="_blank">www.xavierprudent.com</a></i></div><div>Tel (Québec)      : (514) 668 76 46</div><div>Skype : xavierprudent</div><div><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.or<wbr>g/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.or<wbr>g/listinfo/osrm-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-2845470143068740395gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><i style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0B36xsKHULjaGdTNKMnJvcjk2bmc&revid=0B36xsKHULjaGY0xTSFJOcHlkOUtNUHVhTGdQSGZtSFhQOFNnPQ" width="96" height="68"></i><br></div><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><i><b>Xavier Prudent </b></i></div><div dir="ltr" style="font-size:12.8px"><i><b><br></b></i></div></div><div dir="ltr"><div><i style="font-size:12.8px">Data Scientist  - Data Mining - Machine Learning</i><br></div><div><i><br></i></div><div>Web    :<i> <a href="http://www.xavierprudent.com" target="_blank">www.xavierprudent.com</a></i></div><div>Tel (Québec)      : (514) 668 76 46</div><div>Skype : xavierprudent</div><div><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>