Trucks with multiple origins and destinations?

Hi,
is there anything we can calculate about which truck is near to origins and what destination is near to origins ?? for best route for each truck.

Like : two trucks, two destinations and two origins.