Reinforcement Learning: competitive or collaborative options in MARL Matlab
9 views (last 30 days)
Show older comments
Hello,
I am trying to set up three explorer agents to explore the unknown area in collobrative or competive manners. I am wondering how I can set up this in Matlab, is there any options?
0 Comments
Answers (1)
Shivani
on 13 Jun 2024
Edited: Shivani
on 13 Jun 2024
Hello,
You can set up three explorer agents to collaboratively perform a particular task in Simulink by using the Reinforcement Learning Toolbox.
Kindly refer to this example, which elaborates on training multiple agents to perform a collaborative task, for more details on implementation: https://www.mathworks.com/help/reinforcement-learning/ug/train-2-agents-to-collaborate.html
It is important to mention here that multi-training is only supported in Simulink. If you have an environment created in MATLAB you could copy and paste the core parts like the reward and step function into a MATLAB Fcn block in Simulink as a workaround. You can look at the following MATLAB answer thred for more details: https://www.mathworks.com/matlabcentral/answers/654148-how-to-implement-multi-agent-rl-training-with-custom-matlab-environment-function
Hope this helps!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!