Commit 741db84a authored by Martin Jonáš's avatar Martin Jonáš
Browse files

Add some details into README.

parent 15aa2755
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ This is an experimental tool for multi-agent steady state synthesis on graphs.

Requirements
- Python 3.12. The tool may work for older versions, but we have not tested those. Python 3.13 is not supported by Gurobi.
- License for Gurobi optimizer
- Gurobi optimizer. For solving larger input instances, a licence for Gurobi is required.

If you have Python 3.12., you can install all other dependencies by running `make init` (preferably within a `virtualenv`).

@@ -12,3 +12,9 @@ You can run a simple test by
```
python src/multiagent_steady_state_synthesis/main.py examples/graphs/1-1-1.json examples/objectives/test1.json
```

You can show extra options of the tool by running `python src/multiagent_steady_state_synthesis/main.py --help`. Most interestingly, you can switch the algorithm between `copy` (baseline in the paper) and `greedy` (incremental addition of agents; default) using the `--algorithm` option. For example
```
python src/multiagent_steady_state_synthesis/main.py examples/graphs/1-1-1.json examples/objectives/test1.json --algorithm copy
python src/multiagent_steady_state_synthesis/main.py examples/graphs/1-1-1.json examples/objectives/test1.json --algorithm greedy
```