Hi,<div><br></div><div>I know this question is not specific to marble code, but maybe some of you can help.</div><div><br></div><div>Im using marble widget and routino plugin in my application to show a route from start to finish visiting some points to pickup things.</div>
<div><br></div><div>Routing is working, but I would like that the route be the shortest possible visiting all points once*. I insert the points to visit in no particular order ( just starting with the start point and ending with the destination point) to the RouteRequest. So, the route start in the start point, and continues with the points in the inserted order, and that is not always the shortest route.</div>
<div><br></div><div>Anyone knows if any other router implements this (or if routino does it with some obscure option)?</div><div><br></div><div>One idea in which im working is get the routes to each next point to visit from the current position to get the nearest point to go first. Im doing this route-retrieving when the routingManager&#39;s  &#39;routeRetrieved&#39; signal is fired to do the routeRequest once the previous one is retrieved, and I got the distances for each route (from the routeRequest name, because using routingModel distance is not always right).. but the application crashes most times with different errors** in the middle of the multiple routeRequests.</div>
<div><br></div><div><br></div><div> So, if anyone has an idea or any comment that could help me, i would be very grateful.</div><div><br></div><div>Im using marble from svn, revision 1184939.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br></div><div><br></div><div>*Like the <a href="http://en.wikipedia.org/wiki/Travelling_salesman_problem">Travelling Salesman Problem</a>, but not returning to the start point.</div><div><br></div><div>**</div><div>QMutex::lock(): cv wait failure: Invalid argument</div>
<div>or</div><div>QMutex: mutex destroy failure: Device or resource busy</div><div>or</div><div><div>malloc(): memory corruption: 0x0b462159 *** QMutex::lock: mutex lock failure: Invalid argument</div></div><div><br></div>
<div>-- <br>Miguel Chavez Gamboa<br>
</div>