SMS dit: The complexity of valued constraint satisfaction problems