itinero / optimization

Routing optimization module module for Itinero.
Apache License 2.0
51 stars 17 forks source link

Slow optimisation #39

Open kharabyasser opened 4 years ago

kharabyasser commented 4 years ago

Hi,

I am trying to optimize 12 Points, the result is perfect the only issue is that it takes 2-3 mins, so my question is that normal? if not so, how can we improve Itinero optimization's performance:

                        var optimizationResult = router.Optimize(profile.ToString(),
                            pointsArray,
                            out IEnumerable<(int location, string message)> error,
                            0,
                            1);
                        break;

Thanks.

xivk commented 4 years ago

Did you contract the graph you use for the profile you are using?

kharabyasser commented 4 years ago

Thank you for your response Ben Abelshausen. Yes i did contract the graph using IDP tool for BigTruck.