Code for RAL Paper: Heterogeneous Multi-robot Task Allocation and Scheduling via Reinforcement Learning.
This is a repository using deep reinforcement learning to address single-task agent (ST) multi-robot task(MR) task assignment problem. We train agents make decisions sequentially, and then they are able to choose task in a decentralized manner in execution.
Three main structures of the code are as below:
- Environments: generate random tasks locations/ requirements and agents with their depot.
- Neural network: network based on attention in Pytorch
- Ray framework: REINFORCE algorithm implementation in ray.
-
Set hyperparameters in parameters.py then run
python driver.py
-
Testing the trained model by running
python test.py
-
requirements:
- python => 3.6
- torch >= 1.8.1
- numpy, ray, matplotlib, scipy, pandas