K-means algorithm for capacitated clustering problem

조회 수: 6 (최근 30일)
Pinar
Pinar 2013년 7월 20일
댓글: Image Analyst 2023년 6월 12일
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
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일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Cluster Analysis and Anomaly Detection에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by