Scalable clustering algorithms and optimization methods for parallel architectures