Skip to content

Congestion MAPF is a new project of ours where instead of minimizing common cost metrics such as SOC, or makespan, we want to minimize the "congestion" of the plan.

License

Notifications You must be signed in to change notification settings

aria-systems-group/Congestion-MAPF

 
 

Repository files navigation

Congestion MAPF

test_ubuntu test_macos

Congestion MAPF: A new optimization metric for large MAPF systems

This repository was originally forked from this repository.

Usage

The code requires the external libraries BOOST (https://www.boost.org/) and Eigen (https://eigen.tuxfamily.org/). Here is an easy way of installing the required libraries on Ubuntu:

sudo apt update
  • Install the Eigen library (used for linear algebra computing)
    sudo apt install libeigen3-dev
  • Install the boost library
    sudo apt install libboost-all-dev

After you installed both libraries and downloaded the source code, go into the directory of the source code and compile it with CMake:

cmake -DCMAKE_BUILD_TYPE=RELEASE .
make

Then, you are able to run the code:

./lns -m random-32-32-20.map -a random-32-32-20-random-1.scen -o test -k 400 -t 300 --outputPaths=paths.txt 
  • m: the map file from the MAPF benchmark
  • a: the scenario file from the MAPF benchmark
  • o: the output file name (no need for file extension)
  • k: the number of agents
  • t: the runtime limit
  • outputPaths: the output file that contains the paths

You can find more details and explanations for all parameters with:

./lns --help

About

Congestion MAPF is a new project of ours where instead of minimizing common cost metrics such as SOC, or makespan, we want to minimize the "congestion" of the plan.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.7%
  • Other 0.3%