Cluster expansion method for multicomponent systems based on optimal selection of structures for density-functional theory calculations | Synapse