Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Artificial Intelligence course project based on the HashCode 2016 problem

Notifications You must be signed in to change notification settings

loopingdoge/HashCode2016

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HashCode2016

Artificial Intelligence course project based on the HashCode 2016 problem

Requirements

  • Jinnja2
    • pip install Jinja2 (may require sudo)

If you want to use Docker

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:

    1. run the service detached:

      docker-compose up -d
      docker ps # check the container status
    2. attach 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 test
      exit # stop the container, otherwise use Ctrl-p Ctrl-q

Input Generator

Usage

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.

Example

$ python src/generate_input.py 50 50 10 500 250 5 3 3

About

Artificial Intelligence course project based on the HashCode 2016 problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.