A hybrid optimization algorithm that combines Particle Swarm Optimization and Simulated Annealing to solve several test functions.
- Uses Simulated Annealing in each iteration of the particle swarm to enable escaping local optimum
- Uses Several test functions and outputs a solution graph
- Choose the test function and bounds to use by uncommenting them
- Make sure
nvis aligned with the amount of variables in the problem - If
nv > 2, make sure thatactivatePlot = False - Make sure that
mmis the same as the type of problem (-1 for max, 1 for min) - If there is a problem with the optimal value,
useOptimalcan be used - Optimization parameters can be freely changed
- Plot titles need to be manually changed with the chosen test function