{ "cells": [ { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", "import numpy as np\n", "import os.path\n", "import scipy.linalg" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Genetic Algorithm \n", "\n", "In this notebook, we write all the code we need to run a genetic algorithm. We build it from the bottom up.\n", "\n", "### Support Code\n", "\n", "We begin by implementing a class called GASsetting that will store all the settings for the algorithm. Fields include\n", "\n", "