Relationship constraint definitions
The relationship constraint builder allows you to define relationships between entities (sites, customers, products, assets, or shipments) that must be forced or prevented when building routes.
Use the builder to select one or more records for the first part of the relationship, and then select one or more records to create the second part of the relationship. Once the two parts of the relationship have been selected, you can define the type of relationship: one of Force or Prevent.
The following combinations are supported:
Entity A | Entity B | Relationship |
Shipment | Shipment |
Prevent Note: This combination is not supported for Periodic Optimization (Periodic VRP). |
Product | Product | Prevent |
Shipment | Transportation Asset | Prevent and Force (Force constraints permit ONLY the specified transportation assets to carry the shipment) |
Product | Transportation Asset | Prevent and Force (Force constraints permit ONLY the specified transportation assets to carry the product) |
Site | Transportation Asset | Prevent and Force (Force constraints permit ONLY the specified transportation assets to visit the site) |
Site | Site | Prevent |
Site | Customer | Prevent |
Customer | Transportation Asset | Prevent and Force (Force constraints permit ONLY the specified transportation assets to visit the customer) |
Customer | Customer | Prevent |
Customer | Site | Prevent |
Relationship constraint builder example
In this example, we force a product called "Perishable Food" to be routed on a transportation asset called "Refrigerated Truck":
- Open the Relationship Constraints table.
- Click Constraint Builder. You see the Relationship Constraint Builder form.
- For Condition A, select the table drop the Type drop-down list. In the example, select “Transportation Assets”.
- Select the record(s) to be included in the constraint. In this example, select “Refrigerated Truck”.
- In the Relationship drop-down, select “Force”.
- For Condition B, select the table drop the Type drop-down list. In the example, select “Products”.
- Select the record(s) to be included in the constraint. In this example, select “Perishable Food”.
- Click Build. Records are added to the Relationship Constraints table based on the values you have selected in the constraint builder.
Last modified: Wednesday May 15, 2024