/GA_intro

Primary LanguageJupyter Notebook

Installation - Getting started

Installation from this project

  1. Copy or Clone this project
  2. Create a virtual environment (e.g., called venv_jLab)
py -m venv venv_jLab
  1. Activate the virtual environment
\venv_jLab\Scripts\activate
  1. Update pip and install the requirements
python -m pip install --upgrade pip
pip install -r requirements.txt
  1. Launch jupyterlab
jupyter lab

Installation from scratch

  1. Create a virtual environment (e.g., called .venv)
py -m venv venv_jLab
  1. Activate the virtual environment
\.venv\Scripts\activate
  1. Update pip and install jupyterlab
python -m pip install --upgrade pip
pip install jupyterlab
  1. Install numpy, pandas, matplotlib
pip install numpy
pip install pandas
pip install matplotlib
  1. Launch jupyterlab
jupyter lab

Launch the code on the local machine

  1. Activate the virtual environment (e.g., called .venv)
\.venv\Scripts\activate
  1. Launch jupyterlab
jupyter lab
  1. Have fun
  2. Deactivate the virtual environment
\venv_jLab\Scripts\deactivate

Launch the code on Binder

  1. Go to https://mybinder.org/
  2. Paste the link to the github repository (https://github.com/carrinodue/GA_intro)
  3. Launch and wait...
  4. The link to share the notebook is shown below on the same page

References and Thanks

  1. Article original by Eric Stoltz - Evolution of a salesman. Kudos to him!
  2. Algorithmes génétiques - Wikipedia: fr.wikipedia.org/wiki/Algorithme_génétique
  3. Problème du voyageur de commerce - Wikipedia: fr.wikipedia.org/wiki/Problème_du_voyageur_de_commerce