How can I simply use Ant Colony Optimization to find the minimum value of a function?

530 views Asked by At

I want to use Ant Colony Optimization to find the minimum value of a function like 2x^2-5y^2. But I do not know how to implement it using ant colony. Can Anyone give me a simple example?

1

There are 1 answers

0
Piotr Rarus On

You're optimizing space denoted by 2 variables: x and y, so these values are your solution. Fitness of that solution is your function. Though I don't think ACO is well suitable for continous space. Better start with vanilla PSO. You can find tutorial here.