I can see that I'm going to have to spell it out, lest certain people continue to disparage me.
Let's formalise the OPs problem algebraically.
We have N objects each having K attributes defined on the space AK = A1xA2x...xAK. We require M subsets of objects, where M<N and each object may exist in one and only one group.
Form the MxK matrix of means
| μ1(G1) μ2(G1) ... μK(G1)|| μ1(G2) μ2(G2) ... μK(G1)|| . . . || . . . || . . . || μ1(GM) μ2(GM) ... μK(GM)|
Those claiming that I have misread the question, or that I don't understand clustering have falsely assumed that the rows of this matrix define the possible clusters for this problem (i.e., a one-to-one mapping of groups and clusters in the original space AK in which the objects are defined). That obviously doesn't work in this problem since it would give M clusters all having the same label (i.e., M copies of the same cluster). Given such a glaring absurdity, why would anyone immediately assume that this is what I meant/intended? I think I've shown over the years that I'm not an idiot... but perhaps I'm mistaken (either I am an idiot and don't know it, or I haven't proven otherwise).
Clearly to solve this problem one must not seek M clusters based on a k-dimensional label, but rather K clusters in the space of means UM having an m-dimensional label. I.e, cluster the matrix by columns, rather than rows, under the constraint of uniqueness of the assignment of objects to groups.
To borrow from one of my detractors...
Quote: Does it make more sense now?