I had an idea for a spinoff of Weekly Challenge #199. The objective was to add carpooling, where a group of friends (determined by proximity) would meet to then determine the top three theaters to minimize total distance traveled.
I achieved the grouping part of the problem using the K-Centroid Cluster Analysis tool, with three clusters (representing three cars). However, one of the clusters has a size of six, which would be fine if the vehicles had indeterminate passenger capacity. However, I would like to limit the clusters to a size of five, representative of a common sedan.
Is there a way to limit cluster size when using predictive grouping tools?