Is it practicable to train multiple agents simutaneously using RL Toolbox?

1 次查看(过去 30 天)
Here is a question about applying multiple agents simutaneously when training using RL Toolbox.
Background: I have been trying to apply reinforcement learning method to multiagent control in which scenario communication between agents is required. So I need to train agents simultaneously while they exchange data/ message with each otherlike statesobservationsand reward.
According to my knowledgethere only can be one single RLagent in one Simulink file while creating environment. Besidesfunction ‘train’ seems not to support to train several agents simultaneously while using several Simulink files.
So how to solve this problem? Any suggestions would be really appreciated!

采纳的回答

Ari Biswas
Ari Biswas 2020-4-20
Multi-agent training is currently not supported, however, it will be soon in a future release.

更多回答(1 个)

Emmanouil Tzorakoleftherakis
As of R2020b release, Reinforcement Learning Toolbox lets you train multiple agents simultaneously in Simulink. Please see following examples for reference:
  1. Train Multiple Agents for Path Following Control
  2. Train Multiple Agents for Area Coverage
  3. Train Multiple Agents to Perform Collaborative Task
Hope that helps

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by