This page contains some additional information to get you started with the two final optimisation problems of the Genetic Algorithm part of this course.
Choose either the charges on a sphere or the travelling salesman problem as the main case study in your report, or do both if you are ambitious. The two problems are sketched below, the required exercises are specified as well.
The two problems below are set up quite far already for you. Follow the steps below to install it into your current galib/ directory.
[labsc@oeleboeter:~]$ cd labsci/galib [labsc@oeleboeter:~/labsci/galib/]$ tar zxvf galib_problems.tar
[labsc@oeleboeter:~/labsci/galib/]$ cd problems/spherecharges [labsc@oeleboeter:~/labsci/galib/problems/spherecharges/]$ make [labsc@oeleboeter:~/labsci/galib/problems/spherecharges/]$ spherecharges
[labsc@oeleboeter:~/labsci/galib/]$ cd problems/tsp [labsc@oeleboeter:~/labsci/galib/problems/tsp/]$ make [labsc@oeleboeter:~/labsci/galib/problems/tsp/]$ tsp
Read about, and use the suspend/resume functionality described here.
Consider n identical electrically charged particles that are placed on
a (unit) sphere in a d-dimensional space. The Coulomb forces will cause all
particles to push each other away. The optimal solution, that with lowest Coulomb
energy, will have some form of equidistribution of all particles on the sphere.
A generalisation of this problem searches for the minimal Riesz-s energy.
The Coulomb energy is just one special case with s=1. More details are in the
course book.
Below are additional suggested exercises that did not make it into the course book yet.
Change HypSphPointSetChromosome in such a way that it removes some freedom due to symmetry.
For certain numbers of points, the convex polyhedra that are formed by the points should become the platonic solids in the optimal configuration. Try to find these configurations in as little iterations as possible.
The travelling salesman problem is a widely known and notoriously difficult optimisation problem. Goal is to find the shortest path that visits all cities in a set exactly once. More details are in the course book.
Exercise 5.13 summarises what is expected from you, but at least the following is mandatory: