Category: Math Concepts

  • Optimization (4/n): Genetic Algorithm(s) (2/3)

    Intro This week, I’ll make it short, and instead of boring with code and explanations, I thought I’d just show an example output… Results This is a genetic algorithm in action: A population “evolves” (reproduces, “selection of the fittest”, iterate) towards an objective. Complexity of many local minima don’t seem to be an issue for…

  • Optimization (4/n): Genetic Algorithm(s) (1/m)

    Intro This time around, I keep going studying and implementing optimization algorithms, based on the already mentioned reference book, and I want to work on a slightly different family of these, now a full blown “metaheuristic” in fact, called “Genetic Algorithms”. As this one is a bit different, I will take my time, and go…

  • Optimization (3/n): Simulated Annealing

    Intro Continuing with this simple “series” (see here and here), I implement the next algorithm proposed by the reference book, but in R. This time around, it’s the turn of “Simulated Annealing”. Nice parallel I like how the concept of molecules excitement and temperatures is used for this algorithm. All in all, it’s a bit…