K-means algorithm for capacitated clustering problem

Hello,
I want to perform K-means clustering algortihm for capacitated clustering problem. All the codes for k-means are about image processing so I couldn't figure out my problem.
Let's say I have 100 customers with x y coordinates and demands. I also have identical vehicles with a certain capacity C. I'll have clusters equal to (Total demand/C). I want to cluster the customers so that the total demand of each cluster does not exceed the vehicle capacity. The solution will appear as a binary matrix where rows represent customers and columns represent cluster numbers.
If you already have codes for this problem could you please share it with me or show me a way for how to do it?
I'd very much appreciate your help :)

3 件のコメント

sakarya üniversitesi
sakarya üniversitesi 2013 年 10 月 18 日
bende bu konuda çalışıyorum. bilgi paylaşımı yapabiliriz.
Ronaldo
Ronaldo 2023 年 6 月 12 日
I am working on this too and I have exactly the same problem. I am having dificulty in coding. If you did something can you help me too please. I would appreciate too.
Image Analyst
Image Analyst 2023 年 6 月 12 日
@Ronaldo this question was asked 10 years ago so it's not likely @Pinar will reply. You're best off asking your question in a new thread of your own.

サインインしてコメントする。

回答 (1 件)

sakarya üniversitesi
sakarya üniversitesi 2013 年 10 月 18 日

0 投票

Bende bu konuda çalışıyorum. bilgi paylaşımı yapabiliriz.

1 件のコメント

ibrahim alasmar
ibrahim alasmar 2018 年 4 月 16 日
hello, i want to ask something. im working on fuzzy c means and i couldnt find a performance index for this algorithm in matlab.Is there any index in matlab for it like indexes which used for K means like DB and Silhouette ? @ sakarya üniversitesi

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeData Clustering についてさらに検索

質問済み:

2013 年 7 月 20 日

コメント済み:

2023 年 6 月 12 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by