Write a reusable prompt with replaceable inputs. Submit your prompt and one test output for this example.
Task: Use AI to compare several errand orders using a small travel-time map.
Example input: Leave home at 10:00 and visit the library, grocer, and parcel shop before returning home. Travel times in minutes, identical in both directions: home–library 10, home–grocer 15, home–parcel 12, library–grocer 8, library–parcel 9, grocer–parcel 6. Each stop takes 10 minutes. The library opens at 10:30. The parcel shop closes at 11:00. The grocer is open throughout. These are invented places; no map or location access is needed.
Constraints:
- Visit each stop exactly once.
- Include any waiting time in the route’s total.
- Treat closing time as the deadline to finish the parcel-shop visit.
Required output from your prompt: Compare all six visit orders, select a feasible route with the earliest return, and provide a timestamped itinerary.
Success checks:
- Every route uses the supplied pairwise times.
- Opening, closing, service, and waiting times are all considered.
- The chosen route completes the parcel stop by 11:00.
- A second calculation can reproduce its return time.