How to solve the issues with pickup and delivery

There is a huge number of points of pickup and delivery of goods.
The following conditions must be met:

  1. There can be several points of pickup and delivery of goods.
    For example,
  • 1 pickup (warehouse) and multiple deliveries
  • multiple pickups and multiple deliveries
  • multiple pickups and 1 deliveries etc.

2) There is a difference from which point to pick up the goods and where to deliver. Those. there must be some dependency or ability to group pickups & deliveries like Shipments (pair of Pickup & Delivery), but with multiple pickups & deliveries.

  1. Pickups must be before deliveries. (Transport cannot deliver the cargo without picking up the cargo). Based on my previous question I can use. ShipmentPickupsFirstConstraint
    But for some reason this restriction worked only for 1 transport. How to solve pickup & delivery problems? - #2 by Tomas_Benedikt

P.S. Maybe someone can enlighten me and help me with this issue.