savoirfairelinux / sous-chef

Sous-Chef is a web application to help organizations to plan and deliver meals, and to manage clients files.
GNU Affero General Public License v3.0
67 stars 45 forks source link

Arrange routes during Kitchen Count #798

Open kousu opened 7 years ago

kousu commented 7 years ago

Expected Behaviour

I would expect that actually arranging the delivery route to be followed and running "minimize euclidean distances" would happen while organizing the day, in the "Kitchen Count" flow, that is on , say, /delivery/route/3/.

Actual Behaviour

It happens on the more generic "Routes" flow, under member/route/3/edit/.

I think this is confusing and inefficient for livreurs because deliveries change day to day and the optimal way to travel changes with them. I suggest moving the "Minimize Euclidean Distances" button to the "Kitchen Count" flow.

lingxiaoyang commented 7 years ago

@kousu When I was redoing the routes, I was assuming that there would be not much difference between pre-scheduled route and actual delivery routes. That's why I didn't put "Minimize" in kitchen count as long as the actual delivery routes were using the pre-scheduled route.

The question for you is: how much difference would we have between pre-scheduled and actual ones? During the test use, is it the case that there are many clients that are episodic or have specific delivery schedule other than everyday or it is important to adjust the routes everyday to meet clients' special needs (for example, what time to deliver)?