evaluate_insertion
Evaluate inserting a delivery into active routes for a date, returning marginal cost, best position, and capacity/time-window violations for existing or new deliveries.
Instructions
Marginal cost (km and minutes) of inserting a delivery into each active route for a date, the best position, and whether it violates capacity or time windows. Provide either delivery_id (existing) or a new_delivery object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| delivery_id | No | ||
| new_delivery | No |