Screenwriter - creation

Good morning everyone, how are you?

I have a big challenge ahead of me and I would like to know if it is possible.

I would like to create a router, the concept is “simple”, I have small stores that I need to pick up packages and distribution centers, the place where my vehicles leave.

I need the route to be made considering some criteria:

1° The route must begin and end near the distribution center.

I have the LAT and Long information, zip code and full address of the locations, what is the best way to start?

Hi @Gabriel2020 .

You can start by having a look at

And

Br.

2 Likes

Is there a flow already with one of this node or options in use for me to check?

Hi @Gabriel2020.

You can try and search on the hub.
I found this example.

Have a look.
Br

1 Like

I think now I can go into more detail about what I need.

In red is the location data referring to the “shop_ID” column and in yellow is the data referring to the SPX_FMH column which is my distribution center.

What I need is a route that starts close to my distribution center and ends close to it, given the Shop_ids, taking into account that each route can only have 17 Shop_Ids.

Is it possible to do this?

Hi @Gabriel2020

You can explore the hub for nearest join.
Look at this example.

Br

Hi @Gabriel2020,

I think it is. One solution is to use APIs to compute the optimal path between points, but since you have more than 17 shops to visit, you’ll need more than a vehicle and that’s where the problem gets complex.

Have a look at this website Here Tour Planning Service, you can also get a free account, so you can make tests and develop your solution.

I might have some examples but I need to look for them (old projects on an old external drive) I’ll let you know. :slight_smile:

Have a nice evening,
Raffaello Barri

4 Likes

@lelloba If you have a project using this API, it will help a lot, thank you all for your help.