Multiagent scheduling: models and algorithms