CEng 713 Evolutionary Computation,
Homework 1
Due: October 24th, 2011

Assuma a cell phone company needs to setup antennas to cover a rectangular m × n area. Company has k different type of antenna. ci is the cost of a i typed antenna. ri is the coverege radius of a i typed antenna. Antennas are installed at grid positions. When the euclidian distance between the antenna and the point is less than or equal to ri, that point is covered by that antenna. A point is considered covered when at least one antenna covers it.

Company can install up to s antennas. However they want to cover as much of the m×n grid as possible with minimum cost.

You are asked to design and implement a genetic algorithm for the problem. m, n, s, k, ci and ri  i = 1,k are given as input. The fitness value f to maximize and summary of parameters are given as:

m × n = g rid dimen sion s
k = num ber of different typ es of an tenn a
ci = cost o f ty pe i, i = 1,2,..,k
ri = radius of type i, i = 1,2,..,k
u = num ber of covered points in grid
p = num ber of installed an ten nas
s = m axim um  num ber of antennas
t(j) = type of antenna j
                ∑p
f = m ⋅n − u − (   ct(j))2
                j=1

As default encoding, use an array of size s as your genotype. Each allele is a triple (i,x,y). i is a number in [0,k]. 0 means antenna is not installed, otherwise i is the type of antenna. x is an integer in [0,m] and y is an integer in [0,n] denoting the position of the antenna. In this way, you expect to find the positions and types of antennas to install in the grid. Also use the following parameters in the default implementation:

Then make an experiment with different parameter setups. Here are some parameters for experiment:

Choose at least 3 parameter setups. Repeat experiment for each setup for at least 10 times and collect results for best and average fitnesses for each generation and number of moves required to guess the number. Plot average (of 20 experiments) charts for:

You can use GALib (http://lancet.mit.edu/ga/) or any library of your choice. You shall submit your code with an experiment report with the following template:

CEng 713 Homework 1
Experiment Results

Topic: Antenna placement problem
Name surname:       Id:      

GA Parameters: (mark the difference in 3 setups)

Population size:
Crossover/mutation rates:
Type of crossover/mutation:
Selection mechanism:
% of Elitism:
Fitness function:

Results

..... ..... .......... ......... .......... .......... ........ ..... ..... .......... ......... .......... .......... ........ ..... ..... .......... ......... .......... .......... ........

     

Figure 1: .... vs .....

     

Figure 2: .... vs .....

Please do not ask homework related questions by email unless it is personal. Use newsgroup so that all can share the answers.

I will post the input data in couple of days.