Cost Functions for Symphony Orchestras