Artificial Intelligence course project based on the HashCode 2016 problem
- Jinnja2
pip install Jinja2(may require sudo)
Make sure you have already installed both Docker Engine and Docker Compose. After that:
create the image once and for all (about 600MB):
cd HashCode2016 docker build --tag=hashcode2016 .
run the VM:
run the service detached:
docker-compose up -d docker ps # check the container statusattach the container with a shell and test the solver:
docker ps # look for the cointainer name docker exec -it hashcode2016_hc_1 /bin/bash cd project python src/scripts/execute.py testexit# stop the container, otherwise use Ctrl-p Ctrl-q
Requires the args:
- map rows
- map cols
- drones number
- max turns
- drones payload
- products number
- warehouses number
- orders number
After the execution it will output a file in ./in/generated.in.
$ python src/generate_input.py 50 50 10 500 250 5 3 3