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?