Managing multiple agents by automatically adjusting incentives