
Metaheuristics
Practical Genetic Algorithms in Python and MATLAB: Video Tutorial
Build binary and real-coded genetic algorithms in MATLAB and Python, with seven videos on selection, crossover, mutation, bounds, and implementation.
Metaheuristics are general search strategies for hard optimization problems, where exact methods are too slow or the model is not smooth. They give up the guarantee of the very best answer in return for good answers in reasonable time.
Here you will find clear MATLAB and Python implementations of the classic methods, from simulated annealing and tabu search to particle swarm optimization and ant colony optimization. Each post explains how the method works and gives code that you can run and adapt.

Metaheuristics
Build binary and real-coded genetic algorithms in MATLAB and Python, with seven videos on selection, crossover, mutation, bounds, and implementation.

Metaheuristics
Define an optimization problem once in MATLAB and solve it with 15 algorithms through YPEA, with shared variable types, settings, and result histories.

Metaheuristics
Run particle swarm optimization in Python with NumPy, a reusable problem dictionary, configurable parameters, and a bounded Sphere example.

Metaheuristics
Learn PSO in three videos, from the update equations to a MATLAB implementation with position bounds, velocity limits, and constriction coefficients.

Metaheuristics
Implement a Cultural Algorithm in MATLAB with shared situational and normative knowledge, Gaussian moves, and a bounded Sphere example.

Metaheuristics
Apply simulated annealing to continuous variables in MATLAB, with Gaussian neighbors, bound handling, cooling, and a Sphere test problem.

Metaheuristics
Implement Artificial Bee Colony in MATLAB with employed, onlooker, and scout phases, fitness-based selection, and a Sphere example.

Metaheuristics
Compare standard and probabilistic Bees Algorithms in MATLAB, with local recruitment, global scouting, shrinking neighborhoods, and a Sphere example.

Metaheuristics
Run the Firefly Algorithm in MATLAB with distance-based attraction, shrinking random steps, bound handling, and benchmark functions.

Metaheuristics
Implement Invasive Weed Optimization in MATLAB with cost-based seed counts, shrinking Gaussian dispersal, and a bounded Sphere test problem.

Metaheuristics
Explore the Imperialist Competitive Algorithm in MATLAB with assimilation, revolution, competition, and a bounded Sphere test problem.

Metaheuristics
Use tabu search in MATLAB for traveling salesman and n-Queens problems, with permutation moves, tabu counters, and visualized solutions.

Metaheuristics
Implement biogeography-based optimization in MATLAB with blended migration, mutation, elitism, and a bounded Sphere test problem.

Metaheuristics
Explore CMA-ES in MATLAB, including Gaussian sampling, covariance and step-size adaptation, benchmark functions, and the implementation parameters.

Metaheuristics
Implement DE/rand/1/bin in MATLAB with differential mutation, binomial crossover, bound handling, and a Sphere example with configurable parameters.

Metaheuristics
Solve a traveling salesman example in MATLAB with standard and population-based simulated annealing, tour moves, cooling schedules, and convergence plots.

Metaheuristics
Implement Harmony Search in MATLAB with memory sampling, pitch adjustment, a shrinking bandwidth, and a bounded Sphere test problem.

Metaheuristics
Implement teaching-learning-based optimization in MATLAB with teacher and learner phases, bound handling, and a Sphere test problem.

Metaheuristics
Implement Shuffled Complex Evolution in MATLAB with ranked complexes, competitive local search, periodic shuffling, and a Sphere test problem.

Metaheuristics
Run the Shuffled Frog Leaping Algorithm in MATLAB with memeplexes, local leaping steps, periodic shuffling, and a bounded Sphere example.

Metaheuristics
Implement ACOR in MATLAB with a ranked solution archive, Gaussian sampling, configurable parameters, and a bounded Sphere test problem.

Metaheuristics
Use ant colony optimization in MATLAB for traveling salesman, quadratic assignment, and binary knapsack examples, with pheromone updates and parameters.

Metaheuristics
Implement particle swarm optimization in MATLAB with velocity updates, bounds, inertia damping, constriction coefficients, and a Sphere test problem.

Metaheuristics
Compare binary and real-coded genetic algorithms in MATLAB, including selection, crossover, mutation, sample problems, parameters, and how to run the code.