Reinforcement Learning: competitive or collaborative options in MARL Matlab

11 次查看(过去 30 天)
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?

回答(1 个)

Shivani
Shivani 2024-6-13
编辑:Shivani 2024-6-13
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!

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by