Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 809 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 809 Bytes

Optimal Firefighters Allocation

How to compile executable files?

mkdir -p build
cd build
cmake ..
make <target>

<target> can be one of the following:

  • test.out: the test suite
  • mip.out: the MIP solver (make sure you have Gurobi installed in your machine with a valid licence)
  • unit_test.out: the unit test suite
  • all: all of the above

How to run executable files?

In the build directory:

./<exec>.out

You can add the flag -h or --help to get help on the command line arguments.

How to run the benchmark script?

In the root directory:

./benchmark.sh

You can add the flag -h or --help to get help on the command line arguments.