for each agent i for each task j for each level k: for each agent i for each task j for each level k: for each agent i: