Optimal Coordination of Loosely-Coupled Self-InterestedRobots