filmov
tv
Optimizing ZDT2 (n=30) multi-objective problem using Genetic Algorithm - A MATLAB tutorial

Показать описание
In this tutorial I optimized the ZDT2 test problem with 30 input variables (dimensions = 30). So this problem would be a lot harder to optimize. But remember that we know the exact solution, that makes the comparison pretty easy.
First, I show implementation of the ZDT2 multi-objective test problem and optimize it using the built-in Multi-objective Genetic Algorithm in MATLAB. The given objective function is a standard test function that helps a beginner user to understand the basic concept of optimization in MATLAB easier. The given objective function or fitness function has one vector input including 'n=30' variables and two outputs (objective values). I write two separate functions one for the fitness function and one for the main algorithm. I plot the pareto-front that illustrates the obtained solutions in a proper way. We use different setting of the algorithm using the 'optimoptions' function.
Optimizing Booth's test function using Simulated Annealing:
optimizing multi-objective ZDT1 test problem using Genetic Algorithm:
A simple optimization using Genetic Algorithm:
A simple constrained optimization using Genetic Algorithm:
A simple multi-objective optimization using Genetic Algorithm:
A mixed-integer optimization using Linear Programming:
A simple single-objective optimization using Particle Swarm Optimization Algorithm:
A simple single-objective optimization using Pattern Search:
First, I show implementation of the ZDT2 multi-objective test problem and optimize it using the built-in Multi-objective Genetic Algorithm in MATLAB. The given objective function is a standard test function that helps a beginner user to understand the basic concept of optimization in MATLAB easier. The given objective function or fitness function has one vector input including 'n=30' variables and two outputs (objective values). I write two separate functions one for the fitness function and one for the main algorithm. I plot the pareto-front that illustrates the obtained solutions in a proper way. We use different setting of the algorithm using the 'optimoptions' function.
Optimizing Booth's test function using Simulated Annealing:
optimizing multi-objective ZDT1 test problem using Genetic Algorithm:
A simple optimization using Genetic Algorithm:
A simple constrained optimization using Genetic Algorithm:
A simple multi-objective optimization using Genetic Algorithm:
A mixed-integer optimization using Linear Programming:
A simple single-objective optimization using Particle Swarm Optimization Algorithm:
A simple single-objective optimization using Pattern Search:
Комментарии