/routers-in-the-wall

Router Placement Optimization with Genetic Algorithms

Primary LanguagePython

Router Placement Optimization

IART 2021 - G16 (Class 8)

Instructions

For Windows:

Go to src directory and open a terminal:

  1. Create the Virtual Environment: py -m venv env
  2. Activate the Virtual Environment: .\env\Scripts\activate
  3. Install the requirements: pip install -r requirements.txt
  4. Run the program: python main.py

For Linux:

Go to src directory and open a terminal:

  1. Create the Virtual Environment: python -m venv env
  2. Activate the Virtual Environment: source env/bin/activate
  3. Install the requirements: pip install -r requirements.txt
  4. Run the program: python main.py

Recommended Input Values

Problem\Fields Budget Router Range Router Cost Backbone Cost Min Tenure Max Tenure Population
example 1000 4 300 1 5 7 10
pacman-bunker 1000 10 80 1 5 7 10
space-ship 1000 10 50 1 5 7 10
office 1000 20 35 1 5 7 5
charleston-road 1000 20 20 1 5 7 5
big-house 1000 50 50 1 5 7 5