Reinforcement Learning: competitive or collaborative options in MARL Matlab

8 Ansichten (letzte 30 Tage)
ali farid
ali farid am 12 Jun. 2024
Bearbeitet: Shivani am 13 Jun. 2024
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?

Antworten (1)

Shivani
Shivani am 13 Jun. 2024
Bearbeitet: Shivani am 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!

Tags

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by