Closed kennylajara closed 3 years ago
Hi @kennylajara, thanks for the message. Unfortunately you can't define different constraints for each centroid. If you wanted to hack the code I would have a look at how the min-cost-flow graph is constructed and modify that function. You could then provided different constraints for each centroid. Good luck 😃
Is there a way to have a different constrains for different clusters? Like: I wan three clusters, one with a maximum of 6 points and 2 with a maximum or 4.