Example: a pickup, delivery, and fuel stop
Start with the pickup and delivery addresses from dispatch. Add a suitable fuel stop between them, then compare the numbered map markers with the stop list. If the fuel stop belongs after delivery, move it down the list before calculating the trip.
Review the result against appointment times, pickup-before-delivery order, driver hours, permits, and customer instructions. Route optimization is not a dispatch scheduler or an hours-of-service compliance system.
