How to implement multi-agent RL training with custom MATLAB environment function?

조회 수: 13 (최근 30일)
Hello everyone,
I have implemented one custom RL environment with MATLAB template environment class. I want to introduce multi-agents to the environment. I find all three examples provided for multi-agent RL are based on Simulink. My question is if it is at all possible to do the same with a MATLAB function? Or do I need to implement my custom RL environment in simulink to work with multi-agent RL?
Thanks.

채택된 답변

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020년 11월 22일
Hello,
Currently multi-agent 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.
  댓글 수: 5
Maha Mosalam
Maha Mosalam 2022년 9월 21일
yes please share the latest update in this is a custom Fn to multi agent availble or any one got a solutions for that
Arman Ali
Arman Ali 2022년 9월 27일
I am trying using single agent with multiple actions where each action represents individual agent output, I have also compared it with multiagent system and it seems like both results are similar. The benefit of using single agent with multiple space/action combination is that it make the system fast using simulink. I don't know if it is a better approach but somehow it's working and I will be using it until multiagent is available in Matlab, because simulink version of multiagent is too slow.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Arman Ali
Arman Ali 2022년 7월 14일
anyone can guide on this further?
  댓글 수: 1
Maha Mosalam
Maha Mosalam 2022년 9월 21일
yes please share the latest update in this is a custom Fn to multi agent availble or any one got a solutions for that

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Environments에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by