There are several posts already about getting directions to Google Maps API if your waypoints exceed 23, but the answers about it do not account for if optimize_waypoints is True. The difference is, adding one stop to the list of addresses could throw off the whole route optimization equation. Does anyone have any suggested work-arounds for it?
I was thinking maybe running it once, dropping off the smallest mileage different stops (say if I send 26, drop off the 3 smallest), then running it again, then somehow reconcile the two routes? Is there a more efficient or cleaner way? Any thoughts? Thanks!
I am using Python, but this is not a question to specific Python. More of a general programming and Google Maps directions question. But answers referencing Python would be most appreciated!