Resource Sharing in Computer Clusters According to Objectives