map_data: data_download
ITA-CBS new code Build:
mkdir build
cd build
cmake ..
cmake --build . --target ITACBS_remake
cmake --build . --target CBSTA_remake
Run:
./ITACBS_remake -i ../map_file/debug_data.yaml -o ../outputs/output.yaml
Generate test case:
# please check generate_data_for_exp1.py/generate_data_for_exp2.py
# there are some config in it
# in root dir:
python python/generate_data_for_exp2.py --map_path map_file/Boston_0_256.map --output_dir map_file/Paper_boston_256_256_060 --common_ratio 0.6
Test:
# TYMPath and CBSTAPath are just paths to binary file, no difference
# in root dir:
python python/compareTYM2TA.py --TYMPath cmake-build-debug/CBSTA_remake --CBSTAPath cmake-build-debug/ITACBS_remake --map_dir map_file/Paper_boston_256_256_060 --time 15 --seed 0
Reproduce Paper Results:
./run_test/single_exp1.sh build/ITACBS_remake 1 exp1_ITACBS.txt
./run_test/single_exp1.sh build/CBSTA_remake 1 exp1_CBSTA.txt
./run_test/single_exp2.sh build/ITACBS_remake 1 exp2_ITACBS.txt
./run_test/single_exp2.sh build/CBSTA_remake 1 exp2_CBSTA.txt
map_data: data_download
ITA-ECBS Build:
mkdir build
cd build
cmake ..
cmake --build . --target ITA_ECBS_v0
cmake --build . --target ITA_ECBS
cmake --build . --target ECBSTA
Run:
./ITA_ECBS_v0 -i ../map_file/debug_data.yaml -o ../outputs/output.yaml
Old:
# don't use large map(larger than 100*100), it will be very slow and agents will be very small.
# in root dir:
python python/visualize.py [your testcase yaml file] [your program output yaml]
New: You should clone my PlanViz and use ITA-CBS branch:
python python/PlanViz/script/plan_viz.py --map map_file/Boston_0_256.map --plan_path_type2 outputs/output.yaml --grid --aid --ca --tid --ppm 2
Thank @MinakoOikawa for providing the correct dynamic hungarian implementation.
@INPROCEEDINGS{10416794,
author={Tang, Yimin and Ren, Zhongqiang and Li, Jiaoyang and Sycara, Katia},
booktitle={2023 International Symposium on Multi-Robot and Multi-Agent Systems (MRS)},
title={Solving Multi-Agent Target Assignment and Path Finding with a Single Constraint Tree},
year={2023},
volume={},
number={},
pages={8-14},
keywords={Scalability;Search problems;Planning;Faces;Multi-agent systems},
doi={10.1109/MRS60187.2023.10416794}}
@inproceedings{tang2024ita,
title={ITA-ECBS: A Bounded-Suboptimal Algorithm for Combined Target-Assignment and Path-Finding Problem},
author={Tang, Yimin and Koenig, Sven and Li, Jiaoyang},
booktitle={Proceedings of the International Symposium on Combinatorial Search},
volume={17},
pages={134--142},
year={2024}
}