Fuzzy clustering with an application to scheduling